1) setting paths
In my .bashrc file, I set my path to include my jdk before anything else. I do this with the following line: export PATH=/home/davidj/installs/java/jdk1.3.1/bin:$PATH The :$PATH tells bash to put whatever is in the PATH environment variable there, so I don't loose what's already there. If you need this to be more global, you can play around with the global settings for paths in /etc/profile if I recall correctly. 2) modifying /usr/bin/java Go ahead and change it, but remember backups are your friends :) David -----Original Message----- From: H.J.Bathoorn [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 5:01 PM To: [EMAIL PROTECTED] Subject: Re: [expert] Java&Kaffe&Java&jre On Tuesday 05 March 2002 00:35, you wrote: > Make sure when you set your $PATH, the path to the SUN JRE/JDK is before > anything /usr/bin and that should get you going. > > Alternatively, you could create your own symlink in /usr/bin to the SUN > JRE/JDK. > > HTH > > David > > Yes, it had crossed my mind but: How do I go about setting a new $PATH before the old ones (that is without deleting them). The alternate symlink also 'flew by', that is: /usr/bin/java is not a link but a shell script that executes Kaffe. I could change it to execute JDK (that would be /usr/java/jdk.xx.xx-x/bin/java in my case I suppose) but I just am being cautious there in 'terra incognita'. If I don't really know what I'm doing I probably won't be able to undo things if they turn sour. -- Thanks, Harm Bathoorn. "Jazz is not dead, it only smells funny" Frank Zappa.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
