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

(Mac) An .app container application with Java 1.6+ definition does not work with JDK 7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 7
    • Fix Version/s: 8
    • Component/s: deploy
    • Labels:

      Description

      There is an application that uses the Info.plist definition for Java
      applications and the javastubfile that can be used to wrap a Java
      application and make it look native.

      The attached java.1.6.app will start and quit immediately when run
      with Java 1.6. With Java 1.7 however did get the error you can see
      in the screenshot: "No compatible version of Java 1.6+ available".

      AFAIK this should work to maintain upwards compatibility of the
      "JVMVersion" flag in the Info.plist file.
      This problem would occur with every application because
      the 1.6+ seems not match the 1.7.

      The setup for the application at
      http://download.inetsoftware.de/clear-reports-free-latest.dmg

      The application start fine if starts with Java on command line directly,
      but you would see the error when double click to start the application

      The problem is that the OSX launcher (.app directory) can not find the
      Java VM with the needed version. It looks like that the Java VM is not
      registered correctly in the OS. It is not a problem of the Java VM self.
      It is a problem of the Java setup.

        Attachments

          Activity

            People

            Assignee:
            skovatch Scott Kovatch (Inactive)
            Reporter:
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: