I've installed Graylog using the instructions on the Graylog website:

$ sudo rpm -Uvh 
https://packages.graylog2.org/repo/packages/graylog-2.0-repository_latest.rpm
$ sudo yum install graylog-server

I attempt to start the server with:

$ sudo service graylog-server start

This gives the error:

Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/graylog2/bootstrap/Main : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at 
sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

This error indicates that it requires a JRE 8.

The documents I can find indicate that Graylog 2 should work with Java 7.  

* Is the documentation right, and this was a failure in the release process?
* Is there a Java 7 specific build I need to install?
* Is the documentation wrong, and does Graylog now require Java 8? 
* Do I need to Graylog 2 from source using Java 7?

-jeff

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/91d69379-0940-4949-b277-aa51e603711a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to