System.getProperty("os.arch") in webstart returns "x86" on amd64 machine
Hello,
I am really in big trouble. I want to detect the architecture so that I can load the correct library. When I am running from the command line the architecture is detected properly but in webstart it always return x86 even though I am running from amd64 or ia64.
I hope someone can help. Or, if you have any ways to detect the architecture is also fine.
[378 byte] By [
jvma] at [2007-11-26 16:42:42]

# 2
Problem is that currently there is no 64 bit implementation of Java Web Start, so you can't run any application in 64 bit mode, since you can't mix 32 and 64 bit binaries in the same process.
When 64 bit support is finally added, it will return seperate os.arch values depending on if you are running a 32 or 64 bit process, and seperate os.arch attributes in the jnlp file will allow you to load seperate libraries depending on what processor mode you are running.
/Andy