You are not logged in.

  • Login

[Hilfe] Fehler im Log

Bitte besucht unser neues Forum unter https://forum.nitrado.net | Please visit our new Forum at https://forum.nitrado.net

Dear visitor, welcome to Nitrado.net Prepaid Gameserver Community-Support - Archiv. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

mastercake10

User / Kunde

  • "mastercake10" is male
  • "mastercake10" started this thread

Posts: 196

  • Send private message

1

Wednesday, September 18th 2013, 9:04pm

Fehler im Log

Hallo, mein Plugin ist nun endlich fertig. Jedoch funktioniert es nicht auf meinem haupt-Server...

Der "Computer" sagt nein:

Spoiler Spoiler

2013-09-18 20:37:08 [SEVERE] Could not load 'plugins/pferde.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: de/linus122/pferde/pferde : Unsupported major.minor version 51.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugins(CraftServer.java:239)
at org.bukkit.craftbukkit.v1_6_R2.CraftServer.<init>(CraftServer.java:217)
at net.minecraft.server.v1_6_R2.PlayerList.<init>(PlayerList.java:56)
at net.minecraft.server.v1_6_R2.DedicatedPlayerList.<init>(SourceFile:11)
at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.java:106)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:391)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.lang.UnsupportedClassVersionError: de/linus122/pferde/pferde : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
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 org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173)
... 9 more


Weiß einer was das bedeutet?

Franzi564

User / Kunde

Posts: 763

Thanks: 15

  • Send private message

2

Wednesday, September 18th 2013, 9:08pm

Ja.
Update endlich dein Java. Java 6 sollte kein Mensch mehr benutzen.
2 Möglichkeiten:
- Du kompilst dein Plugin auf deinem PC mit Java 6
- Du installierst auf deinem Server Java 7

Wenn du einen Gameserver hast, wechsle sofort den Anbieter (Der von dir ist dann wohl nicht mal fähig dazu, eine aktuelle Java Version zu installieren) und bei einem Root Server (Linux, Debian):

Source code

1
sudo apt-get install openjdk-7-jre

Bitte besucht unser neues Forum unter https://forum.nitrado.net| Please visit our new Forum at https://forum.nitrado.net