How to check if you have Java installed


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)



Open terminal and type the following

java -version


You should see output similar to provided below.


Same as Linux
Download Java from here:
More information here:

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*: