UnsupportedClassVersionError

Discussion in 'Plugin Development' started by will181, Aug 29, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    will181

    So I recently made a little plugin for my server, but whenever I load it it doesn't work and the following message appears in the console:

    [Server] WARN org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/swordrin/plugins/will181/NoFallForEver/Main : Unsupported major.minor version 52.0

    I had a look online and found out it was to do with the version of Java I was using. As a result, I turned down my Languege Level in IntelliJ to 6.0 but it doesn't seem to fix it. By default, my IntelliJ projects are set to JDK 8.0
     
  2. Offline

    Konato_K

  3. Offline

    teej107

  4. Offline

    will181

    I changed the Project Language Level. Do I need to change the actual SDK file there too?
     
  5. Offline

    teej107

  6. Offline

    Konato_K

    @teej107 Ahhh, my bad, I see many of this questions and to be honest I don't really read them entirely.
     
  7. Offline

    will181

Thread Status:
Not open for further replies.

Share This Page