View previous topic :: View next topic |
Author |
Message |
KWhat l33t
Joined: 04 Sep 2005 Posts: 647 Location: Los Angeles
|
Posted: Wed Sep 07, 2005 6:55 pm Post subject: Installing Java JDK 1.5 - HELP **Solved** |
|
|
I have been trying to figure out how to install The Java JDK 1.5 and cant seem to find it on the emerge list. A few posts said to unmask it however i have not been able to do that successfully. Can anyone provide some instruction on getting Java 1.5 installed either by portage or by manually installing it?
Thank You
Last edited by KWhat on Wed Sep 07, 2005 8:18 pm; edited 1 time in total |
|
Back to top |
|
|
oshman Tux's lil' helper
Joined: 29 Jun 2005 Posts: 124 Location: Houston, TX
|
Posted: Wed Sep 07, 2005 7:04 pm Post subject: |
|
|
Follow the instructions:
http://gentoo-wiki.com/Java_Installation_Help
running the cruft script is not necessary and if you are unclear of how to use it you may want the skip it. It could hurt your installation. _________________ Fujitsu Lifebook S6520 Core 2 Duo |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Wed Sep 07, 2005 7:09 pm Post subject: |
|
|
I know about two java development kit implementations in portage: the blackdown and the sun kits.
The latest blackdown jdk in portage is 1.4.2.02 (is unmasked, and there is no later version masked in portage). The dev-java/sun-jdk package has a 1.5.0.04 version available in portage. You just have to add the following line to /etc/portage/package.keywords, then emerge sun-jdk.
Code: |
dev-java/sun-jdk ~x86
|
Of course, if your architecture is other than x86 just substitute it with yours. Now it should work.
EDIT: It is hardmasked, so you will also need to add this in /etc/portage/package.unmask
|
|
Back to top |
|
|
KWhat l33t
Joined: 04 Sep 2005 Posts: 647 Location: Los Angeles
|
Posted: Wed Sep 07, 2005 7:45 pm Post subject: Tried That |
|
|
I keep tring to add the lines to my keywords and tried adding to the unmask file but when i do emerge -s sun-jdk it only lists dev-java/sun-jdk lastest version available 1.4.2.09 and latest version installed is the same.... any ideas
Thanks
**UPDATE** fixed my type and it showed up =P
Thank you! |
|
Back to top |
|
|
|