Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198455 - java-check-environment have a mispelling solution
Summary: java-check-environment have a mispelling solution
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-11-08 14:52 UTC by mobidyc
Modified: 2007-12-16 02:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mobidyc 2007-11-08 14:52:37 UTC
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
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-11-09 11:08:47 UTC
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.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-12-16 02:24:09 UTC
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.