java (sun), java-openjdk and java-gcj

Deepak Bhole dbhole at redhat.com
Fri Sep 10 16:16:44 UTC 2010


* Walter Cazzola <cazzola at dico.unimi.it> [2010-09-10 11:34]:
> Dear all,
> On my Fedora 13 machine I've to use the sun/oracle jdk distribution. To
> install and configure this is not a problem (downloaded the bin from the
> sun web site and run it).
> 


May I ask what it is specifically that requires Sun/Oracle that
OpenJDK cannot satisfy?


> But we I try to install something based on java (e.g., antlr, javassist,
> bcel, ...) yum always proposes to install either java-1.5.0-gcj or
> java-1.6.0-openjdk as java wasn't installed at all.
> 


This is due to a requirement on java/java-devel that the Sun/Oracle
RPM does not provide.

> For several reasons I'm bound to a specific version of sun JVM (v1.5)
> and I can't use the other virtual machines
> 

Not that I am trying to preach or anything, but Sun/Oracle no longer
supports 1.5 for consumers.. if your software is bound to that
specifically, you should change it as the 1.5 JDK security issues will
no longer be addressed.

> I've correctly set JAVA_HOME, CLASSPATH and PATH so I suppose it isn't a
> problem to have several virtual machines installed but I'd like to have
> a clean installation without useless software (it is a production guest
> for virtual box with few space at disposal).
> 
> So there is a way to convince yum that I've installed java and to use it
> when I'll try to add some java related software?
> 

You can try installing the sun compat rpm from JPackage
(www.jpackage.org). 

Deepak

> Thanks a lot
> 
> Walter
> 
> -- 
> Walter Cazzola, PhD - Assistant Professor, DICo, University of Milano
> E-mail cazzola at dico.unimi.it Ph.: +39 02 503 16300  Fax: +39 02 503 16253
> · · · ---------------------------- · · · ---------------------------- · · ·
>                ... recursive: adjective, see recursive ...
> · · · ---------------------------- · · · ---------------------------- · · ·

> -- 
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



More information about the users mailing list