How do I check if Oracle Java SE Development Kit 8 (JDK) is installed?
You can check which version of JAVA you have installed on your system by opening a Terminal window and running the following command:
If you're running the Oracle JAVA 8 you'll see a response like
If you see an error like 'command not found' or just no response, then you'll need to install the Java SE Development Kit.
You can get this at Oracle Java SE Development Kit 8 Downloads.