Return-Path: X-Original-To: apmail-activemq-issues-archive@minotaur.apache.org Delivered-To: apmail-activemq-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0895318CF5 for ; Mon, 11 Jan 2016 13:06:40 +0000 (UTC) Received: (qmail 18044 invoked by uid 500); 11 Jan 2016 13:06:39 -0000 Delivered-To: apmail-activemq-issues-archive@activemq.apache.org Received: (qmail 18009 invoked by uid 500); 11 Jan 2016 13:06:39 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 17997 invoked by uid 99); 11 Jan 2016 13:06:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2016 13:06:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C0CA22C0453 for ; Mon, 11 Jan 2016 13:06:39 +0000 (UTC) Date: Mon, 11 Jan 2016 13:06:39 +0000 (UTC) From: "Robbie Gemmell (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-6119) Binary activemq from activemq-5.13.0-bin.tar.gz does not run with JDK 1.6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)