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

Exception when bundler is being passed different VM options via CLI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u20
    • Component/s: deploy
    • Labels:
      None
    • Environment:

      b15

      Description

      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]

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: