Git Product home page Git Product logo

Comments (10)

jagrosh avatar jagrosh commented on June 19, 2024

Do you have JDK 1.8 installed (check with java -version)

from selfbot.

tandpfun avatar tandpfun commented on June 19, 2024

java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)

nope. How do you get it?

from selfbot.

tandpfun avatar tandpfun commented on June 19, 2024

I figured it out, but I still got the same error.

from selfbot.

tandpfun avatar tandpfun commented on June 19, 2024

Exception in thread "main" java.lang.UnsupportedClassVersionError: jselfbot/JSelfBot : Unsupported major.minor version 52.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)

from selfbot.

spotlightishere avatar spotlightishere commented on June 19, 2024

Double check that java -version says version 1.8.0 or similar - if it doesn't, you're probably still using JDK 1.6.0. If you don't have any program using 1.6, you can probably uninstall that version.

from selfbot.

tandpfun avatar tandpfun commented on June 19, 2024

i checked the version again, and it is old. IDK why it didn't update. I got it from the java.com website

from selfbot.

tandpfun avatar tandpfun commented on June 19, 2024

how do u uninstall it?

from selfbot.

spotlightishere avatar spotlightishere commented on June 19, 2024

Read https://java.com/en/download/help/uninstall_java.xml for some more information on that.

from selfbot.

tandpfun avatar tandpfun commented on June 19, 2024

I can't sudo, is there any other way?

from selfbot.

spotlightishere avatar spotlightishere commented on June 19, 2024

Ah, are you using something Linux? You'd want to use your package manager (i.e yum, apt) to uninstall Java from there.

It's probably best to search how to install JDK 1.8, for example in Ubuntu you may want to use webupd8team's PPA (see http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html for more information).

Without sudo, it's much harder to install and use. You may want to ask whoever manages the system to install that for you.

from selfbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.