LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem in installing jap (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-installing-jap-417665/)

Screener 02-20-2006 02:37 PM

problem in installing jap
 
i have got jap.jar

i'v tryed java -jar jap.jar

and this is what i got
Quote:

Failed to load Main-Class manifest attribute from JAP.jar
what should i do ?

thanx

Screener 02-20-2006 02:43 PM

i got to make it work in the terminal it's not JAP it was jap

but i got this
Quote:

screener@DS:~/jap$ java -jar jap.jar
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java. awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib/libgcj.so.6.0.0)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment() (/usr/lib/libgc j.so.6.0.0)
at java.awt.Window.Window(java.awt.Window, java.awt.GraphicsConfiguration) (/ usr/lib/libgcj.so.6.0.0)
at java.awt.Window.Window(java.awt.Frame) (/usr/lib/libgcj.so.6.0.0)
at jap.JAPSplash.JAPSplash(java.awt.Frame) (Unknown Source)
at JAP.startJAP() (Unknown Source)
at JAP.main(java.lang.String[]) (Unknown Source)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit no t found in gnu.gcj.runtime.SystemClassLoader{urls=[file:jap.jar,file:./], parent =gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.6. 0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgc j.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0. 0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib/libgcj.so.6.0.0)
...8 more
how do i run the software ??

i tryed jap in the run aplecation . . . nothing

any kind of help is wellcome

thanx

Screener 02-20-2006 02:48 PM

sorry

i'm running on ubuntu 5.10

thanx

Screener 02-23-2006 03:37 AM

i got jap to run :)

i just wanted to know how can i add it to the menu??

or how can i make a script to run it ?

and where can i get an icon for it ?


thanx

screener


All times are GMT -5. The time now is 01:12 AM.