Tyops in XX opts

Chris Dennis cdennis at terracottatech.com
Tue Sep 18 12:07:36 PDT 2012


The two of you are seeing the difference between 1.7 and 1.8:

Chriss-MacBook-Pro:lambda cdennis$ ${JAVA_HOME_18}/bin/java -XX:+UseParallelOldGCC
Unrecognized VM option 'UseParallelOldGCC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Chriss-MacBook-Pro:lambda cdennis$ ${JAVA_HOME_17}/bin/java -XX:+UseParallelOldGCC
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Chris

On Sep 18, 2012, at 3:02 PM, Jesper Wilhelmsson wrote:

> 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
> _______________________________________________
> 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