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

javapackager -deploy -verbose says to add files to classpath to customize but doesn't allow -classpath option with 'deploy' command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 10
    • deploy
    • None
    • Microsoft Windows [Version 10.0.16299.309]

    • x86_64
    • windows_10

      Output of javapackager -deploy -verbose -native native ... prints:

      Using default package resource [icon] (add package/windows/AppNameHere.ico to the class path to customize)
      Using default package resource [Template for creating executable properties file.] (add package/windows\AppNameHere.properties to the class path to customize)

      but '-classpath' is not allowed with '-deploy' (it *is* listed as an option for other commands):

      Exception in thread "main" com.sun.javafx.tools.packager.PackagerException: Error: Unknown argument: -classpath

      It is not clear how to customize the installer.

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

              Created:
              Updated:
              Resolved: