redhobor / yoyoplayer

Automatically exported from code.google.com/p/yoyoplayer
0 stars 0 forks source link

怎么运行报错??? #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
用 java -jar YoYoPlayer.jar 这个命令试一试,你缺少了启动参数。

Original comment by guanming...@gmail.com on 14 Jun 2010 at 5:41

GoogleCodeExporter commented 9 years ago
晕,我试试

文档里面怎么没有说明呢?

Original comment by amoiz.sh...@gmail.com on 16 Jun 2010 at 6:31