Simple way to update java on FC6?

Bruce Labitt bruce.labitt at verizon.net
Sun Jan 27 16:57:18 EST 2008


Lloyd Kvam wrote:
> On Sun, 2008-01-27 at 11:50 -0500, Bruce Labitt wrote:
>   
>> I'm trying to get eclipse to run on my box with FC6.  I grabbed a copy 
>> of the program from eclipse.org.  It wants a version of java > 1.5 to 
>> run.  It seems the repos only have 1.4.2 for FC6.  Anybody know of a 
>> repo that may have it?  
>>     
>
> http://www.jpackage.org/
> is probably your best bet.  
>
>   
>> In the past, I've tried updating java thru the 
>> sun site.  I was not successful at all.
>> _______________________________________________
>> gnhlug-discuss mailing list
>> gnhlug-discuss at mail.gnhlug.org
>> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>>     
OK.  I downloaded the files jdk-1_5_0_14-linux-i586-rpm.bin
and java-1.5.0-sun-compat-1.5.0.14-1jpp.i586.rpm .

I am attempting to follow the outline given in:
http://www.jpackage.org/installation.php

If I am following the instructions correctly, I should then do:
# yum localinstall java-1.5.0-sun-compat-1.5.0.14-1jpp.i586.rpm

I get the following error message:

...
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package java-1.5.0-sun-compat.i586 0:1.5.0.14-1jpp set to be updated
--> Running transaction check
--> Processing Dependency: jdk = 2000:1.5.0_14-fcs for package: 
java-1.5.0-sun-compat
--> Finished Dependency Resolution
Error: Missing Dependency: jdk = 2000:1.5.0_14-fcs is needed by package 
java-1.5.0-sun-compat

How do I tell yum that the jdk-1_5_0_14-linux-i586-rpm.bin file is in 
the same directory???  Or do I have a different problem?



More information about the gnhlug-discuss mailing list