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

fx packager: Error: -includedt requires the java deployment toolkit, which is not included in this distribution

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: deploy
    • Labels:

      Description

      after executing your steps from JDK-8172789, I got the following:
      $ ant -f test_JS2SJ_TrustedAllowed_Wildcard_All.xml
      Buildfile: E:\temp6\1\packager\lib\test_JS2SJ_TrustedAllowed_Wildcard_All.xml

      generateSpecialFiles:
      The jar test_JS2SJ_TrustedAllowed_Wildcard_All.jar has a main class JSToJavaFX that does not match the declared main deploy.sqe.JSToJavaFX
      [fx:deploy] Internal error. Missing resources [/resources/web-files/javafx-loading- 100x100.gif]
      JNLP failed : Error: -includedt requires the java deployment toolkit, which is not included in this distribution
      [fx:deploy] com.sun.javafx.tools.packager.PackagerException: Error: -includedt requ ires the java deployment toolkit, which is not included in this distribution
      [fx:deploy] at jdk.packager/com.oracle.tools.packager.jnlp.JNLPBundler.execute( JNLPBundler.java:555)
      [fx:deploy] at jdk.packager/com.sun.javafx.tools.packager.PackagerLib.generateN ativeBundles(PackagerLib.java:371)
      [fx:deploy] at jdk.packager/com.sun.javafx.tools.packager.PackagerLib.generateD eploymentPackages(PackagerLib.java:339)
      [fx:deploy] at com.sun.javafx.tools.ant.DeployFXTask.execute(DeployFXTask.java: 353)
      [fx:deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: 293)
      [fx:deploy] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0( Native Method)
      [fx:deploy] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(N ativeMethodAccessorImpl.java:62)
      [fx:deploy] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invo ke(DelegatingMethodAccessorImpl.java:43)
      [fx:deploy] at java.base/java.lang.reflect.Method.invoke(Method.java:543)
      [fx:deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtil s.java:106)
      [fx:deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
      [fx:deploy] at org.apache.tools.ant.Target.execute(Target.java:435)
      [fx:deploy] at org.apache.tools.ant.Target.performTasks(Target.java:456)
      [fx:deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1 405)
      [fx:deploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
      [fx:deploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(Defau ltExecutor.java:41)
      [fx:deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
      [fx:deploy] at org.apache.tools.ant.Main.runBuild(Main.java:854)
      [fx:deploy] at org.apache.tools.ant.Main.startAnt(Main.java:236)
      [fx:deploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
      [fx:deploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)

      BUILD FAILED

        Attachments

          Activity

            People

            Assignee:
            vdrozdov Victor Drozdov (Inactive)
            Reporter:
            vdrozdov Victor Drozdov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: