**-When you want to check the installed Java version ** For windows Open command prompt For mac Open terminal
Copy and paste the "java -version" command. It will be displayed as below.
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
·Confirmation method The part (1.8.0_131) enclosed in double quotes immediately after "java version" is the version. "Java HotSpot (TM) 64-Bit" is a 64-bit version. If it is not 64, it is a 32-bit version.
Reason for posting the article When building the environment, I was wondering whether the Java already installed is 64bit or 32bit, so I wrote it.
Recommended Posts