This article is a mirror article of machine translation, please click here to jump to the original article.

View: 10855|Reply: 0

ActiveMQ5.15.3 fails to start, and UnsupportedClassVersionError is reported

[Copy link]
Posted on 3/25/2018 9:05:08 PM | | | |
The Wrapper log reads:

STATUS | wrapper  | 2018/03/25 20:51:48 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2018/03/25 20:51:48 | Launching a JVM...
INFO   | jvm 1    | 2018/03/25 20:51:48 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2018/03/25 20:51:48 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2018/03/25 20:51:48 |
INFO   | jvm 1    | 2018/03/25 20:51:48 | 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    | 2018/03/25 20:51:48 |
INFO   | jvm 1    | 2018/03/25 20:51:48 | WrapperSimpleApp Usage:
INFO   | jvm 1    | 2018/03/25 20:51:48 |   java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
INFO   | jvm 1    | 2018/03/25 20:51:48 |
INFO   | jvm 1    | 2018/03/25 20:51:48 | Where:
INFO   | jvm 1    | 2018/03/25 20:51:48 |   app_class:      The fully qualified class name of the application to run.
INFO   | jvm 1    | 2018/03/25 20:51:48 |   app_arguments:  The arguments that would normally be passed to the
INFO   | jvm 1    | 2018/03/25 20:51:48 |                   application.
STATUS | wrapper  | 2018/03/25 20:51:51 | <-- Wrapper Stopped



Find the reason, because the JDK version is low, the server uses JDK 1.7, after uninstalling, there is no problem after installing JDK 1.8 can start normally.

The command is as follows:

--Check the JDK for CentOS installation


--uninstall




--Install JDK version 1.8



Problem solved!

Finally, attached is the installation tutorial:
Centos 6.2 64-bit installation activemq tutorial
http://www.itsvse.com/thread-4616-1-1.html
(Source: Architect_Programmer)







Previous:CentOS installed Redis 4.0.8
Next:Centos 6.2 64-bit installation activemq tutorial
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com