Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I use JVM Client Mode on x64 operating system?

Tags:

java

x86

jvm

64-bit

I need to run the Oracle JVM in the "client mode". Is there any option to do this on an x64 operating system?

I installed Oracle 7 JDK per apt-get. It installed the Oracle JDK and JRE x64 edition. So i have only /usr/lib/jvm/java-7-oracle/jre/lib/amd64/server directory and no amd64/client directory.

On the Oracle website, you can download the JRE Linux x64 and x86 packages, precompiled. I download them both and looked into the folders.

x64 package contains only amd64/server directory. x86 package contains i386/server AND i386/client directories.

So, what can I do to use the client mode? Have I install the x86 edition of java? I think I can do this only manually and not with apt-get because it recognize that I have a x64 operating system.

Thanks!

like image 423
Burak Avatar asked Jun 23 '13 21:06

Burak


1 Answers

AFAIK the 64bit version of the Oracle JVM only supports the server mode at the moment (my guess is we'll never see a client version). This FAQ would see to support that. I don't think the Open JDK project has a 64bit client version either but it's been a while since I checked: this post confirms my suspicion. It seems the server VM is as good as or better than any dedicated client VM would be.

like image 153
wobblycogs Avatar answered Oct 06 '22 07:10

wobblycogs