Simple way to update java on FC6?

Lloyd Kvam python at venix.com
Mon Jan 28 08:11:18 EST 2008


On Sun, 2008-01-27 at 16:57 -0500, Bruce Labitt wrote:
> 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???  
Can you list both files on the command line?

> Or do I have a different problem?

Make sure you have jpackage-utils installed.  The yum-faq provides the
setup info for some other repositories: yum-fedorafaq-6-2007.02.03

Here's my jpackage.repo from the fedorafaq rpm.

[root at www yum.repos.d]# cat jpackage.repo 
# JPackage is a GREAT repository for Java Software.
# Nowadays most of JPackage should work with GCJ,
# so there should be no problem with it being enabled
# by default.
#
# Note: JPackage IS compatible with Fedora Extras.
# You can use JPackage and Fedora Extras at the same time, without
# any trouble. It's also compatible with the all the other repositories,
# for the most part.

[jpackage-generic]
name=JPackage (free), generic
mirrorlist=http://www.jpackage.org/jpackage_generic.txt
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/jpackage.asc
enabled=0

[jpackage-fedora]
name=JPackage (free) for Fedora Core $releasever
mirrorlist=http://www.jpackage.org/jpackage_fedora-$releasever.txt
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/jpackage.asc
enabled=0

[jpackage-nonfree]
name=JPackage (non-free), generic
mirrorlist=http://www.jpackage.org/jpackage_generic_nonfree.txt
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/jpackage.asc
enabled=0

You'll need to set enabled=1 as appropriate.  Hopefully that gets you
working.

I ultimately deleted the Java stuff.  Apparently I did not have enough
processing power and it was not helping me get work done.
> 
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug



More information about the gnhlug-discuss mailing list