Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: [Original edit by Milamber]

...

No Format
JAVA_HOME=<PATH TO JDK>  # for example JAVA_HOME=/usr/java170

export JAVA_HOME
PATH=$JAVA_HOME/bin;:$PATH
export PATH

This should fix the problem. However note that the path will almost certainly have to be changed if a new version of Java is installed, so ideally the system PATH should be set to include the correct location for Java.