To see what version of Java you have installed, or if you even have a version of Java installed, do the following:
- Open a command prompt (terminal on mac):
- On Windows click the Start or Windows button and type: cmd
- You should see something called “Command Prompt”, open this.
- On Mac use Finder to search for “Terminal”, and open it.
- On Windows click the Start or Windows button and type: cmd
- In the command prompt (or terminal) enter the following command and hit Enter:
- java -version
- That’s “java”, followed by a space, followed by “-version”.
- This will produce a message which either shows you what version of Java you have, or an error message like “unknown command: java”, or something like that.
- If you have Java installed, you’ll see a message something like this: