java-gcj removal

NoOp glgxg at mfire.com
Mon Jan 22 04:53:06 UTC 2007


Anthony Gardner wrote:
> Does anyone know what the implications are of removing java-gcj?
> 
> I've installed Java(TM) 2 Runtime Environment, Standard Edition
> (build
1.5.0_05-b05) and I'd like to use that by default but I don;t know what,
if anything, depends on the default java-gcj java / javac .

Please remove that (see below).

> 
> Would it be possible to remove it and replace it with Sun's JDK? If
so, does anyone know of all the packages I have to remove?
> 
> I've seen java-gcj-compat. Do I just have to remove that?
> 
> Basically, I'd just like to clean things up without breaking
> anything.

You can remove all of them & then reinstall the latest Sun JRE (10).

>From a terminal window check the java version:

#Code
java -version

What you are looking for is this result:

:~$ java -version
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)

If you have anything lower than version 10 (9 for instance) *you should
uninstall it *immediately*. See:

<http://sunsolve.sun.com/search/document.do?assetkey=1-26-102760-1&searchclause=%22category:security%22%2420%22availability,%2420security%22%2420category:security>

Sun(sm) Alert Notification

    * Sun Alert ID: 102760
    * Synopsis: Security Vulnerability in Processing GIF Images in the
Java Runtime Environment May Allow an Untrusted Applet to Elevate Privileges
    * Category: Security
    *
      Product: Java 2 Platform, Standard Edition
    * BugIDs: 6445518
    * Avoidance: Patch, Upgrade
    * State: Resolved
    * Date Released: 16-Jan-2007
    * Date Closed: 16-Jan-2007
    * Date Modified: 18-Jan-2007
 .
 .
 .
2. Contributing Factors

This issue can occur in the following releases (for Windows, Solaris,
and Linux):

    * JDK and JRE 5.0 Update 9 and earlier
    * SDK and JRE 1.4.2_12 and earlier
    * SDK and JRE 1.3.1_18 and earlier

Then install 10. Instructions are here:
<http://easylinux.info/wiki/Ubuntu_dapper#How_to_install_JRE_v5.0_Update_10>
Instructions are the same for Dapper and Edgy









More information about the ubuntu-users mailing list