Re: On Linux errors for javac and java commands
Thursday, December 12, 2002 08:51 AM
You need to add the javac and java commands to your execution path. You can do this as follows:
You will also want to set a JAVA_HOME environment variable as follows:
If you want this in your path permanently (instead of having to run this for each shell you open), then you need to put it in your ~/.profile or ~/.bash_profile file, then logout and log back in.