Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Works as designed
    • Affects Version/s: 4.0_b88_RC4
    • Fix Version/s: None
    • Component/s: jms
    • Labels:
      None
    • Environment:

      MAC OS 10.8.3, JDK 1.7

    • Tags:

      Description

      new-host:bin yfain11$ pwd
      /Users/yfain11/Downloads/glassfish4/mq/bin
      new-host:bin yfain11$ ./imqbrokerd
      Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sun/messaging/jmq/jmsserver/Broker : Unsupported major.minor version 51.0
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
      at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      new-host:bin yfain11$

        Issue Links

          Activity

          Hide
          saradak added a comment -

          By default, the imq* commands check in the following locations for jdk on Mac.
          /Library/Java/Home
          /usr

          If it is not installed here, user need to specify -javahome <javahome> or set IMQ_JAVAHOME to start the broker.

          Also see https://java.net/jira/browse/MQ-286 which is related to this.

          Show
          saradak added a comment - By default, the imq* commands check in the following locations for jdk on Mac. /Library/Java/Home /usr If it is not installed here, user need to specify -javahome <javahome> or set IMQ_JAVAHOME to start the broker. Also see https://java.net/jira/browse/MQ-286 which is related to this.
          Hide
          Nigel Deakin added a comment -

          Marking the issue as resolved since we've verified that the product works as designed. However if you still have difficulties please ask in the GlassFish forum at https://www.java.net/forums/glassfish/glassfish

          Show
          Nigel Deakin added a comment - Marking the issue as resolved since we've verified that the product works as designed. However if you still have difficulties please ask in the GlassFish forum at https://www.java.net/forums/glassfish/glassfish
          Hide
          yfain added a comment -

          This is how I fixed this issue on my Mac OS Mavericks/JDK 1.7_45

          1. export JAVA_HOME=`/usr/libexec/java_home`

          2. ./imqbrokerd -javahome $JAVA_HOME

          Show
          yfain added a comment - This is how I fixed this issue on my Mac OS Mavericks/JDK 1.7_45 1. export JAVA_HOME=`/usr/libexec/java_home` 2. ./imqbrokerd -javahome $JAVA_HOME

            People

            • Assignee:
              Nigel Deakin
              Reporter:
              yfain
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: