Tyops in XX opts

Jesper Wilhelmsson jesper.wilhelmsson at oracle.com
Tue Sep 18 12:02:44 PDT 2012


Eric,

When I run the command line you wrote I get the following:

$ java -XX:+UseParallelOldGCC -version
Unrecognized VM option 'UseParallelOldGCC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

So there is a message about the unknown option, but it is not labeled as an error. Do you run this in a script that is grep'ing for "Error"?
/Jesper



18 sep 2012 kl. 20:00 skrev Eric Caspole <eric.caspole at amd.com>:

> I fat-fingered my cmd line in a complicated launcher script,  
> basically it was:
> 
> $ /opt/jdk1.7.0_07/bin/java -XX:+UseParallelOldGCC -version
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> 
> How hard would it be to emit a friendlier message like "Unknown XX  
> option" or something like that?
> 
> Thanks,
> Eric
> 
> 
> _______________________________________________
> hotspot-gc-use mailing list
> hotspot-gc-use at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use


More information about the hotspot-gc-use mailing list