Monday, July 20, 2009

Java maintenance

java-check-environment will check the java environment, and give information about problems and remnants of old installations not needed any more.


# 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 our upgrade guide for details:
* http://www.gentoo.org/proj/en/java/java-upgrade.xml

* Checking fastjar ... [ ok ]

* Checking vm_environment_files ... [ ok ]

* Checking user_settings ...
* Running as root. Don't need to check user settings. [ ok ]

* Checking generation_1_system_vm ... [ ok ]

* Checking java_config_1 ...
* dev-java/java-config:0 (version 1.x) seems to be installed
* It is no longer needed, you can uninstall it.
$ emerge -av --depclean dev-java/java-config:0 [ ok ]

* Checking global_classpath ... [ ok ]

* Checking virtual_provides ... [ ok ]

* Checking overlays_eclasses ... [ ok ]

* Checking package_env ... [ ok ]

* Checking proc_mounted ... [ ok ]

* Java environment is sane. Congratulations!


Do doing as suggested removes the old crud.

# emerge -av --depclean dev-java/java-config:0

Calculating dependencies... done!

>>> These are the packages that would be unmerged:

dev-java/java-config
selected: 1.3.7-r1
protected: none
omitted: 2.1.8-r1

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Would you like to unmerge these packages? [Yes/No]
...

No comments:

Post a Comment