新下载ActiveMQ5.15.2启动之后:

STATUS | wrapper | 2017/12/01 10:07:06 | --> Wrapper Started as Console
STATUS | wrapper | 2017/12/01 10:07:06 | Launching a JVM...
INFO | jvm 1 | 2017/12/01 10:07:07 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2017/12/01 10:07:07 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
INFO | jvm 1 | 2017/12/01 10:07:07 | 
INFO | jvm 1 | 2017/12/01 10:07:07 | WrapperSimpleApp: Unable to locate the class org.apache.activemq.console.Main: java.lang.UnsupportedClassVersionError: org/apache/activemq/console/Main : Unsupported major.minor version 52.0
INFO | jvm 1 | 2017/12/01 10:07:07 | 
INFO | jvm 1 | 2017/12/01 10:07:07 | WrapperSimpleApp Usage:
INFO | jvm 1 | 2017/12/01 10:07:07 | java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
INFO | jvm 1 | 2017/12/01 10:07:07 | 
INFO | jvm 1 | 2017/12/01 10:07:07 | Where:
INFO | jvm 1 | 2017/12/01 10:07:07 | app_class: The fully qualified class name of the application to run.
INFO | jvm 1 | 2017/12/01 10:07:07 | app_arguments: The arguments that would normally be passed to the
INFO | jvm 1 | 2017/12/01 10:07:07 | application.
STATUS | wrapper | 2017/12/01 10:07:10 | <-- Wrapper Stopped
STATUS | wrapper | 2017/12/01 10:07:33 | ActiveMQ installed.

 

WrapperSimpleApp: Unable to locate the class org.apache.activemq.console.Main: java.lang.UnsupportedClassVersionError: org/apache/activemq/console/Main : Unsupported major.minor version 52.0

 

找到原因,是因为jdk版本较低,我电脑上使用的jdk1.7,替换为jdk1.8之后就没有问题可以正常启动了。

 

 

发表评论