On 9/1/07, Nocte Diemque <[log in to unmask]> wrote: > I have SL 4.4 with Java 1.4.2 which I believe came installed directly. I've since updated the Java twice, most recently to 1.6.0 and that works fine with Firefox. > Well there could be multiple javas installed on the system.. they are meant ot be co-existant versus upgrades (as 1.4.2 has items that 1.6.0 doesnt etc etc). You need to look at what Javas you have on your system via RPMS: rpm -qa --nodigest --nosignature | egrep 'jdk|java|j2c' My guess is that you will see some packages like: java-1.4.2-gcj-compat.noarch java-1.4.2-gcj-compat-devel.noarch which are builtin to SL-4 The best way to deal with this is get the jpackage items. http://www.jpackage.org/installation.php I think if you have installed the 1.6.0 from sun, you have already completed step 1 and are onto step 2 and beyond. > However when I want to use a command line tool which relies on Java it picks up 1.4.2. The `which' command also picks up 1.4.2. The Java web pages give advice on how to remove Java when installed from rpm, but this doesn't seem to apply to 1.4.2. > > Can someone point me in the right direction to fix this ? I experimented a little with renaming what I thought were the key files for java 1.4.2 but didn't succeed. I also tried simply aliasing /usr/java/jre1.6.0_02/bin/java to java, but this produced error messages. > > I'll be very grateful for help on this. > > NDI > > _________________________________________________________________ > Feel like a local wherever you go. > http://www.backofmyhand.com > -- Stephen J Smoogen. -- CSIRT/Linux System Administrator How far that little candle throws his beams! So shines a good deed in a naughty world. = Shakespeare. "The Merchant of Venice"