Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help emerging java-jdk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
NiceGuy
Guru
Guru


Joined: 12 Jun 2006
Posts: 451
Location: Canada

PostPosted: Wed Jul 04, 2007 2:22 pm    Post subject: Help emerging java-jdk Reply with quote

Hello all,

I have been trying to emerge java into my gentoo machine, but have not been able to do so .. here is my output:
Code:

prompt ~ # emerge sun-jdk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/sun-jdk-1.4.2.10-r2 to /
!!! j2sdk-1_4_2_10-linux-i586.bin not found in /usr/portage/distfiles

!!! dev-java/sun-jdk-1.4.2.10-r2 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.

 * Please download j2sdk-1_4_2_10-linux-i586.bin from:
 * http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-1.4.2_10-oth-JPR&SiteId=JSC&TransactionId=noreg
 * (SDK 32-bit/64-bit for Windows/Linux/Solaris SPARC 32-bit for Solaris x86, then select download Linux Self-extracting.
 * and move it to /usr/portage/distfiles


I think I would prefer to emerge java in rather than maually download and install it.
Any advice??
Thanks
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Wed Jul 04, 2007 2:27 pm    Post subject: Reply with quote

Yes: follow the instructions you were given.
Download the file from the URL supplied and put it in the location specified, then emerge again. It's called "fetch restriction:" the ebuild requires you to get the file manually when the software license forbids redistribution.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.


Last edited by timeBandit on Wed Jul 04, 2007 2:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
masteroftheuniverse
Apprentice
Apprentice


Joined: 20 Jan 2005
Posts: 259

PostPosted: Wed Jul 04, 2007 2:27 pm    Post subject: Reply with quote

you don't have to install it, just download and move to distfiles. then run emerge again and all will be well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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