To Run Jar File
Ubuntu 7.04 has already JRE 1.4.2 installed but no go running a JAR file, gave me
java.awt.AWTError: Cannot loadAWT tookkit: gnu.java.awt.peer.gtk.GtkToolkit
....
Go to Application Add/Remove, Search Java for All available applications...
Download and install Sun Java 5.p Runtime.
$ java -jar some .jar
some's GUI comes out. It worked.
[just like most other things, I don't know why, but as long as I can get it to work, I am happy, if I know why that's better but I am not pushing it]
0 comments:
Post a Comment