LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java breaks down each reboot. (https://www.linuxquestions.org/questions/linux-software-2/java-breaks-down-each-reboot-256920/)

ljlabrie 11-19-2004 01:12 PM

Java breaks down each reboot.
 
I have a problem in that I installed java, got JRE plugins up and working and eventually was seeing java applets on both Mozilla and Galeon browsers.

I closed down for the day and booted the next day to find that it wasn't working any more.

The ln -s link is still there and java is still enabled in the browsers.

Any ideas what is happening here? Does anyone else have to totally reinstall Java and the links every time you reboot?

Any suggestions?

IBall 11-19-2004 10:28 PM

Have you set the PATH and JAVA_HOME environment variables in you .bash_profile in your home directory?

Code:

PATH=$PATH:/usr/local/java/bin
JAVA_HOME=/usr/local/java

export PATH
export JAVA_HOME

where you have installed java to /usr/local/java.

This means that these two environment variables are set each time you log in.

I hope this helps
--Ian


All times are GMT -5. The time now is 11:31 PM.