asugri
asked on
How to determine 32-bit or 64-bit version of java on Windows?
Hi there,
How do I determine 32-bit or 64-bit version of java on Windows?
Just run java -version and see if 64-bit appears?
Thanks.
How do I determine 32-bit or 64-bit version of java on Windows?
Just run java -version and see if 64-bit appears?
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Here's what happens if I try for_yan's suggestion on 32bit Linux
$ java -d64
Running a 64-bit JVM is not supported on this platform.
I can test on 64-bit windows if you request it. (I have to reboot so I'll want a request before I bother).
$ java -d64
Running a 64-bit JVM is not supported on this platform.
I can test on 64-bit windows if you request it. (I have to reboot so I'll want a request before I bother).
No it looks like -d64 works only on Solaris not on Windows
It lloks like you have to do it from java program using System.getProperty("sun.ar ch.data.mo del")
I also thought that default installation directory of java on Windows is named differently, but of vourse one may
install it not in the default directory
It lloks like you have to do it from java program using System.getProperty("sun.ar
I also thought that default installation directory of java on Windows is named differently, but of vourse one may
install it not in the default directory
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes, someone writes there, that -d64 does not work on windows
and in the description of java switches for Solaris they mention that -d64 should work.
Perhaps also works on Linux
and in the description of java switches for Solaris they mention that -d64 should work.
Perhaps also works on Linux
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
how about
java -Xmx2000M -version
in case of 64bit ?
java -Xmx2000M -version
in case of 64bit ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
in java program it should be doable with this
System.getProperty("sun.ar
Yes - you mentioned that already...
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
java -d64 does not work on Windows.
java -Xmx2000M -version to test memory limit is interesting.
We are developing a package using java. This package uses a dll file.
32-bit java needs 32-bit dll and 64-bit java needs 64-bit dll. We are
planning to test out version of java from InstallShield and determine
which dll to provide. But I think System.getProperty("sun.ar
is good since I just load different dll based on value returned by
System.getProperty("sun.ar
Thanks a lot for the help.
java -d64 -version is the way
At least on my 32 bit it complains