Uploaded image for project: 'IzPack'
  1. IzPack
  2. IZPACK-661

JDKPathPanel fails on console JDK path check on Mac OS X

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 4.3.4
    • Fix Version/s: 4.3.4, 5.0
    • Component/s: Panels
    • Labels:
      None
    • Environment:

      Mac OS X and Java 1.6.0

      Description

      Running a console version, when you select a valid JDK path (or even default, which due to this check is blank) the following error appears:

      "Path /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/ is not valid."

      According to JDKPathPanelConsoleHelper ( http://git.codehaus.org/gitweb.cgi?p=izpack.git;a=blob;f=izpack-panel/src/main/java/com/izforge/izpack/panels/jdkpath/JDKPathPanelConsoleHelper.java;h=69608c1f35e50c67d98d7b693ebe801228509b6d;hb=cb3628f4dd9b80b6953a10a4c8bb06c33ed645d1 ) this occurs due an existence check for lib/tools.jar file. In Mac OS X, JVM has its own structure, and this file does not exist.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              julienponge Julien Ponge
              Reporter:
              samuelgarcíamartínez Samuel García Martínez
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: