View previous topic :: View next topic |
Author |
Message |
ferreirafm Guru
Joined: 28 Jul 2005 Posts: 487 Location: Sao Paulo, Brazil
|
Posted: Fri Mar 01, 2013 3:58 pm Post subject: [SOLVED] install Java SE 7u15 |
|
|
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 |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
Posted: Fri Mar 01, 2013 4:18 pm Post subject: |
|
|
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 |
|
|
ferreirafm Guru
Joined: 28 Jul 2005 Posts: 487 Location: Sao Paulo, Brazil
|
Posted: Fri Mar 01, 2013 6:50 pm Post subject: |
|
|
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 |
|
|
|