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

javapackager fails to run bundler claiming that 'Main application jar is missing.'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 9
    • deploy
    • None
    • Microsoft Windows [Version 10.0.15063]

      java version "9.0.1"
      Java(TM) SE Runtime Environment (build 9.0.1+11)
      Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

      May be related to JDK-8124950, but that was reported against JDK 7 and I found JDK 8 to be working.

      Bundler MSI Installer skipped because of a configuration problem: Main application jar is missing.

      Same command line runs with Java 8 and produces a .msi file

      Command line args are:
      c:\Program Files\Java\jdk-9.0.1\bin\javapackager, -deploy, -verbose, -nosign, -native, msi, -vendor, My Company, -description, My Server Administration Application, -outdir, C:\dev\MyServerAdminApp\build/distribution, -outfile, MyServerAdminApp, -name, My Server Admin, -appclass, com.example.server.ui.MyServerAdminApp, -srcdir, C:\dev\MyServerAdminApp\build\libs, -srcfiles, MyServerAdminApp-1.0.4.jar, -srcfiles, ServerWSClient-3.1.3.jar, -srcfiles, Server-3.1.3.jar, -Bruntime=C:\Program Files\Java\jdk1.8.0_152\jre]

            asemenyuk Alexey Semenyuk
            swpalmer Scott Palmer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: