0 Replies Latest reply on Jul 15, 2013 5:27 AM by arunbalajil

    “Running a 64-bit JVM is not supported on this platform” with java -d64 option on 64bit linux

    arunbalajil

      I have a 64 bit linux os:

      $ uname -p 
      x86_64
      $

      java -version listed:

      java version "1.6.0_33"
      Java(TM) SE Runtime Environment (build 1.6.0_33-b04)
      Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, 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

       

       

      JAVA_OPTS: -Dprogram.name=run.sh -d64 -Xms4096m -Xmx4096m -XX:MaxPermSize=1024m -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Dorg.jboss.ejb3.remoting.IsLocalInterceptor.passByRef=true -Djava.net.preferIPv4Stack=true -Djava.library.path=/opt/customer/JBossInstaller/jboss-ep-5.1/native/lib64

        

      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 ?

       

      Three servers having the same configuration , but  only one server having this issue.

      Thanks in advance , Please help me on this issue.