You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Vitor Borrego (JIRA)" <ji...@apache.org> on 2016/01/11 11:27:39 UTC

[jira] [Created] (AMQ-6119) Binary activemq from activemq-5.13.0-bin.tar.gz does not run with JDK 1.6

Vitor Borrego created AMQ-6119:
----------------------------------

             Summary: Binary activemq from activemq-5.13.0-bin.tar.gz does not run with JDK 1.6
                 Key: AMQ-6119
                 URL: https://issues.apache.org/jira/browse/AMQ-6119
             Project: ActiveMQ
          Issue Type: Improvement
    Affects Versions: 5.13.0
         Environment: CentOS release 6.5 (Final) (64-bit)

            Reporter: Vitor Borrego
            Priority: Minor


When running the binary activemq in console mode from  apache-activemq-5.13.0-bin.tar.gz in a server with jdk 1.6 it shows the error Unsupported major.minor version 51.0.

According to the documentation on the ActiveMQ site it's supposed to run with JDK 1.6

Output generated while running ./activemq console below 

 ./activemq console
INFO: Loading '/tmp/apache-activemq-5.13.0//bin/env'
INFO: Using java '/usr/java/jdk1.6.0_27//bin/java'
INFO: Starting in foreground, this is just for debugging purposes (stop process by pressing CTRL+C)
INFO: Creating pidfile /tmp/apache-activemq-5.13.0//data/activemq.pid
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/activemq/console/Main : 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)
Could not find the main class: org.apache.activemq.console.Main. Program will exit.









--
This message was sent by Atlassian JIRA
(v6.3.4#6332)