Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5608

Revert hard coded v1.7 jdk for darwin in karaf launch script introduced via KARAF-2921

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.2.1, jboss-fuse-6.3
    • Fix Version/s: jboss-fuse-6.3
    • Component/s: Karaf
    • Labels:
      None
    • Environment:

      OS X 10.11.3

    • Sprint:
      Sprint 5 - towards ER2

      Description

      As per KARAF-2921 The karaf script in jboss-fuse-full-6.2.1.redhat-107.zip is hard-coded to use Java 1.7 on Darwin/MacOS.

      See line 201 of karaf script in bin directory:

      201 if [ "x$JAVA_HOME" = "x" ] && [ "$darwin" = "true" ]; then
      202 JAVA_HOME="$(/usr/libexec/java_home -v 1.7)"

      expected:

      either:

      201 if [ "x$JAVA_HOME" = "x" ] && [ "$darwin" = "true" ]; then
      202 JAVA_HOME="$(/usr/libexec/java_home -v 1.8)"

      or:

      201 if [ "x$JAVA_HOME" = "x" ] && [ "$darwin" = "true" ]; then
      202 #JAVA_HOME="$(/usr/libexec/java_home -v)"

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                oscerd Andrea Cosentino
                Reporter:
                roddiekieley Roddie Kieley
                Tester:
                Matej Melko
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: