Question

I have a 64 bit linux os:

$ uname -p
x86_64

java -version listed:

java version "1.6.0_43"
Java(TM) SE Runtime Environment (build 1.6.0_43-b01)
Java HotSpot(TM) Server VM (build 20.14-b01, mixed mode)

I am trying to run a 64 bit jvm with 4096 min heap size ( Its a heavy weight app ). When i add -d64 option i get the message

Running a 64-bit JVM is not supported on this platform

With out -d4 option and with heap size 2048 it works fine. But the memory isnt enough so i need to use 64 bit JVM with 4Gigs. Can anyone tell me why its not accepting d64 ?

Was it helpful?

Solution

Thanks @Adi Dembark and @nos found the issue. It was indeed a 32 bit jvm. changing to 64 bit fixed it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top