Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install Apache ActiveMQ on OS X 10.11.5 (El Capitan) #1

Open
Isuru-Nanayakkara opened this issue Jul 6, 2016 · 0 comments
Open

Comments

@Isuru-Nanayakkara
Copy link

I'm trying to do the first exercise. In order to do that, I'm installating Apache ActiveMQ. However when I run ./bin/activemq create ~/mobilewebmsg/mybroker command, I get a Unsupported major.minor version error. Full error message below.

INFO: Loading '/Users/Admin/Developer/Web/MQTT/apache-activemq-5.13.3//bin/env'
INFO: Using java '/System/Library/Frameworks/JavaVM.framework/Home/bin/java'
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:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
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)

I installed the latest JDK 8 version. javac -version shows the installed version as javac 1.8.0_91.

How can I resolve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant