Run Java 6 file on Java 7 (or 32 bit file...) -


i tryed run .jar file on lasted java 7. received error:

could not load 'plugins/ucars.jar' in folder 'plugins' org.bukkit.plugin.invalidpluginexception: java.lang.unsupportedclassversionerror: com/useful/ucars/ucars : unsupported major.minor version 51.0 @ org.bukkit.plugin.java.javapluginloader.loadplugin(javapluginloader.java:184) @ org.bukkit.plugin.simplepluginmanager.loadplugin(simplepluginmanager.java:305) @ org.bukkit.plugin.simplepluginmanager.loadplugins(simplepluginmanager.java:230) @ org.bukkit.craftbukkit.v1_4_r1.craftserver.loadplugins(craftserver.java:239) @ org.bukkit.craftbukkit.v1_4_r1.craftserver.<init>(craftserver.java:217) @ net.minecraft.server.v1_4_r1.playerlist.<init>(playerlist.java:55) @ net.minecraft.server.v1_4_r1.dedicatedplayerlist.<init>(sourcefile:11) @ net.minecraft.server.v1_4_r1.dedicatedserver.init(dedicatedserver.java:104) @ net.minecraft.server.v1_4_r1.minecraftserver.run(minecraftserver.java:399) @ net.minecraft.server.v1_4_r1.threadserverapplication.run(sourcefile:849)     caused by: java.lang.unsupportedclassversionerror: com/useful/ucars/ucars : unsupported major.minor version 51.0 @ java.lang.classloader.defineclass1(native method) @ java.lang.classloader.defineclasscond(classloader.java:631) @ java.lang.classloader.defineclass(classloader.java:615) @ java.security.secureclassloader.defineclass(secureclassloader.java:141) @ java.net.urlclassloader.defineclass(urlclassloader.java:283) @ java.net.urlclassloader.access$000(urlclassloader.java:58) @ java.net.urlclassloader$1.run(urlclassloader.java:197) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(urlclassloader.java:190) @ org.bukkit.plugin.java.pluginclassloader.findclass0(pluginclassloader.java:80) @ org.bukkit.plugin.java.pluginclassloader.findclass(pluginclassloader.java:53) @ java.lang.classloader.loadclass(classloader.java:306) @ java.lang.classloader.loadclass(classloader.java:247) @ java.lang.class.forname0(native method) @ java.lang.class.forname(class.java:249) @ org.bukkit.plugin.java.javapluginloader.loadplugin(javapluginloader.java:173) ... 9 more 

(this craftbukkit v1.4.7 r1.0 server) plugin, .jar, not working.

if because java version not same, how can run java 6 file (?) on java 7 ?

(mac os x lion 10.7.5)

absolutely vice versa. trying run java program compiled java 7 (major.minor version 51.0) under java 6. check, version of jre use.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -