Creating bootscript
Hey all!
I've just installed Java on my computer, because I have to do some programming. But I want to compile and run my programs via the terminal, using: javac bla.java and java bla. But what I found out that everytime I close and re-open my terminal I have to do this: export PATH=/usr/java/jdk1.5.0_01/bin:$PATH and I don't want that. Can anyone help me write a bootscript that does this for me? Thanks in advance, Lex |
look for the file /etc/profile and add your line to the end of it.
|
Thanks for your reply, but this doesn't do the trick...
|
did you logout and log back in ??
|
Never thought I could be so stupid, thanks!
|
I've installed Ubuntu rather than Mandrake. Now this trick doens't work anymore. Any other ideas?
|
do the same thing but in your ~/.bashrc or ~/.bash_profile
|
All times are GMT -5. The time now is 01:59 PM. |