Re: [Java-gnome-developer] About Dialog
Brought to you by:
afcowie
From: Andrew <ac...@on...> - 2003-12-07 18:25:37
|
Luca De Rugeriis wrote: > Il sab, 2003-12-06 alle 21:30, Andrew ha scritto: > >>ListenerDelegate.fireEvent(org.gnu.gtk.event.MenuItemEvent[source=org.gnu.gtk.MenuItem@aeffdf,id=ACTIVATE]): >>java.lang.UnsatisfiedLinkError: gnome_about_new >>java.lang.UnsatisfiedLinkError: gnome_about_new >> at org.gnu.gnome.About.gnome_about_new(Native Method) >> at org.gnu.gnome.About.<init>(About.java:58) > > I must admit I never used glade to make an about dialog, in fact the > CroMagnon about dialog was done without glade. However it seems an > installation/compilation problem. The LD_LIRARY_PATH should point to > /usr/local/lib (in your setup) and CLASSPATH should point to > /usr/local/share/java-gnome/{gtk.jar, gnome.jar, glade.jar}. > It seems that you have compiled with gnome support, cause your files are > big enough, so maybe you have upgraded the library and forgot to run > ldconfig? Also which jdk are you using? Also, as Mark said, make sure > you have stock gnome libraries in the path. > It could be a java-gnome bug too, if you want you can report the bug on > sourceforge bug-tracker. > > Let me know if you have further problems with the fileselector too. > If you are interested in CroMagnon, I suggest to grab the latest cvs > version: an upgraded functional CroMagnon was checked in few days ago. > I'll be glad to have comments on this ;) > > Luca. > Hi, I am about to go on holidays, but will probably work a bit on it with my laptop. The About window is not a glade window, it is a default gtk window. The reason I'm confused about it not working in my application is because it works when I run the CroMagnom application from eclipse, in exactly the same manner. I have the jar files in /usr/local/share/java-gnome I have also copied those files to a local directory to the project and tried. The LD_LIBRARY_PATH is set to /usr/local/lib as I previously pointed out. I am using jdk1.4.2_01 -- [A n d r e w] ------|------ |