adding java jdk to path
Hi folks,
I've downloaded and installed the java 1.5 JDK but can only temporarily specify the path. I do the following : Code:
PATH=$PATH:/usr/java/jdk1.5.0/bin Regards Chris |
add this to the end of youre ~/.bashrc or ~/.profile if it's for you user. /etc/bashrc or /etc/profile for system wide effect
this will not persist anywhere. i'd be scared if it did to be honest... it's a low level thing you're doing... the kinda thing that windows might suck away into an obscure registry key, but not here, hell no. |
Add
Code:
export PATH=$PATH:/usr/java/jdk1.5.0/bin |
Thanks guys. Its an environmental variable (same same but different) in windows and I guess profile is the similar? Anyway, thats worked just closing and re-opening Konsole so much appreciated. I hope you get to LinuxWorld next year Acid.
Regards Chris |
thanks. i'll make it ... i can feel it in my bones.
|
All times are GMT -5. The time now is 12:03 PM. |