JAVA installed on your system could be 32-bit or 64-bit. You can easily check the version of java installed on your system by using the command java -version. Here I will show you how to check the java version installed on your system.
Check JAVA Version on Windows System
- Open the Run window by using the Windows Key + R combination.
- Type the command cmd and press enter.
- Now type the command java -version on the command prompt to check the version of java installed on your system.
- If the 32-bit java version is installed on your system then you will get the below output.
C:\Users\SSP>java -version java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) Client VM (build 25.131-b11, mixed mode, sharing)
- If the 64-bit java version is installed on your system then you will get the below output.
C:\Users\SSP>java -version java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Client VM (build 25.131-b11, mixed mode, sharing)
Check JAVA Version on Mac OS X
- Open Spotlight (Cmd+Space) and type terminal to open the Terminal window
- Type the command java -version on the terminal to check the java version installed on your system.
- If the 32-bit java version is installed on your system then you will get the below output.
MacBook:~ SSP$ java -version java version "1.7.0_79" Java(TM) SE Runtime Environment (build 1.7.0_79-b15) Java HotSpot(TM) Server VM (build 24.79-b02, mixed mode)
- If the 64-bit java version is installed on your system then you will get the below output.
MacBook:~ SSP$ java -version java version "1.7.0_79" Java(TM) SE Runtime Environment (build 1.7.0_79-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
No Responses