What steps will reproduce the problem?
1. Just run "java NAME.jar"
2. ERROR occur.
What is the expected output? What do you see instead?
出现界面.
报错,终端输出:
sharl@sharl-laptop:~/YOYOPlayer1.2$ ls
lib YOYOPlayer.jar
sharl@sharl-laptop:~/YOYOPlayer1.2$ java *.jar
Exception in thread "main" java.lang.NoClassDefFoundError: YOYOPlayer/jar
Caused by: java.lang.ClassNotFoundException: YOYOPlayer.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: YOYOPlayer.jar. Program will exit.
What version of the product are you using? On what operating system?
YOYOPlayer1.2 on ubuntu 10.04 desktop.
Please provide any additional information below.
无.
Original issue reported on code.google.com by amoiz.sh...@gmail.com on 8 May 2010 at 11:43
Original issue reported on code.google.com by
amoiz.sh...@gmail.com
on 8 May 2010 at 11:43