Run the commands: java -d64 -version or java -d32 -version and you will get an error for the version that is not supported.
Example :
On 64bit JDK:
$java version "1.7.0_111"Java(TM) SE Runtime Environment (build 1.7.0_111-b13)Java HotSpot(TM) 64-Bit Server VM (build 24.111-b13, mixed mode)
$java -d32 -version
Error: This Java instance does not support a 32-bit JVM.Please install the desired version.
On 32 bit JDK:
$java -d32 -version
java version "1.6.0_07"Java(TM) SE Runtime Environment (build 1.6.0_07-b06)Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)
$java -d64 -versionRunning a 64-bit JVM is not supported on this platform.
No comments:
Post a Comment