harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3184) [drlvm][netbeans] Aborting on RI-supported options
Date Thu, 15 Feb 2007 15:46:05 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473402

Vasily Zakharov commented on HARMONY-3184:

Here's a discussion of this issue on the dev-list:

> [drlvm][netbeans] Aborting on RI-supported options
> --------------------------------------------------
>                 Key: HARMONY-3184
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3184
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vasily Zakharov
> DRL VM aborts if it finds an unknown option in the command line. However, some applications
put RI-specific options to command line, and DRL VM aborts, making those applications unusable
with DRL VM.
> This issue was discovered while trying to run Netbeans on Harmony, it passes -XX:PermSize
and -XX:MaxPermSize. Netbeans launcher for Windows is .exe file, and tweaking the parameters
it passes to JVM is difficult.
> It seems like an important compatibility issue, and the right way to resolve it is knowing
and ignoring RI-specific options, like JRockit does.
> Here's a simple example:
> java -XX:PermSize=32m -XX:MaxPermSize=160m java.lang.Object
> Output on RI:
> Exception in thread "main" java.lang.NoSuchMethodError: main
> Output on BEA JRockit:
> [JRockit] WARNING:  '-XX:PermSize=32m' is not a valid VM option. Ignoring.
> [JRockit] WARNING:  '-XX:MaxPermSize=160m' is not a valid VM option. Ignoring.
> java.lang.NoSuchMethodError: main
> Output on Harmony/IBM VM (sorry for russian due to russian locale on my machine):
> HMYEXEL056E В классе java.lang.Object не реализован main()
> Exception in thread "main" java.lang.NoSuchMethodError: java/lang/Object.main([Ljava/lang/String;)V
> FAILED to invoke JVM.
> Output on Harmony/DRL VM:
> Unknown option -XX:PermSize=32m
> Use java -help to get help on command line options

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message