glassfish
  1. glassfish
  2. GLASSFISH-9692

(RN) Installer fails to recognize JDK 1.6 on MacOS

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: v2.1.1
    • Fix Version/s: None
    • Component/s: installation
    • Labels:
      None
    • Environment:

      Operating System: Mac OS X
      Platform: Macintosh

      Description

      While installing on MacOS 10.5.x and having the Java Preferences set to JDK 1.6,
      the installer fails to recognize the settings. When the server (asadmin
      start-domain), it is done using JDK 1.5. Closer examination shows the
      asenv.conf (<install directory>/config/asenv.conf) file has the following value

      AS_JAVA="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home"

      While the system has
      $ echo $JAVA_HOME
      /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home

      $ $ java -version
      java version "1.6.0_15"
      Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)
      Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)

      and the Java Preferences (Macintosh HD -> Applications -> Utilities -> Java
      Preferences) is set to Java SE 6 in the Java Applications frame.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            scatari
            Reporter:
            Alex Pineda
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: