kharaziamir / desktopsms

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

MainGUI.jar doesn't work on linux #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.launch MainGUI.jar
2.command use : java ./MainGUI.jar 
3.

What is the expected output? What do you see instead?

there is a error message  :
Exception in thread "main" java.lang.NoClassDefFoundError: 
//Downloads/MainGUI/jar
Caused by: java.lang.ClassNotFoundException: ..Downloads.MainGUI.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: ./Downloads/MainGUI.jar.  Program will exit.

What version of the product are you using? On what operating system?

 I'm using Archlinux

Please provide any additional information below.

Original issue reported on code.google.com by benoit.f...@gmail.com on 12 Jun 2010 at 7:03

GoogleCodeExporter commented 9 years ago
Someone tell me a solution, use : "java -jar MainGUI.jar" and it's work. Maybe 
can we close the issue ? (I don't know how to do that)

Original comment by benoit.f...@gmail.com on 12 Mar 2011 at 4:47

GoogleCodeExporter commented 9 years ago
Confirmed, same errors here.

Original comment by maciej.l...@gmail.com on 14 Nov 2011 at 11:58

GoogleCodeExporter commented 9 years ago
You have to use the command posted above "java -jar MainGUI.jar if you just 
open the .jar with the Java-Application it can´t find the Main Class

Original comment by dess.ale...@gmail.com on 16 Jan 2012 at 4:31