Firefox 16, a treat for developers http://t.co/cnd27CzT
Install Java JRE/JDK in gentoo and sabayon
Question: How to install Java and Java plugins in Sabayon or gentoo ?
Answer :
Install JDK/JRE
emerge virtual/jdk.
to install your profile’s default JRE
emerge virtual/jre
Configuring your JDK/JRE
java-config –list-available-vms will give you a list of all available JREs and JDKs on your system
example :
# java-config --list-available-vms The following VMs are available for generation-2: 1) IcedTea6-bin 1.4.1 [icedtea6-bin] 2) Sun JDK 1.5.0.20 [sun-jdk-1.5] *) Sun JDK 1.6.0.16 [sun-jdk-1.6]
Setting the System VM
java-config --set-system-vm sun-jdk-1.6 Now using sun-jdk-1.6 as your generation-2 system JVM
Generate the profile.env
# env-update
Now is you new Vm system is activated
Install Java Browser Plugins
check the available plugins
# eselect java-nsplugin list [1] sun-jre-bin-1.6 [2] icedtea6-bin
Select the plugin you want
# eselect java-nsplugin set sun-jre-bin-1.6
Check the chosen plugin
# eselect java-nsplugin list [1] sun-jre-bin-1.6 current [2] icedtea6-bin
install the plugin for 64bit version
# echo "dev-java/sun-jre-bin nsplugin" >> /etc/portage/package.use # emerge sun-jre-bin
Views, select and activate
eselect java-nsplugin list Available 32-bit Java browser plugins [1] emul-linux-x86-java-1.5 [2] emul-linux-x86-java-1.6 Available 64-bit Java browser plugins [1] icedtea6-bin [2] sun-jre-bin-1.6
Chose the plugin you cant to use
(Choose the plugins for 32-bit and 64-bit browsers) # eselect java-nsplugin set 32bit emul-linux-x86-java-1.6 # eselect java-nsplugin set 64bit sun-jre-bin-1.6
check the selected plugins
# eselect java-nsplugin list
Available 32-bit Java browser plugins
[1] emul-linux-x86-java-1.5
[2] emul-linux-x86-java-1.6
current Available 64-bit Java browser plugins
[1] icedtea6-bin
[2] sun-jre-bin-1.6 current
done.
For questions please refer to our Q/A forum at : http://ask.unixmen.com
-
-
Pingback: Gentoo java | Zumroo
Like us on Facebook
This week Top Posts 
Top Things to do After Installing Ubuntu 13.04 ‘Raring Ringtail’ : Ubuntu 13.04 Raring Ringtail final is almost out. The final release it scheduled for release on Apri...0 comment(s) |
Howto: Upgrade to Ubuntu 13.04 Raring Ringtail from 12.04, 12,10 | Desktop & Server : Updated 05-04-2013: Ubuntu 13.04 Raring Ringtail will be released Soon, If you have ubuntu 12,10, 12...0 comment(s) |
Unix/Linux File Recognition. Did You Know? : Did you know that Unix and Linux has no concept of a file extension? What is a file name extension?
...0 comment(s) |
Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comment(s) |
Howto- Resolve nosound problem on Ubuntu 13.04 Raring Ringtail,12.10 and Older : Updated 05/04/2013 : One of the common issues facing Ubuntu users after installing or upgrading Ubun...0 comment(s) |
Configure conky-Lua in Ubuntu (12.10 & 13.04 Raring Ringtail), Fedora, debian and LinuxMint | Howto Conky : Updated 05-04-2013: Conky is a free, light-weight system monitor for X, that displays any informatio...0 comment(s) |
Recent Posts
Recent Posts
- Unix/Linux File Recognition. Did You Know?
- Migrate from MySQL to MariaDB in FreeBSD
- Connect Your Android Galaxy Tablet to Ubuntu via USB
- ElementaryOS Beta 1 and 2 Comparison and Review
- Introduction to the Linux Command Line
- A Secure Password
- Linux Kernel 3.10. It’s BIG!
- Monitoring Users Activity Using psacct or acct Tools in Linux
- Run Your Own Social Network Using elgg on RHEL / CentOS and Scientific Linux
- Getting Debian 7.0 ‘Wheezy’ Up and Running
Recent Comments

Maintained by
Anblik
.


















SK
| #
Thanks for the comment Abdullah. Stay tuned with us always.
Abdullah Musazai
| #
Thank you for such a great service you always do, hope you gain more power and more energy to work more & more
Dominik Bauer
| #
thx a lot!
Maximiliano Osorio
| #
Osom. Thank you.
Sam
| #
Thanks much. It worked like a charm.