java - javaws always loads 32 bit libraries even when client is 64 bit -
i have jnlp file passes janela, has no errors. web start app runs fine on linux , windows 32 bit. fails run on windows 64 bit. devised following test determine if javaws loading correct native libraries:
- change name of library files in jnlp file files not exist
- load app force file not found error see file trying load
here jnlp stub (the rest of file fine... trust me):
<resources os="windows" arch="x86_64"> <nativelib href="swt-4.2-win32-x86_64.jarx" /> </resources> <resources os="windows" arch="x86"> <nativelib href="swt-4.2-win32-x86.jarx" /> </resources>
javaws tries load 32 bit library means not recognize arch="x86_64"
so changed first line to:
<resources os="windows" arch="amd64">
but javaws still tries load 32 bit file. whatever going on, architecture of os not being detected.
i have trawled great deal before posting. use amd64 , use x86_64 neither work. impossible find exhaustive os/arch list.
question: how make javaws load 64 bit binaries when requested 64 bit machine?
edit:
i can locate correct file putting following tag in jnlp file:
<resources os="windows" arch="x86\ ">
so there arch value starts "x86 ". if put "x86 64" not work. there space, comes after space? , doesn't oracle publish list of acceptable values field?
ok, assumed since running windows 7 pro 64 bit jvm 64 bit. not. first time browser points @ javaws application, installs jvm you. , jvm installed depends on browser. windows 7 64 bit comes ie 32 bit pre-installed, javaws fetching 32 bit lib. problem of choosing correct native library respect architecture seems solved, @ first glance. there still problems, not 1 of them.
Comments
Post a Comment