Installing Java Runtime Enviroment 1.6

Anything that pertains to Portage

Moderator: Moderators

Post Reply
fippus
Baby Hen
Posts: 4
Joined: Tue Sep 04, 2007 20:16

Installing Java Runtime Enviroment 1.6

Post by fippus » Sun Sep 09, 2007 2:05

Hello, maybe you guys can help me

I need to install JRE on Mozilla Firefox, the one who cames with Sabayon miniedition.

I try everything but it doesn't work, i read carefully all the instalation instructions, anyone of you guys already has it on you computer?

Thank you.

User avatar
Necoro
Advanced Hen
Posts: 242
Joined: Mon Apr 23, 2007 22:47
Location: Munich (Germany)
Contact:

Re: Installing Java Runtime Enviroment 1.6

Post by Necoro » Sun Sep 09, 2007 2:21

Install java-1.6 (if it isn't already):

Code: Select all

USE="nsplugin" emerge -av "=sun-jre-bin:1.6"
Set this as your current JRE to be used (run this as normal user - not as root):

Code: Select all

eselect java-vm set user sun-jre-bin-1.6
Set the nsplugin (i.e. firefox-java-plugin) you want: (here you need to be root again)

Code: Select all

eselect java-nsplugin set sun-jre-bin-1.6
(You can use sun-jdk-1.6 instead of the JRE if you want to - replace then "sun-jre-bin" by "sun-jdk")

fippus
Baby Hen
Posts: 4
Joined: Tue Sep 04, 2007 20:16

Re: Installing Java Runtime Enviroment 1.6

Post by fippus » Sun Sep 09, 2007 6:53

Thank You, Necoro!

First, I had to do all the upgrade stuff to Portage, then I follow your instructions, now I have the JRE running on my computer!

Thank You. Again.
Fippus.

Post Reply