Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Java JDK 1.5 - HELP **Solved**
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 647
Location: Los Angeles

PostPosted: Wed Sep 07, 2005 6:55 pm    Post subject: Installing Java JDK 1.5 - HELP **Solved** Reply with quote

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
View user's profile Send private message
oshman
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2005
Posts: 124
Location: Houston, TX

PostPosted: Wed Sep 07, 2005 7:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Wed Sep 07, 2005 7:09 pm    Post subject: Reply with quote

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

Code:

dev-java/sun-jdk
Back to top
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 647
Location: Los Angeles

PostPosted: Wed Sep 07, 2005 7:45 pm    Post subject: Tried That Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum