localhost apache2 # java-check-environment
* === Java Environment Checker ===
* The purpose of this script is to check the sanity of your Java Environment.
* We have significantly changed and improved the way Java is handled in many respects.
* Please refer to http://www.gentoo.org/proj/en/java/java-upgrade.xml for details
* Checking vm_environment_files ... [ ok ]
* Checking user_settings ...
* Running as root. Don't need to check user settings. [ ok ]
* Checking generation_1_system_vm ...
* No Generation-1 System VM is set! (no /etc/env.d/20java)
* Run 'java-config-1 -L' to see a list of available VMs
* Then run 'java-config-1 -S <VM choice>'
* Then run 'env-update && source /etc/profile [ !! ]
* Some problems were found. Please follow the instructions above, and rerun java-check-environment
localhost apache2 # java-config-1 -L
The following JDKs are available for generation-1:
localhost apache2 # emerge -vp virtual/jdk
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N F ] dev-java/ibm-jdk-bin-1.5.0.3 USE="X alsa nsplugin -javacomm" 61,556 kB
[ebuild N ] virtual/jdk-1.5.0 0 kB
Total size of downloads: 61,556 kB
localhost apache2 # emerge -vp sun-jdk
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N f ] dev-java/java-sdk-docs-1.4.2 0 kB
[ebuild N f ] dev-java/sun-jdk-1.4.2.12 USE="X alsa doc nsplugin -jce" 0 kB
Total size of downloads: 0 kB