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

Unsupported version 52.0? #1082

Closed
OverByThere opened this Issue Jan 30, 2016 · 3 comments

Comments

5 participants
@OverByThere

OverByThere commented Jan 30, 2016

I get the following when trying to launch the latest (3.11) version:

gitbucket@c2:~$ /usr/bin/java -jar /home/gitbucket/gitbucket.war --port=8082
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/jetty/server/Handler : Unsupported major.minor version 52.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    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 java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2625)
    at java.lang.Class.getMethod0(Class.java:2866)
    at java.lang.Class.getMethod(Class.java:1676)
    at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)

Java version:

gitbucket@c2:~$ java -version
java version "1.7.0_91"
OpenJDK Runtime Environment (IcedTea 2.6.3) (7u91-2.6.3-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode

Any ideas?

@McFoggy

This comment has been minimized.

Show comment
Hide comment
@McFoggy

McFoggy Jan 30, 2016

Member

try with a JDK 8

Member

McFoggy commented Jan 30, 2016

try with a JDK 8

@aadrian

This comment has been minimized.

Show comment
Hide comment
@aadrian

aadrian Jan 30, 2016

Member

We also has so far a better experience and less problems with the Sun/Oracle JDK instead of the "open" one.

Member

aadrian commented Jan 30, 2016

We also has so far a better experience and less problems with the Sun/Oracle JDK instead of the "open" one.

@ritschwumm

This comment has been minimized.

Show comment
Hide comment
@ritschwumm

ritschwumm Jan 30, 2016

Contributor

according to the README, gitbucket requires java 8.

Contributor

ritschwumm commented Jan 30, 2016

according to the README, gitbucket requires java 8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment