Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] install Java SE 7u15
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
ferreirafm
Guru
Guru


Joined: 28 Jul 2005
Posts: 487
Location: Sao Paulo, Brazil

PostPosted: Fri Mar 01, 2013 3:58 pm    Post subject: [SOLVED] install Java SE 7u15 Reply with quote

Hi Forum,
I need to run a java application with the newest Java SE 7u15.
Could please someone give me a hand to install it?
Best,


Last edited by ferreirafm on Fri Mar 01, 2013 9:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Fri Mar 01, 2013 4:18 pm    Post subject: Reply with quote

Code:
emerge --sync
emerge oracle-jre-bin


This Package has a fetch restriction, which will lead you to this website:
Java SE Runtime Environment 7 Downloads
Use a browser to download.
Accept the license agreement.
Copy or move the file to your distfiles directory, and then:
Code:
mv -v /<path to where you saved file>/filename-arch.tar.gz /usr/portage/distfiles/
emerge oracle-jre-bin
eselect java-vm list
eselect java-vm system set <Java SE 7u15>

_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
ferreirafm
Guru
Guru


Joined: 28 Jul 2005
Posts: 487
Location: Sao Paulo, Brazil

PostPosted: Fri Mar 01, 2013 6:50 pm    Post subject: Reply with quote

Thanks for helping.
I didn't know there was a binary with such name.
The correct code to set java-vm is:
Code:
eselect java-vm set system 1

Best
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