To start our legacy application, we use java WebStart via a jnlp.
We would like to support 64-bit Java clients but one of our libraries is architecture dependent.
We thought of doing something like:
<resources>
<j2se version="1.6+" sun.arch.data.model="64"/>
<jar href="/apps/swt-3.7M5-win32-win32-x86_64_s.jar" download="eager" />
</resources>
<resources>
<j2se version="1.6+" />
<jar href="/apps/swt-3.7M5-win32-win32-x86_s.jar" download="eager" />
</resources>
This is not working because the parameter sun.arch.data.model="64" is used to set the parameter instead of testing on it.
Any ideas?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…