How to check if you have Java installed




Windows

Open command prompt and type the following

 java -version

if you have java installed correctly, it should give you something like this

C:\Users\Xuraj>java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b15, mixed mode)

 

Linux

Open terminal and type the following

java -version

 


You should see output similar to provided below.

Mac

Same as Linux
 
Download Java from here:
https://www.java.com/en/download/
More information here:
https://www.java.com/en/download/help/version_manual.xml

2 thoughts on “How to check if you have Java installed

Leave a Reply

Your email address will not be published. Required fields are marked *


*

Anti-Spam Quiz*: