Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-java@g.o
From: Daigo Kobayashi <daigo@...>
Subject: Re: Question about Sun-Jdk 1.4.2.10
Date: Sat, 03 Dec 2005 09:52:07 +0900
Hi. Greg

Thank you for reply my message. I try to upgrade sun-jdk 1.5
and successfully finished.
 I know in some case jdk 1.5 may cause problem. But I dont't want
to back to jdk 1.4.2. So I remove sun-jdk 1.4.2_09.

 If I found some problem, shoud I will report it?

regards,
Daigo Kobayashi

> OK, here's how this is done.  It's actually easy but I'll include
> specific details for you, just in case you're new to this:
> 
>       * If it doesn't already exist, create the directory "/etc/portage"
> 
>       * Then create the file "/etc/portage/package.unmask" if it doesn't
>         already exist.
> 
>       * Add the following line(s) to that file (comments may be
>         omitted):
> 
> #----------------
> dev-java/sun-jdk
>   # (or whatever vendor package you want -- use the full name)
> dev-java/java-sdk-docs
>   # (if you have your "doc" USE flag on)
> #----------------
> 
>       * The above removes the package mask added by the Gentoo
>         developers.  However, since the sun-jdk 1.5 package is also
>         marked unstable ("~"), you may need to enable the "testing"
>         profile for these packages as well.  Unless your system is set
>         to ~ you will need to perform the following:
> 
>       * If it doesn't already exist, create the file
>         "/etc/portage/package.keywords".
> 
>       * Add the following lines to that file, where "~arch" is the
>         unstable flag for your architecture (e.g., most likely ~x86 or
>         ~amd64).  Comments may be omitted, of course:
> 
> #----------------
> dev-java/sun-jdk ~arch
> dev-java/java-sdk-docs ~arch
> #----------------
> 
> 
> That should do it.  You can now emerge the package with a standard
> command:
> 
> emerge -av dev-java/sun-jdk
> 
> 
> ** VERY IMPORTANT **
> 
> Unless you know what you're doing, I strongly recommend that you leave
> your system VM set to a 1.4 JDK/runtime.  Your message didn't indicate
> if you have one installed, so I'll assume you are using Blackdown (which
> is 1.4).  If you aren't, you should install it now:
> 
> emerge -av dev-java/blackdown-jdk
> 
> (or use the JRE... I'm just giving examples at this point)
> 
> ** Back to the WARNING **
> 
> Installing the new sun-jdk will usually set your system VM to that one
> (which is 1.5).  To fix this and set a 1.4 system VM, you need to
> perform the following steps *AFTER* the emerge:
> 
>       * Run the following command (as root) to set a new 1.4 system VM:
> 
> java-config --set-system-vm=blackdown-jre-1.4.2.02
> 
> (assuming you have that version of the blackdown JRE installed)
> 
>       * Now set your user VM to the 1.5 JVM.  Run the following command
>         as you standard user account(s):
> 
> java-config --set-user-vm=sun-jdk-1.5.0.05
> 
> (assuming you installed that version of the sun-jdk)
> 
> 
> That should do it.  Enjoy!

-- 
gentoo-java@g.o mailing list


Replies:
Re: Question about Sun-Jdk 1.4.2.10
-- Greg Tassone
References:
Question about Sun-Jdk 1.4.2.10
-- Tomasz Buchert
Re: Question about Sun-Jdk 1.4.2.10
-- Greg Tassone
Re: Question about Sun-Jdk 1.4.2.10
-- Daigo Kobayashi
Re: Question about Sun-Jdk 1.4.2.10
-- Greg Tassone
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Question about Sun-Jdk 1.4.2.10
Next by thread:
Re: Question about Sun-Jdk 1.4.2.10
Previous by date:
Re: Question about Sun-Jdk 1.4.2.10
Next by date:
Re: Question about Sun-Jdk 1.4.2.10


Updated Jun 17, 2009

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.