Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to ensure that a jnlp is run on a 64bits jvm

I have a JNLP applet that is run on a 64bit computer with both 32 and 64 bits JVM installed. The JNLP must run on the 64bit JVM in order to execute correctly. Is there a way to force the use of a 64bit JVM?

like image 937
jumar Avatar asked Dec 14 '11 15:12

jumar


1 Answers

Use -d64 the VM option to only allow the virtual machine to start at 64bits. Other way it's simple not start. Not to friendly but make the job. In console mode print:

Error: This Java instance does not support a 32-bit JVM.
Please install the desired version.

-d64 is supported since 1.5.0

like image 131
Daniel De León Avatar answered Sep 19 '22 06:09

Daniel De León