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

Walter Cazzola cazzola at dico.unimi.it
Fri Sep 10 15:34:07 UTC 2010


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

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.

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

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?

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


More information about the users mailing list