public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
From: Daigo Kobayashi <daigo@abs-network.com>
To: gentoo-java@lists.gentoo.org
Subject: Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10
Date: Sat, 03 Dec 2005 09:52:07 +0900	[thread overview]
Message-ID: <4390EC37.5050206@abs-network.com> (raw)
In-Reply-To: <1133302289.8028.56.camel@localhost>

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@gentoo.org mailing list



  reply	other threads:[~2005-12-03  0:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-29  0:01 [gentoo-java] Question about Sun-Jdk 1.4.2.10 Tomasz Buchert
2005-11-28 23:26 ` Eddy Mulyono
2005-11-29  9:04 ` Greg Tassone
2005-11-29 11:50   ` Petteri Räty
2005-11-29 21:01     ` Greg Tassone
2005-11-29 15:35   ` Daigo Kobayashi
2005-11-29 22:11     ` Greg Tassone
2005-12-03  0:52       ` Daigo Kobayashi [this message]
2005-12-03  2:44         ` Greg Tassone
  -- strict thread matches above, loose matches on Subject: below --
2005-11-29 23:57 Peter B. West
2005-11-30  0:31 ` Antony Riley
2005-11-30  1:12 ` Joshua Nichols
2005-11-30 22:39   ` Peter B. West
2005-11-30 23:09     ` Greg Tassone
2005-12-03  8:23       ` Peter B. West
2005-12-03  9:45         ` Petteri Räty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4390EC37.5050206@abs-network.com \
    --to=daigo@abs-network.com \
    --cc=gentoo-java@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox