> -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On > Behalf Of Kyle Smith > Sent: Friday, April 13, 2007 3:17 PM > To: [EMAIL PROTECTED] > Subject: Re: How to replace a "entry" in PATH? > > > The easy way to do it is to use symlinks for the Java location. For > example, I used to create /opt/ibmjava which always pointed to the > latest version of IBM's JDK. Then my PATH just had /opt/ibmjava/bin > and I had an entry in my bashrc for JAVA_HOME=/opt/ibmjava. > > The other thing to look at is that some distributions have nice little > tools to manage /etc/alternatives (Ubuntu in particular has > update-alternatives that will update all of the symlinks and path > options for you). > > ks
Well, that would work. If everybody on the machine wanted to use the same version of Java for their compiling and testing. An "personal symlink" would be interesting to have implemented. I.e. a single symlink which points to different files for different users. But, in this case, I want to be able to allow user1 to use Java 1.5 while user2 is using Java 1.6. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
