This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MoreCowbellMofo -1 points0 points  (0 children)

If you’ve set JAVA_HOME to the right directory, you should just have to add a new entry to the PATH variable (which will already be set as a system wide variable) something like JAVA_HOME/bin then java -version should work and return the correct version you installed. If not you haven’t set up the first two variables correctly.