Saturday, July 30, 2016

How to check JDK bit version (32 or 64 bit)?

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 -d64  -version
$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

How to Compile Forms , Reports & Custom.pll in R12.2

How to Compile Custom.pll   cd $AU_TOP/resource  cp CUSTOM.plx CUSTOM.plx_bkup  cp CUSTOM.pll CUSTOM.pll_bkup  frmcmp_batch module=CUSTOM.pl...