error in an argument given for resolution. there is 3 '---' in : * Choose one, and run 'java-config-1 ---set-system-vm <VM choice>' Reproducible: Always Steps to Reproduce: 1. #> 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 ... * No Generation-1 System VM is set! (no /etc/env.d/20java) The following JDKs are available for generation-1: 1) Sun JDK 1.4.2.16 [sun-jdk-1.4.2.16] * Choose one, and run 'java-config-1 ---set-system-vm <VM choice>' [ !! ] * Some problems were found. Please follow the instructions above, and rerun java-check-environment 2. #> java-config-1 ---set-system-vm sun-jdk-1.4.2.16 Error: option ---set-system-vm not recognized 3. #> java-config-1 --set-system-vm sun-jdk-1.4.2.16 Now using sun-jdk-1.4 for the generation-1 system JDK
betelgeuse@pena /mnt/checkouts/java/projects/java-config-wrapper/trunk/src/shell $ svn ci -m "Fix typo ---set-system-vm to --set-system-vm. Reported in bug #198455." Sending shell/java-check-environment Transmitting file data . Committed revision 5696.
This fix was released with 0.15: *java-config-wrapper-0.15 (28 Nov 2007) 28 Nov 2007; <alistair@gentoo.org> +java-config-wrapper-0.15.ebuild: Version Bump java-config-wrapper to support new java-virtuals in java-check-environment.