...
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.