Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8092902

Exception when bundler is being passed different VM options via CLI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u20
    • 8u20
    • deploy
    • None
    • b15

      When I launch packager with the following command:

      "C:\Program Files\Java\jdk1.8.0_20\\bin\javapackager" "-deploy" "-verbose" "-outdir" "C:\Temp\" "-outfile" "test" "-native" "image" "-BmainJar=testFxAppWithUtil.jar" "-BjvmOptions=-Dsqe.foo.bar=baz -Dsqe.qux.corge=grault" "-srcfiles" "C:\Temp\\jars\testFxAppWithUtil.jar;C:\Temp\\jars\Util.jar" "-Bclasspath=testFxAppWithUtil.jar;Util.jar" "-appclass" "testapp.App1" "-srcdir" "C:\Temp\\jars" "-BuserJvmOptions="-Xmx1g
      -Xms512m"" "-BjvmProperties="sqe.aba.caba=dabacaba""

      I'm getting a RuntimeException

      Deploy Params and Bundler Arguments overlap in the following values:[jvmOptions, jvmProperties, userJvmOptions]

            shemnon Danno Ferrin (Inactive)
            dzinkevi Dmitry Zinkevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: