simply run:
- Code: Select all
equo search sun
you will find the sun java packages, I assume that you want to develop using java, so run:
- Code: Select all
equo install --ask sun-jdk
The latest version of the package on equo is 1.6, if you need a specific version, just add it to the end
of the package name, use:
- Code: Select all
equo search sun-jdk
to view all available versions.
If you want to install the SDK using emerge, simply install the package using:
- Code: Select all
emerge -av sun-jdk
If you need a specific version, use eix to find all of them, the latest version on portage
should be 1.6.
- Code: Select all
eix sun-jdk
In both cases, to switch java versions check:
- Code: Select all
eselect java-vm help