Results 1 to 2 of 2
Hi everyone, hope you are all happy with your linux distros
My problem for today:
I installed the java sdk, configured the path in sun one and everything is working ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-10-2004 #1Just Joined!
- Join Date
- Sep 2004
- Posts
- 5
Environment Variables
Hi everyone, hope you are all happy with your linux distros
My problem for today:
I installed the java sdk, configured the path in sun one and everything is working fine.
What I would like to do is to type in the shell, java {class name} and the program should then run.(I don't want to go in to the sun one all the time to run my apps, I like to use KWrite for java as well)
This can be easily done in windows using Environment Variables, but how can I do this in Mandrake 9.1?
Please let me know if you need more info
Thank You
- 09-10-2004 #2Linux User
- Join Date
- Jul 2004
- Location
- Poland
- Posts
- 368
Is it all about setting PATH variable? I've added java directory to it and everything works fine, i.e.:
Write it to your ~/.bashrc to make the change permament for a particular user.Code:export PATH=$PATH:/usr/local/j2re1.4.2_05/bin
"I don't know what I'm running from
And I don't know where I'm running to
There's something deep and strange inside of me I see"


Reply With Quote
