harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [classlib][launcher]shall we handle the parameter -version and -showversion in launcher or vm?
Date Wed, 11 Oct 2006 16:46:18 GMT


Tony Wu wrote:
> I encounter an error[1] when run java -version with IBM VME today and
> it is ok on DRLVM. I wonder how to handle these simple parameters. Is
> there any decision
> about that?
> 
> [1]
> qbit@qbit-ibm:~/harmony/workspace/trunk/deploy/jdk/jre/bin$ ./java -version
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
> Foundation or its licensors, as applicable.
> JVMJ9VM007E Command-line option unrecognised: -version
> HMYEXEL062E Internal VM error: Failed to create Java VM
> FAILED to invoke JVM.
> 

Yes, we won't pass -version into the VM, but simply have an expectation 
that the VM will set a property that can be read by the launcher post VM 
init.

geir

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message