Uploaded image for project: 'OpenJDK'
  1. OpenJDK
  2. OPENJDK-1264

Provide the ability to pass JVM options on the command line with javaws.exe

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • icedtea-web
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      On Linux, you are able to pass JVM options and system properties when running javaws using the "-J" option. For example:

      $ javaws -J-XX:+PrintFlagsFinal application.jnlp 

       

      This is consistent with other Java tooling.

       

      However, on Windows this does not work:

      > javaws.exe -J-XX:+PrintFlagsFinal application.jnlp 

       

       You get:

      InvalidArgumentException: [-XX:+PrintFlagsFinal], [application.jnlp]

              rh-ee-fthevene Frederic Thevenet
              rhn-support-mmillson Michael Millson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: