constants - Java Webstart Reporting Wrong Bootloader options -
i have problem running java rcp application via java webstart.
this works others in team, not me. (don't love sort of problems)
i believe problem is downloading 32 bit version of application, not 64 bit.
when @ webstart .log file on machine can see following.
!session 2012-07-06 16:24:37.672 ----------------------------------------------- eclipse.buildid=unknown java.version=1.6.0_32 java.vendor=sun microsystems inc. bootloader constants: os=win32, arch=x86_64, ws=win32, nl=en_gb
so think problem os-win32, ws=win32.
my machine windows 7 64 bit.
has got ideas of how should proceed?
the bootloader constants appear misleading when printed environment variables jvm running webstart reported:
os: windows 7 arch: amd64
we tracked issue down relevant swt jars user environment not being downloaded (to add fun rcp app deployed via webstart).
in relevant jnlp file had following sections:
<resources os="windows" arch="x86"> <jar href="plugins/org.eclipse.swt.win32.win32.x86_${org.eclipse.swt.win32.win32.x86.version}.jar"/> </resources> <resources os="windows" arch="x86_64"> <jar href="plugins/org.eclipse.swt.win32.win32.x86_64_${org.eclipse.swt.win32.win32.x86.version}.jar"/> </resources> <resources os="windows" arch="x86"> <jar href="plugins/org.eclipse.equinox.launcher.win32.win32.x86_${org.eclipse.equinox.launcher.win32.win32.x86.version}.jar"/> </resources> <resources os="windows" arch="x86_64"> <jar href="plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_${org.eclipse.equinox.launcher.win32.win32.x86.version}.jar"/> </resources>
for people fine 32bit jre download resource x86 architecture , well.
the problem on david's machine running 64bit jvm , reports arch property being reported amd64 , not x86_64 (despite being intel cpu).
changing resources section following resolves issue:
<resources os="windows" arch="x86"> <jar href="plugins/org.eclipse.swt.win32.win32.x86_${org.eclipse.swt.win32.win32.x86.version}.jar"/> </resources> <resources os="windows" arch="x86_64"> <jar href="plugins/org.eclipse.swt.win32.win32.x86_64_${org.eclipse.swt.win32.win32.x86.version}.jar"/> </resources> <resources os="windows" arch="amd64"> <jar href="plugins/org.eclipse.swt.win32.win32.x86_64_${org.eclipse.swt.win32.win32.x86.version}.jar"/> </resources> <resources os="windows" arch="x86"> <jar href="plugins/org.eclipse.equinox.launcher.win32.win32.x86_${org.eclipse.equinox.launcher.win32.win32.x86.version}.jar"/> </resources> <resources os="windows" arch="x86_64"> <jar href="plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_${org.eclipse.equinox.launcher.win32.win32.x86.version}.jar"/> </resources> <resources os="windows" arch="amd64"> <jar href="plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_${org.eclipse.equinox.launcher.win32.win32.x86.version}.jar"/> </resources>
Comments
Post a Comment