Thursday, 8 October 2015

How to find JDK version and bit (32/64)

java -d32  -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) Client VM (build 24.45-b08, mixed mode, sharing)


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

3 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Useful notes for core java. Thanks Nagendra!!! Keep up the good work :)

    ReplyDelete