You must put the command export JAVA_HOME=/usr/java/j2re1.4.2 at your .bashrc or .bash_profile and also open the /etc/java/.....i don't remember the name.... and put the right difinitions for your j2re Regards Stelios Asmargianakis www.climbincrete.com James Ward wrote:
I installed j2re 1.4.2 on my SuSE 8.2 system from rpm without any problems. However I cannot run java commands from the console. i.e. if I type java it says bash: java: command not found If I enter: export PATH="/usr/java/j2re1.4.2/bin":$PATH then: export JAVA_HOME="/usr/java/j2re1.4.2"
Then java will start to work. I have to do this for every new console window. What is the correct way to make j2re available to all my console windows and applications?
_________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus