tidemann
September 9th, 2005, 09:59 AM
I just installed java JDK 1.5.0 for my studies in informatics. I've got it all running smoothly, but I'm not sure how to add the PATH varibale.
To run a java program in terminal i need to type:
$ /opt/jdk1.5.0_04/bin/java Program
When the path variable is set, I should be able to run it like this:
$ java Program
Probably a simple question, but the online guides that I've found differ from eachother, so if someone could simple tell me how its done in Ubuntu 5.04 I would really appreciate it! Thanks
To run a java program in terminal i need to type:
$ /opt/jdk1.5.0_04/bin/java Program
When the path variable is set, I should be able to run it like this:
$ java Program
Probably a simple question, but the online guides that I've found differ from eachother, so if someone could simple tell me how its done in Ubuntu 5.04 I would really appreciate it! Thanks