Add JAVA_HOME/bin to the PATH in the RC script.