Re: [Fedora] Re: [Fedora] Re: [Fedora] Re: java (sun), java-openjdk and java-gcj

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Walter Cazzola <cazzola@xxxxxxxxxxxxx> [2010-09-13 10:14]:
> On Mon, 13 Sep 2010, Deepak Bhole wrote:
> 
> >Just went through the bcel package ... looks like it has a specific
> >requirement on java-gcj-compat. There is no way around that requirement
> >at your endpoint.
> 
> Ok, I see
> 
> >However, now that you have the compat package installed for Sun, you
> >can set alternatives to use that jvm. Install everything you need, let
> >it install OpenJDK and GCJ, and then as root, run:
> 
> >alternatives --config java
> >alternatives --config javac
> 
> >And select the Sun version in both cases, and your system will use that
> >for everything from there on.
> 
> uhm, yes this is a solution even if the compat package wasn't necessary
> another alternatives is to install the packages without yum (tgz) but I
> prefer to keep you to have the automatic updating of at the libraries.
> 

What do you mean? Alternatives wouldn't work without the compat package
installed as the Sun RPM does not set it up.

With the compat package installed and alternatives set manually, the
links go into manual mode and do not change when newer JDKs are
installed. That means that you can then yum update as often as you want
without having the JDK links change from the Sun JDK.

Deepak

> Thanks for the help
> Walter
> 
> -- 
> Walter Cazzola, PhD - Assistant Professor, DICo, University of Milano
> E-mail cazzola@xxxxxxxxxxxxx Ph.: +39 02 503 16300  Fax: +39 02 503 16253
> · · · ---------------------------- · · · ---------------------------- · · ·
>                ... recursive: adjective, see recursive ...
> · · · ---------------------------- · · · ---------------------------- · · ·

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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux