...
If you do not see something similar to the following, then Java needs to be installed.
From Command Line
On Linux
Open , open up a shell.
Tip | ||
---|---|---|
| ||
If you are on Windows, go to Start -> Run, type cmd and hit Enter. |
Check that the Java compiler version is correct by typing the following into the prompt.
...
Even if javac was not found, you may just need to set the JAVA_HOME variable or add
add ${JAVA_HOME}/bin to the path.
On Windows, go to Start -> Settings -> Control Panel -> System, click Advanced Tab, and then click the Environment Variables button (intuitive, isn't it?).
Do you see JAVA_HOME listed under System Variables on your system?
If not, then make a new environment variable by clicking on New.
To add JAVA_HOME to the PATH on Linux using bash.
...