Re: java setup
Peter Courcoux <[email protected]> Thu, 12 May 2005 10:07:01 +0100
| Newsgroups | gmane.linux.mandrake.cooker.amd64 |
|---|---|
| Message-ID | <[email protected]> |
Marc Lijour wrote: >I modified my .bash_profile and /etc/profile to get my new jdk1.5_0_03 >available. But the 1.4.2 keeps coming up! > >.bash_profile isn't the last config read in the login process? > > > Marc, I may be wrong, but I suspect that this is a path order issue. The 1.4.2 rpm puts a java startup script in /usr/bin, and this is symlinked to /etc/alternatives/java. I suspect that /usr/bin/java is earlier on the PATH than the entry in your .bash_profile. Try changing the link in /etc/alternatives to point to your 1.5.0/bin/java location. I hope that this makes sense. Regards, Peter