java运行时环境中的Animation.jar

时间:2016-04-29 11:27:07

标签: java

我正在使用netbeans IDE。我已经在我的项目中导入了animation.jar以获得更好的gui体验,如果我在netbeans中执行它,它工作正常。但是,在我编译并构建项目之后。我复制了dist文件夹到桌面和运行我的项目动画不再运行请帮助我,提前谢谢,抱歉英语不好。

1 个答案:

答案 0 :(得分:0)

这是我使用launch4j将其转换为.exe app后的错误。我把它捆绑在jre6..in jre1.8 ir最新jre问题是我的切换图标不起作用..

Executing: C:\Users\syracuse\Desktop\dist\Alumni.exe Exception in thread "main" java.lang.UnsupportedClassVersionError: AppPackage/AnimationClass : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at sun.misc.Launcher$ExtClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at alumni.login.<init>(login.java:28) at alumni.Alumni.main(Alumni.java:18)