s3a
January 9th, 2010, 08:17 AM
First of all, I'm purposely avoiding the repositories. I'm not interested in the program itself but the fact that it is written in Java. (maybe I will be interested in it when I use it)
I renamed the .jar file I downloaded as "az.jar" without the quotes and placed it on my desktop.
Here is my problem:
deniz@debian:~$ cd Desktop
deniz@debian:~/Desktop$ java -jar az.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.ParseException
at java.net.URLClassLoader$1.run(URLClassLoader.java: 217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 19)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 64)
Could not find the main class: org.gudy.azureus2.ui.common.Main. Program will exit.
deniz@debian:~/Desktop$
Why am I getting this message and what can I do about it?
Any help would be greatly appreciated!
Thanks in advance!
P.S.
Running my own (basic) program that I made and saved as a .jar file works so I assumed this would work too and was actually shocked when it didn't.
I renamed the .jar file I downloaded as "az.jar" without the quotes and placed it on my desktop.
Here is my problem:
deniz@debian:~$ cd Desktop
deniz@debian:~/Desktop$ java -jar az.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.ParseException
at java.net.URLClassLoader$1.run(URLClassLoader.java: 217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 19)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 64)
Could not find the main class: org.gudy.azureus2.ui.common.Main. Program will exit.
deniz@debian:~/Desktop$
Why am I getting this message and what can I do about it?
Any help would be greatly appreciated!
Thanks in advance!
P.S.
Running my own (basic) program that I made and saved as a .jar file works so I assumed this would work too and was actually shocked when it didn't.