Thursday, August 30, 2007

Notes to Self

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]

No comments:

Post a Comment

Barber Shop in Chinatown

 Nowadays I loathe to have my haircut, that's why I seldom have mine cut, maybe once or twice a year. I went back to Chinatown. I could ...