IzPack
  1. IzPack
  2. IZPACK-661

JDKPathPanel fails on console JDK path check on Mac OS X

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • 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
    • Number of attachments :
      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.

        Activity

        Hide
        Samuel García Martínez added a comment -

        Related to IZPACK-636

        Show
        Samuel García Martínez added a comment - Related to IZPACK-636
        Hide
        Julien Ponge added a comment -

        I am closing the issue as a linked issue is resolved.

        Show
        Julien Ponge added a comment - I am closing the issue as a linked issue is resolved.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: