Apps :: Java Path



I've installed Java and it resides in /opt/jre1_5_0

Problem is I want to run java programs so the PATH must point to this directory. How do I set this up permanently. I've got DSL installed on HD.

Thanks
/Jonas

The most common way would be to export the variable from a startup script, e.g. $HOME/.bash_profile
http://damnsmalllinux.org/cgi-bin....;t=8970


original here.