1846174 Members
3905 Online
110254 Solutions
New Discussion

Java VM and 64 Bit

 
SOLVED
Go to solution
Ted Ellis_2
Honored Contributor

Java VM and 64 Bit

I have checked a bunch of threads on this, but wanted to see if anyone is able to confirm that the HotSpot JVM 1.4.1 is true 64 bit. Would we be able to map heap sizes greater than 4 GB for example? Thanks. We run HPUX 11.0 and 11.i and are considering porting a Java app that runs on top of WebLogic.

Ted
2 REPLIES 2
Mike Stroyan
Honored Contributor
Solution

Re: Java VM and 64 Bit

Java 1.4.1 has both 32-bit and 64-bit versions. You get a 64-bit jvm by starting it with 'java -d64'. If you use the 64-bit mode then you will need to have any JNI libraries that you use rebuilt in 64-bit mode.
Steve Steel
Honored Contributor

Re: Java VM and 64 Bit

Hi


See

http://www.hp.com/products1/unix/java/java2/sdkrte14/infolibrary/sdk_rnotes_1.4.0.04.html#expanding_heap_size_native_apps


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)