activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Gemmell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-6119) Binary activemq from activemq-5.13.0-bin.tar.gz does not run with JDK 1.6
Date Mon, 11 Jan 2016 13:06:39 GMT

    [ https://issues.apache.org/jira/browse/AMQ-6119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091871#comment-15091871
] 

Robbie Gemmell commented on AMQ-6119:
-------------------------------------

Ok great. I don't currently have permissions to edit the page myself, but either someone who
does can edit it or I'll update it once I can.

> 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)

Mime
View raw message