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

JavaFX launcher .exe doesn't work properly when trying to use the Current JRE instead of an embedded one.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P4
    • 8u20
    • 7u45, 8
    • deploy
    • Windows 7 64-bit
      Java 7u45
      Java 8b121

    Description

      Build a JavaFX app with Java 7u45 and deploy an application image.
      Remove any "runtime" directory from the image so the Current JRE is used.

      If you try to run the launcher .exe with Java 8 installed as the current JRE, this results in a dialog stating:

      "This application requires a newer version of the Java runtime. Please download and install the latest Java runtime from java.com. Then restart the application."

      Rebuild the application with JDK 8 (remove runtime folder again if needed). The Java 8 launcher stub is able to load the application.

      Change the Current Java Runtime to 1.7 in the windows registry and then the Java8-created launcher claims "no main class" "failed to launch JVM"

      (Application was compiled with target 1.7 in both cases.)

      Attachments

        Activity

          People

            shemnon Danno Ferrin (Inactive)
            swpalmer Scott Palmer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: