Scriptation Posted December 8, 2015 Share Posted December 8, 2015 could t post in client bugs? getting this error on vps.. running ubuntu root@Scriptation:~/Desktop/osbot# java -jar osbot.jarException in thread "main" java.lang.UnsupportedClassVersionError: org/osbot/Boot : 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 sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)root@Scriptation:~/Desktop/osbot# Link to comment Share on other sites More sharing options...
Novak Posted December 8, 2015 Share Posted December 8, 2015 what java do u have installed? Link to comment Share on other sites More sharing options...
Deceiver Posted December 8, 2015 Share Posted December 8, 2015 could t post in client bugs? getting this error on vps.. running ubuntu root@Scriptation:~/Desktop/osbot# java -jar osbot.jar Exception in thread "main" java.lang.UnsupportedClassVersionError: org/osbot/Boot : 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 sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482) root@Scriptation:~/Desktop/osbot# client bug threads need approval from devs Link to comment Share on other sites More sharing options...
Flamezzz Posted December 8, 2015 Share Posted December 8, 2015 Yeah ur running with java < 8, confirm you're using the correct one by running java -version. Link to comment Share on other sites More sharing options...
Scriptation Posted December 8, 2015 Author Share Posted December 8, 2015 jaca version root@Scriptation:~/Desktop/osbot# java -versionjava 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) how do i uppdate? Link to comment Share on other sites More sharing options...
Apaec Posted December 8, 2015 Share Posted December 8, 2015 jaca version root@Scriptation:~/Desktop/osbot# 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) how do i uppdate? woah, you're VERY out of date. http://java.com/en/ ~apa Link to comment Share on other sites More sharing options...
Scriptation Posted December 9, 2015 Author Share Posted December 9, 2015 woah, you're VERY out of date. http://java.com/en/ ~apa How do I download and install on Linux.. I'm new to linux sorry Link to comment Share on other sites More sharing options...
Novak Posted December 9, 2015 Share Posted December 9, 2015 if ur on linux u might wanna consider openjdk for java 8 Link to comment Share on other sites More sharing options...
Flamezzz Posted December 9, 2015 Share Posted December 9, 2015 I think this worked for me, openjdk stuff failedsudo add-apt-repository ppa:webupd8team/javasudo apt-get updatesudo apt-get install oracle-java8-installer 1 Link to comment Share on other sites More sharing options...
Scriptation Posted December 9, 2015 Author Share Posted December 9, 2015 Got it working guys thanks Link to comment Share on other sites More sharing options...