SCIENTIFIC-LINUX-USERS Archives

September 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Summerfield <[log in to unmask]>
Reply To:
John Summerfield <[log in to unmask]>
Date:
Sun, 2 Sep 2007 11:26:05 +0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
Nocte Diemque 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. 

If you didn't use an rpm, you should have:-)

If the new rpm didn't replace the old, it should have. A bug report is 
in order.

I suggest you remove all the java rpms you have (use --nodeps if 
needed), then install the latest corresponding java rpms.

> 
> 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. 

oh dear!


> 
> I'll be very grateful for help on this. 



-- 

Cheers
John

-- spambait
[log in to unmask]  [log in to unmask]

Please do not reply off-list

ATOM RSS1 RSS2