java-gnome-developer Mailing List for The java-gnome language bindings project (Page 67)
Brought to you by:
afcowie
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(37) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(2) |
Feb
(20) |
Mar
(20) |
Apr
(8) |
May
|
Jun
(1) |
Jul
(6) |
Aug
(39) |
Sep
(37) |
Oct
(34) |
Nov
(50) |
Dec
(22) |
2002 |
Jan
(7) |
Feb
(13) |
Mar
(32) |
Apr
(16) |
May
(26) |
Jun
(20) |
Jul
(32) |
Aug
(7) |
Sep
(2) |
Oct
(11) |
Nov
(3) |
Dec
(35) |
2003 |
Jan
(11) |
Feb
(3) |
Mar
(8) |
Apr
(3) |
May
(11) |
Jun
(20) |
Jul
(11) |
Aug
(29) |
Sep
(13) |
Oct
(91) |
Nov
(185) |
Dec
(207) |
2004 |
Jan
(108) |
Feb
(171) |
Mar
(207) |
Apr
(113) |
May
(22) |
Jun
(53) |
Jul
(69) |
Aug
(43) |
Sep
(34) |
Oct
(182) |
Nov
(101) |
Dec
(61) |
2005 |
Jan
(86) |
Feb
(45) |
Mar
(106) |
Apr
(67) |
May
(70) |
Jun
(47) |
Jul
(19) |
Aug
(34) |
Sep
(24) |
Oct
(45) |
Nov
(20) |
Dec
(58) |
2006 |
Jan
(21) |
Feb
(21) |
Mar
(16) |
Apr
(24) |
May
(24) |
Jun
(47) |
Jul
(20) |
Aug
(8) |
Sep
(13) |
Oct
(7) |
Nov
(23) |
Dec
(2) |
2007 |
Jan
|
Feb
(14) |
Mar
(3) |
Apr
(11) |
May
(1) |
Jun
(15) |
Jul
(2) |
Aug
(5) |
Sep
(10) |
Oct
(5) |
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
(13) |
Mar
(13) |
Apr
(4) |
May
(2) |
Jun
(1) |
Jul
(5) |
Aug
(7) |
Sep
(2) |
Oct
(14) |
Nov
(11) |
Dec
(12) |
2009 |
Jan
(30) |
Feb
(4) |
Mar
(16) |
Apr
(9) |
May
(9) |
Jun
(7) |
Jul
(6) |
Aug
(3) |
Sep
(14) |
Oct
(8) |
Nov
(12) |
Dec
(9) |
2010 |
Jan
(4) |
Feb
(27) |
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(13) |
Jul
(6) |
Aug
(15) |
Sep
(15) |
Oct
(12) |
Nov
(11) |
Dec
(9) |
2011 |
Jan
(12) |
Feb
(11) |
Mar
|
Apr
(3) |
May
|
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(8) |
Nov
(1) |
Dec
|
2012 |
Jan
|
Feb
(10) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(2) |
Sep
(7) |
Oct
(7) |
Nov
|
Dec
(4) |
2013 |
Jan
(8) |
Feb
(1) |
Mar
(1) |
Apr
(2) |
May
(3) |
Jun
(3) |
Jul
(16) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2014 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Hurlin <sm...@in...> - 2004-10-12 17:28:33
|
On Tuesday 12 October 2004 10:16, you wrote: Yep, that was the problem. Adding . to classpath works, thanks. > Quoting Hurlin Cl=E9ment <sm...@in...>: > > I tried to set both classpath and location of native part of the > > libraries but > > it didn't work : > > > > smelc$ CLASSPATH=3D/usr/share/java/gtk2.4.jar:/usr/share/java/gnome2.6.= jar > > smelc$ javac First.java > > smelc$ LD_LIBRAY_PATH=3D/usr/lib/jni/ > > smelc$ java First > > Exception in thread "main" java.lang.NoClassDefFoundError: First > > smelc$ java -Djava.library.path=3D/usr/li/jni First > > Exception in thread "main" java.lang.NoClassDefFoundError: First > > Now you're missing the directory with the First.class file from the > classpath. Add :. to the classpath and it should work > -- > .""`. Mark Howard > > : :" : > > `. `" http://www.tildemh.com > `- mh...@de... | mh...@ti... |
From: Jerry H. <jh...@fe...> - 2004-10-12 17:25:28
|
Yes, you heard it. I'm giving it a shot. I don't think it should be too hard, all of Gtk at least is available. The build system does suck. I have a few ideas for that now after having looked at it. Has anybody given this a shot yet? It doesn't seem that hard to me. The JNI files will be compiled against the GTK distribution that Gimp gives out, should work fine. Obvious pieces like Gconf aren't going to work. I'm looking for advice. :0 |
From: Sean C. <exc...@gm...> - 2004-10-12 17:12:39
|
Thanks for your response Mark, I appreciate your renewed effort with regards to correspondance on the java-gnome mailing list, i'm working a on and off on a few other java-gnome projects right now... most concentrating on time saving frameworks around java-gnome. I work in an XP team, and we unit test and acceptance test all our apps, i've being working on an acceptance test framework for java-gnome and look forward to telling ye guys about it when its ready. i believe it'd be the first acceptance test framework for gnome? I've also been working on an xmlGuiBuilder which ties into my HMVC framework for java-gnome for event firing and event listening, and it will allow for quite a nice seperation of domain and gui in my humble opinion. Again thanks for all your hard work, and i will add jbalor to the list of apps on the website. Sean On Sun, 10 Oct 2004 18:00:54 +0100, Mark Howard <mh...@ti...> wrote: > Hi, > > This looks like a really useful app. Excellent. > > The only list of apps at the moment is on the website. Please add your to the > new website (it's a wiki, anyone can edit it): > > http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/JavaGnomeApplications > > -- > .''`. Mark Howard > : :' : > `. `' http://www.tildemh.com > `- mh...@de... | mh...@ti... > |
From: Mark H. <mh...@ti...> - 2004-10-12 16:13:14
|
Please feel free to modify the page on the website if you think it needs better explanation. Quoting Skip Coon <sco...@gm...>: > Here, here. My thoughts as well. > > > scoon > > > On Tue, 12 Oct 2004 23:13:52 +1000, Andrew Cowie > <an...@op...> wrote: > > On Mon, 2004-11-10 at 16:19 +0300, Oleksiy Puzir wrote: > > > WHY I SHOULD USE JAVA-GNOME TO DEVELOP MY APPLICATION? > > > > Don't shout. > > > > It basically boils down to this: > > > > There is a group of people who want to write GNOME/GTK apps using Java > > in order that they can create applications that work well on Linux, > > specifically on a Gnome desktop. And we are all doing so quite happily. > > > > java-gnome a Gnome language binding. That's it. That's the job spec. > > > > Many Java developers, seeing the possibility of writing cross platform > > applications, become obsessed with writing cross-platform applications. > > It tends to mean they have trouble seeing past Swing. > > > > There are, however, many reasons why someone might want to choose NOT to > > write a cross platform application. One I can think of off the top of my > > head is "I'm an open source software developer, and could give a *beep* > > about Windows". More precisely, I am working on Gnome applications for > > Linux, and so am pleased to have a framework that allows rapid > > application development (Eclipse + Glade + Java-gnome + GCJ) of Linux > > native binaries from my preferred language, Java. > > > > As for "reasons", well, I've observed the performance of the java-gnome > > language bindings to be fine, and am certain that it will but improve > > over time. Certainly operating directly with native widgets means there > > is none of the widget emulation that Swing and SWT are forced to use. > > [SWT is a very elegant design solution, to be sure, but, well, it lacks > > a good interface designer. Glade is awesome] > > > > <shrug> > > > > AfC > > Sydney > > > > -- > > Andrew Frederick Cowie > > > > OPERATIONAL DYNAMICS > > Operations Consultants and Infrastructure Engineers > > > > http://www.operationaldynamics.com/ > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > -- .""`. Mark Howard : :" : `. `" http://www.tildemh.com `- mh...@de... | mh...@ti... |
From: Skip C. <sco...@gm...> - 2004-10-12 16:01:58
|
Here, here. My thoughts as well. scoon On Tue, 12 Oct 2004 23:13:52 +1000, Andrew Cowie <an...@op...> wrote: > On Mon, 2004-11-10 at 16:19 +0300, Oleksiy Puzir wrote: > > WHY I SHOULD USE JAVA-GNOME TO DEVELOP MY APPLICATION? > > Don't shout. > > It basically boils down to this: > > There is a group of people who want to write GNOME/GTK apps using Java > in order that they can create applications that work well on Linux, > specifically on a Gnome desktop. And we are all doing so quite happily. > > java-gnome a Gnome language binding. That's it. That's the job spec. > > Many Java developers, seeing the possibility of writing cross platform > applications, become obsessed with writing cross-platform applications. > It tends to mean they have trouble seeing past Swing. > > There are, however, many reasons why someone might want to choose NOT to > write a cross platform application. One I can think of off the top of my > head is "I'm an open source software developer, and could give a *beep* > about Windows". More precisely, I am working on Gnome applications for > Linux, and so am pleased to have a framework that allows rapid > application development (Eclipse + Glade + Java-gnome + GCJ) of Linux > native binaries from my preferred language, Java. > > As for "reasons", well, I've observed the performance of the java-gnome > language bindings to be fine, and am certain that it will but improve > over time. Certainly operating directly with native widgets means there > is none of the widget emulation that Swing and SWT are forced to use. > [SWT is a very elegant design solution, to be sure, but, well, it lacks > a good interface designer. Glade is awesome] > > <shrug> > > AfC > Sydney > > -- > Andrew Frederick Cowie > > OPERATIONAL DYNAMICS > Operations Consultants and Infrastructure Engineers > > http://www.operationaldynamics.com/ > > > |
From: Andrew C. <an...@op...> - 2004-10-12 15:02:16
|
I'm writing something that is mostly doing a lot of hard work in the background; the GUI is just there to report status. Obviously I'm going to be updating a Gtk.ProgressBar as I go. The question I have is how best to structure such a program? Event driven programs, of course, get kicked off when Gtk.main() gets called, at which point you "loose" the conventional thread of execution. Should I be starting a new thread, just before the call to start the main loop, to do all the work, and then just update the ProgressBar and Labels as necessary from there? In fact, other than someone hitting "Cancel" there are no [user] events that I'm expecting. For some reason Gtk.mainIteration() comes to mind, but I'm not sure how that fits in with main()'s loop. Any pointers? [Either java-gnome or GTK best-practice or...] AfC Sydney --=20 Andrew Frederick Cowie OPERATIONAL DYNAMICS Operations Consultants and Infrastructure Engineers http://www.operationaldynamics.com/ |
From: Mark H. <mh...@ti...> - 2004-10-12 13:40:28
|
A bugzilla backend to debbuggtk would be excellent. Bugzilla has quite a nice xml interface, so it should be really easy to access that. The problem is that debbuggtk is very much debbugs specific at the moment and is also not writen particularly well. Adding bugzilla support would give me a chance to make a few important design changes which debbuggtk desperately needs and as you say it would be extremely useful (I only know of one other bugzilla viewer - that was written in xul and when I tried it, it wasn't very impressive) I guess the short answer is that I'd love to add bugzilla support to debbuggtk and make it into a flgship application for java-gnome. Unfortunately at the moment I really don't have time to do that, especially not on my own. I might start drafting some designs for it though. I'm interested again. -- .""`. Mark Howard : :" : `. `" http://www.tildemh.com `- mh...@de... | mh...@ti... |
From: Luca De R. <pie...@fa...> - 2004-10-12 13:20:20
|
Mark, I've always had in mind that an official j-g application would be great to demonstrate concretely what j-g can do. AFAICT the most maintained and active j-g app is debuggtk. I've always thought if it's designed in a way that it's easy to add new backends, namely I've always thought about a bugzilla backend. Now that we use bugzilla, would be great if sometime in the future we'll have a team developed app that we find useful too. I've read that bugzilla makes extensive use of perl. Do you think there will be a way to use it from java? What do you think about this long-time proposal? -- Luca De Rugeriis <pie...@fa...> |
From: Andrew C. <an...@op...> - 2004-10-12 13:14:39
|
On Mon, 2004-11-10 at 16:19 +0300, Oleksiy Puzir wrote: > WHY I SHOULD USE JAVA-GNOME TO DEVELOP MY APPLICATION? Don't shout. It basically boils down to this: There is a group of people who want to write GNOME/GTK apps using Java in order that they can create applications that work well on Linux, specifically on a Gnome desktop. And we are all doing so quite happily. java-gnome a Gnome language binding. That's it. That's the job spec.=20 Many Java developers, seeing the possibility of writing cross platform applications, become obsessed with writing cross-platform applications. It tends to mean they have trouble seeing past Swing. There are, however, many reasons why someone might want to choose NOT to write a cross platform application. One I can think of off the top of my head is "I'm an open source software developer, and could give a *beep* about Windows". More precisely, I am working on Gnome applications for Linux, and so am pleased to have a framework that allows rapid application development (Eclipse + Glade + Java-gnome + GCJ) of Linux native binaries from my preferred language, Java. As for "reasons", well, I've observed the performance of the java-gnome language bindings to be fine, and am certain that it will but improve over time. Certainly operating directly with native widgets means there is none of the widget emulation that Swing and SWT are forced to use. [SWT is a very elegant design solution, to be sure, but, well, it lacks a good interface designer. Glade is awesome] <shrug> AfC Sydney --=20 Andrew Frederick Cowie OPERATIONAL DYNAMICS Operations Consultants and Infrastructure Engineers http://www.operationaldynamics.com/ |
From: Luca De R. <pie...@fa...> - 2004-10-12 12:57:12
|
Il giorno lun, 11-10-2004 alle 16:19 +0300, Oleksiy Puzir ha scritto: > Hi ladies and gents. > > On Sun, 2004-10-10 at 19:50, Mark Howard wrote: > > Hi, > > > > Sorry for taking so long to reply. > > The following page should help answer your question: > > http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/WhyJavaGnome > > > > Well, I've read these article very attentively. But it didn't tell me: > WHY I SHOULD USE JAVA-GNOME TO DEVELOP MY APPLICATION? > Here just the minuses: why should I leech to external native libraries > (libgnome and others)? > Just because java-gnome is good but <quote>Very few people say that > about swing.</quote>? > Swing with its MVC-architecture is well designed and formed > cross-platform library. > I think that in fact development of java-gnome is a sort of game. Very > interesting. But nobody need it really. So finally you have your position. Now, come to play or don't whine please. -- Luca De Rugeriis <pie...@fa...> |
From: Luca De R. <pie...@fa...> - 2004-10-12 11:11:55
|
Il giorno mar, 12-10-2004 alle 18:15 +0800, =E5=88=98=E9=94=A6=E6=A0=87 h= a scritto: > hello,I want to study java-gnome,but I have some puzzled problems. > is java-gnome superior to gtkmm(the C++ implement of gtk+) in performan= ce? > And can anyone help me compare their advantage and disadvantage > (including their performance)among java-gnome ,swing and swt? >=20 > please help ! > Thank you very much ? Here http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/WhyJavaGnome there is a little paragraph about the advantages of java-gnome among other libraries. About the performance I think that now with native gcj compilation they could be comparable. (still thinking that c++ bindings can be faster.) --=20 Luca De Rugeriis <pie...@fa...> |
From: <bb...@to...> - 2004-10-12 10:12:59
|
hello,I want to study java-gnome,but I have some puzzled problems. is java-gnome superior to gtkmm(the C++ implement of gtk+) in performance? And can anyone help me compare their advantage and disadvantage (including their performance)among java-gnome ,swing and swt? please help ! Thank you very much ? |
From: Oleksiy P. <pu...@uk...> - 2004-10-12 02:28:34
|
Hi ladies and gents. On Sun, 2004-10-10 at 19:50, Mark Howard wrote: > Hi, > > Sorry for taking so long to reply. > The following page should help answer your question: > http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/WhyJavaGnome > Well, I've read these article very attentively. But it didn't tell me: WHY I SHOULD USE JAVA-GNOME TO DEVELOP MY APPLICATION? Here just the minuses: why should I leech to external native libraries (libgnome and others)? Just because java-gnome is good but <quote>Very few people say that about swing.</quote>? Swing with its MVC-architecture is well designed and formed cross-platform library. I think that in fact development of java-gnome is a sort of game. Very interesting. But nobody need it really. > That page says why to choose java-gnome rather than alternatives. There is a lot > more that could be said on that page -- if anyone is reading this who knows what > those things are (comparing java-gnoe to alternatives), please add them to the > above page. > > On Mon, Aug 16, 2004 at 01:48:20PM +0200, eClaire wrote: > > Hello, > > > > First, scuse me for my "middle English". > > > > I think this question have answer somewhere on the web but I didn't find it. > > I would like to know what are the advantages to develop with java-gnome > > instead of swing, awt or swt. java-gnome is specific to one desktop > > manager but swing or others can be executed everywhere. Is there some > > functionalities better ? easier? I understood that gtk was included in > > java-gnome. gtk can be executed everywhere, contrary to java-gnome is it > > better? I have lots of interrogations, scuse me for my low-level questions. > > -- > .''`. Mark Howard > : :' : > `. `' http://www.tildemh.com > `- mh...@de... | mh...@ti... > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > |
From: Luca De R. <pie...@fa...> - 2004-10-12 01:06:18
|
The difference is the classpath, as I said. > great...now you can figure out what was wrong/different with your code. > good luck. > --Rishabh > > On Tue, 12 Oct 2004 02:08:07 +0200, Luca De Rugeriis > <pie...@fa...> wrote: > > Il giorno lun, 11-10-2004 alle 18:55 -0500, Rishabh Manocha ha scritto: > > > Just as an example, here is the First.java File I have. > > > Hope this one works for you. > > It works without a hitch :D > > -- > > > > > > Luca De Rugeriis <pie...@fa...> > > > > -- Luca De Rugeriis <pie...@fa...> |
From: Luca De R. <pie...@fa...> - 2004-10-12 01:04:55
|
Il giorno lun, 11-10-2004 alle 18:55 -0500, Rishabh Manocha ha scritto: > Just as an example, here is the First.java File I have. > Hope this one works for you. It works without a hitch :D -- Luca De Rugeriis <pie...@fa...> |
From: Luca De R. <pie...@fa...> - 2004-10-12 01:03:55
|
Il giorno lun, 11-10-2004 alle 18:55 -0500, Rishabh Manocha ha scritto: > Just as an example, here is the First.java File I have. > Hope this one works for you. It works without a hitch :D -- Luca De Rugeriis <pie...@fa...> |
From: Luca De R. <pie...@fa...> - 2004-10-12 00:08:56
|
Il giorno lun, 11-10-2004 alle 18:55 -0500, Rishabh Manocha ha scritto: > Just as an example, here is the First.java File I have. > Hope this one works for you. It works without a hitch :D -- Luca De Rugeriis <pie...@fa...> |
From: Rishabh M. <rma...@gm...> - 2004-10-11 23:55:59
|
Just as an example, here is the First.java File I have. Hope this one works for you. On Tue, 12 Oct 2004 01:52:03 +0200, Luca De Rugeriis <pie...@fa...> wrote: > You need to add your current work directory to the classpath (as in > other java apps). > export CLASSPATH=3D.:/usr/share/java/gnome2.6.jar:/usr/share/java/gtk2.4.= jar >=20 > Mark this should be in the HintsAndTips section. >=20 >=20 >=20 > > On Monday 11 October 2004 23:42, Rishabh Manocha wrote: > > > > It did not work :-/ > > Here is what i do > > > > smelc$ CLASSPATH=3D/usr/share/java/gnome2.6.jar:/usr/share/java/gtk2.4.= jar > > smelc$ LD_LIBRARY_PATH=3D/usr/lib/jni > > smelc$ export CLASSPATH > > smelc$ export LD_LIBRARY_PATH > > > > I check with 'export' : > > > > declare -x LD_LIBRARY_PATH=3D"/usr/lib/jni" > > declare -x CLASSPATH=3D"/usr/share/java/gnome2.6.jar:/usr/share/java/gt= k2.4.jar" > > > > Then it seems to works because i can compile without -classpath flag ye= t > > execution still fails :O\ > > > > smelc$ javac First.java > > smelc$ java First > > Exception in thread "main" java.lang.NoClassDefFoundError: First > > > > > > > > > you need to export the classpath and the LD_LIBRARY_PATH. > > > after: > > > smelc$ CLASSPATH=3D/usr/share/java/gtk2.4.jar:/usr/share/java/gnome2.= 6.jar > > > > > > you need to do: > > > export CLASSPATH and the same with the LD_LIBRARY_PATH. > > > May I suggest adding these two to your .bashrc/.profile so that you > > > dont need to do this for every new session. > > > > > > --Rishabh > > > > > > On Mon, 11 Oct 2004 23:20:25 +0200, Hurlin Cl=E9ment <sm...@in...>= wrote: > > > > I tried to set both classpath and location of native part of the > > > > libraries but it didn't work : > > > > > > > > smelc$ CLASSPATH=3D/usr/share/java/gtk2.4.jar:/usr/share/java/gnome= 2.6.jar > > > > smelc$ javac First.java > > > > smelc$ LD_LIBRAY_PATH=3D/usr/lib/jni/ > > > > smelc$ java First > > > > Exception in thread "main" java.lang.NoClassDefFoundError: First > > > > smelc$ java -Djava.library.path=3D/usr/li/jni First > > > > Exception in thread "main" java.lang.NoClassDefFoundError: First > > > > > > > > And i think, i have all the files required : > > > > > > > > smelc$ ls /usr/lib/jni/ > > > > > > > > libgconfjar2.6.so libgnomejava2.6.so.2.6.0 > > > > libgtkjava2.4.so libgconfjar2.6.so.2.6.0 libgnomevtejar0.11.so > > > > libgtkjava2.4.so.2.4.0 > > > > libgconfjava2.6.so libgnomevtejar0.11.so.0.11.10 libqtjava= .la > > > > libgconfjava2.6.so.2.6.0 libgnomevtejava0.11.so libqtjava= .so > > > > libgladejar2.6.so libgnomevtejava0.11.so.0.11.10 libqtjava= .so.1 > > > > libgladejar2.6.so.2.6.0 libgtkhtmljar2.6.so > > > > libqtjava.so.1.0.0 libgladejava2.6.so libgtkhtmljar2.6.so.2.= 6.0 > > > > libswt-gtk-2136.so libgladejava2.6.so.2.6.0 libgtkhtmljava2.6.s= o > > > > libswt-pi-gtk-2136.so > > > > libgnomejar2.6.so libgtkhtmljava2.6.so.2.6.0 libxmlj-0= .99.so > > > > libgnomejar2.6.so.2.6.0 libgtkjar2.4.so libxmlj.s= o > > > > libgnomejava2.6.so libgtkjar2.4.so.2.4.0 > > > > > > > > :-/ > > > > : > > > > > On Mon, Oct 11, 2004 at 07:44:58PM +0200, Hurlin Cl?ment wrote: > > > > > > java -Djava.library.path=3D/usr/lib/jni/ First > > > > > > > > > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > > > > > org/gnu/gnome/Program > > > > > > at First.main(First.java:10) > > > > > > > > > > This is caused by not having the gnome jar in your classpath. You= need > > > > > both the classpath set correctly so java finds the java libraries= and > > > > > the LD_LIBRARY_PATH (-D) setting so that they can find the native= part > > > > > of the libraries. > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: IT Product Guide on ITManagersJo= urnal > > > > Use IT products in your business? Tell us what you think of them. G= ive us > > > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find = out > > > > more http://productguide.itmanagersjournal.com/guidepromo.tmpl > > > > _______________________________________________ > > > > java-gnome-developer mailing list > > > > jav...@li... > > > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > >=20 > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on ITManagersJourna= l > > Use IT products in your business? Tell us what you think of them. Give = us > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out = more > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > java-gnome-developer mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > -- > Luca De Rugeriis <pie...@fa...> >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out mo= re > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > |
From: Rishabh M. <rma...@gm...> - 2004-10-11 23:55:07
|
On Tue, 12 Oct 2004 01:11:45 +0200, Hurlin Cl=E9ment <sm...@in...> wrote= : > On Monday 11 October 2004 23:42, Rishabh Manocha wrote: > Then it seems to works because i can compile without -classpath flag yet > execution still fails :O\ >=20 > smelc$ javac First.java > smelc$ java First > Exception in thread "main" java.lang.NoClassDefFoundError: First This might be a stupid question but are you sure you have a Main method in the program?? Is it in the correct format(public static void main(String[] args) ??). You can also check if you have a package decleration at the top of the file indicatiing a path. That can cause problems too. --Rishabh |
From: Luca De R. <pie...@fa...> - 2004-10-11 23:52:21
|
You need to add your current work directory to the classpath (as in other java apps). export CLASSPATH=3D.:/usr/share/java/gnome2.6.jar:/usr/share/java/gtk2.4.= jar Mark this should be in the HintsAndTips section. > On Monday 11 October 2004 23:42, Rishabh Manocha wrote: >=20 > It did not work :-/ > Here is what i do >=20 > smelc$ CLASSPATH=3D/usr/share/java/gnome2.6.jar:/usr/share/java/gtk2.4.= jar > smelc$ LD_LIBRARY_PATH=3D/usr/lib/jni > smelc$ export CLASSPATH > smelc$ export LD_LIBRARY_PATH >=20 > I check with 'export' : >=20 > declare -x LD_LIBRARY_PATH=3D"/usr/lib/jni" > declare -x CLASSPATH=3D"/usr/share/java/gnome2.6.jar:/usr/share/java/gt= k2.4.jar" >=20 > Then it seems to works because i can compile without -classpath flag ye= t=20 > execution still fails :O\ >=20 > smelc$ javac First.java > smelc$ java First > Exception in thread "main" java.lang.NoClassDefFoundError: First >=20 >=20 >=20 > > you need to export the classpath and the LD_LIBRARY_PATH. > > after: > > smelc$ CLASSPATH=3D/usr/share/java/gtk2.4.jar:/usr/share/java/gnome2.= 6.jar > > > > you need to do: > > export CLASSPATH and the same with the LD_LIBRARY_PATH. > > May I suggest adding these two to your .bashrc/.profile so that you > > dont need to do this for every new session. > > > > --Rishabh > > > > On Mon, 11 Oct 2004 23:20:25 +0200, Hurlin Cl=C3=A9ment <smelc@inbox.= lv> wrote: > > > I tried to set both classpath and location of native part of the > > > libraries but it didn't work : > > > > > > smelc$ CLASSPATH=3D/usr/share/java/gtk2.4.jar:/usr/share/java/gnome= 2.6.jar > > > smelc$ javac First.java > > > smelc$ LD_LIBRAY_PATH=3D/usr/lib/jni/ > > > smelc$ java First > > > Exception in thread "main" java.lang.NoClassDefFoundError: First > > > smelc$ java -Djava.library.path=3D/usr/li/jni First > > > Exception in thread "main" java.lang.NoClassDefFoundError: First > > > > > > And i think, i have all the files required : > > > > > > smelc$ ls /usr/lib/jni/ > > > > > > libgconfjar2.6.so libgnomejava2.6.so.2.6.0 =20 > > > libgtkjava2.4.so libgconfjar2.6.so.2.6.0 libgnomevtejar0.11.so > > > libgtkjava2.4.so.2.4.0 > > > libgconfjava2.6.so libgnomevtejar0.11.so.0.11.10 libqtjava= .la > > > libgconfjava2.6.so.2.6.0 libgnomevtejava0.11.so libqtjava= .so > > > libgladejar2.6.so libgnomevtejava0.11.so.0.11.10 libqtjava= .so.1 > > > libgladejar2.6.so.2.6.0 libgtkhtmljar2.6.so =20 > > > libqtjava.so.1.0.0 libgladejava2.6.so libgtkhtmljar2.6.so.2.= 6.0 =20 > > > libswt-gtk-2136.so libgladejava2.6.so.2.6.0 libgtkhtmljava2.6.s= o > > > libswt-pi-gtk-2136.so > > > libgnomejar2.6.so libgtkhtmljava2.6.so.2.6.0 libxmlj-0= .99.so > > > libgnomejar2.6.so.2.6.0 libgtkjar2.4.so libxmlj.s= o > > > libgnomejava2.6.so libgtkjar2.4.so.2.4.0 > > > > > > :-/ > > > : > > > > On Mon, Oct 11, 2004 at 07:44:58PM +0200, Hurlin Cl?ment wrote: > > > > > java -Djava.library.path=3D/usr/lib/jni/ First > > > > > > > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > > > > org/gnu/gnome/Program > > > > > at First.main(First.java:10) > > > > > > > > This is caused by not having the gnome jar in your classpath. You= need > > > > both the classpath set correctly so java finds the java libraries= and > > > > the LD_LIBRARY_PATH (-D) setting so that they can find the native= part > > > > of the libraries. > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: IT Product Guide on ITManagersJo= urnal > > > Use IT products in your business? Tell us what you think of them. G= ive us > > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find = out > > > more http://productguide.itmanagersjournal.com/guidepromo.tmpl > > > _______________________________________________ > > > java-gnome-developer mailing list > > > jav...@li... > > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJourna= l > Use IT products in your business? Tell us what you think of them. Give = us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out = more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer --=20 Luca De Rugeriis <pie...@fa...> |
From: Hurlin <sm...@in...> - 2004-10-11 23:10:05
|
On Monday 11 October 2004 23:42, Rishabh Manocha wrote: It did not work :-/ Here is what i do smelc$ CLASSPATH=3D/usr/share/java/gnome2.6.jar:/usr/share/java/gtk2.4.jar smelc$ LD_LIBRARY_PATH=3D/usr/lib/jni smelc$ export CLASSPATH smelc$ export LD_LIBRARY_PATH I check with 'export' : declare -x LD_LIBRARY_PATH=3D"/usr/lib/jni" declare -x CLASSPATH=3D"/usr/share/java/gnome2.6.jar:/usr/share/java/gtk2.4= =2Ejar" Then it seems to works because i can compile without -classpath flag yet=20 execution still fails :O\ smelc$ javac First.java smelc$ java First Exception in thread "main" java.lang.NoClassDefFoundError: First > you need to export the classpath and the LD_LIBRARY_PATH. > after: > smelc$ CLASSPATH=3D/usr/share/java/gtk2.4.jar:/usr/share/java/gnome2.6.jar > > you need to do: > export CLASSPATH and the same with the LD_LIBRARY_PATH. > May I suggest adding these two to your .bashrc/.profile so that you > dont need to do this for every new session. > > --Rishabh > > On Mon, 11 Oct 2004 23:20:25 +0200, Hurlin Cl=E9ment <sm...@in...> wro= te: > > I tried to set both classpath and location of native part of the > > libraries but it didn't work : > > > > smelc$ CLASSPATH=3D/usr/share/java/gtk2.4.jar:/usr/share/java/gnome2.6.= jar > > smelc$ javac First.java > > smelc$ LD_LIBRAY_PATH=3D/usr/lib/jni/ > > smelc$ java First > > Exception in thread "main" java.lang.NoClassDefFoundError: First > > smelc$ java -Djava.library.path=3D/usr/li/jni First > > Exception in thread "main" java.lang.NoClassDefFoundError: First > > > > And i think, i have all the files required : > > > > smelc$ ls /usr/lib/jni/ > > > > libgconfjar2.6.so libgnomejava2.6.so.2.6.0 =20 > > libgtkjava2.4.so libgconfjar2.6.so.2.6.0 libgnomevtejar0.11.so > > libgtkjava2.4.so.2.4.0 > > libgconfjava2.6.so libgnomevtejar0.11.so.0.11.10 libqtjava.la > > libgconfjava2.6.so.2.6.0 libgnomevtejava0.11.so libqtjava.so > > libgladejar2.6.so libgnomevtejava0.11.so.0.11.10 libqtjava.so.1 > > libgladejar2.6.so.2.6.0 libgtkhtmljar2.6.so =20 > > libqtjava.so.1.0.0 libgladejava2.6.so libgtkhtmljar2.6.so.2.6.0 = =20 > > libswt-gtk-2136.so libgladejava2.6.so.2.6.0 libgtkhtmljava2.6.so > > libswt-pi-gtk-2136.so > > libgnomejar2.6.so libgtkhtmljava2.6.so.2.6.0 libxmlj-0.99.= so > > libgnomejar2.6.so.2.6.0 libgtkjar2.4.so libxmlj.so > > libgnomejava2.6.so libgtkjar2.4.so.2.4.0 > > > > :-/ > > : > > > On Mon, Oct 11, 2004 at 07:44:58PM +0200, Hurlin Cl?ment wrote: > > > > java -Djava.library.path=3D/usr/lib/jni/ First > > > > > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > > > org/gnu/gnome/Program > > > > at First.main(First.java:10) > > > > > > This is caused by not having the gnome jar in your classpath. You need > > > both the classpath set correctly so java finds the java libraries and > > > the LD_LIBRARY_PATH (-D) setting so that they can find the native part > > > of the libraries. > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > > Use IT products in your business? Tell us what you think of them. Give = us > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > > more http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > java-gnome-developer mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer |
From: Rishabh M. <rma...@gm...> - 2004-10-11 21:43:09
|
you need to export the classpath and the LD_LIBRARY_PATH.=20 after: smelc$ CLASSPATH=3D/usr/share/java/gtk2.4.jar:/usr/share/java/gnome2.6.jar you need to do: export CLASSPATH and the same with the LD_LIBRARY_PATH. May I suggest adding these two to your .bashrc/.profile so that you dont need to do this for every new session. --Rishabh On Mon, 11 Oct 2004 23:20:25 +0200, Hurlin Cl=E9ment <sm...@in...> wrote= : > I tried to set both classpath and location of native part of the librarie= s but > it didn't work : >=20 > smelc$ CLASSPATH=3D/usr/share/java/gtk2.4.jar:/usr/share/java/gnome2.6.ja= r > smelc$ javac First.java > smelc$ LD_LIBRAY_PATH=3D/usr/lib/jni/ > smelc$ java First > Exception in thread "main" java.lang.NoClassDefFoundError: First > smelc$ java -Djava.library.path=3D/usr/li/jni First > Exception in thread "main" java.lang.NoClassDefFoundError: First >=20 > And i think, i have all the files required : >=20 > smelc$ ls /usr/lib/jni/ >=20 > libgconfjar2.6.so libgnomejava2.6.so.2.6.0 libgtkjava2.4.s= o > libgconfjar2.6.so.2.6.0 libgnomevtejar0.11.so > libgtkjava2.4.so.2.4.0 > libgconfjava2.6.so libgnomevtejar0.11.so.0.11.10 libqtjava.la > libgconfjava2.6.so.2.6.0 libgnomevtejava0.11.so libqtjava.so > libgladejar2.6.so libgnomevtejava0.11.so.0.11.10 libqtjava.so.1 > libgladejar2.6.so.2.6.0 libgtkhtmljar2.6.so libqtjava.so.1.= 0.0 > libgladejava2.6.so libgtkhtmljar2.6.so.2.6.0 libswt-gtk-2136= .so > libgladejava2.6.so.2.6.0 libgtkhtmljava2.6.so > libswt-pi-gtk-2136.so > libgnomejar2.6.so libgtkhtmljava2.6.so.2.6.0 libxmlj-0.99.so > libgnomejar2.6.so.2.6.0 libgtkjar2.4.so libxmlj.so > libgnomejava2.6.so libgtkjar2.4.so.2.4.0 >=20 > :-/ >=20 >=20 >=20 >=20 > > On Mon, Oct 11, 2004 at 07:44:58PM +0200, Hurlin Cl?ment wrote: > > > java -Djava.library.path=3D/usr/lib/jni/ First > > > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > > org/gnu/gnome/Program > > > at First.main(First.java:10) > > > > This is caused by not having the gnome jar in your classpath. You need = both > > the classpath set correctly so java finds the java libraries and the > > LD_LIBRARY_PATH (-D) setting so that they can find the native part of t= he > > libraries. >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out mo= re > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > |
From: Hurlin <sm...@in...> - 2004-10-11 21:18:40
|
I tried to set both classpath and location of native part of the libraries but it didn't work : smelc$ CLASSPATH=/usr/share/java/gtk2.4.jar:/usr/share/java/gnome2.6.jar smelc$ javac First.java smelc$ LD_LIBRAY_PATH=/usr/lib/jni/ smelc$ java First Exception in thread "main" java.lang.NoClassDefFoundError: First smelc$ java -Djava.library.path=/usr/li/jni First Exception in thread "main" java.lang.NoClassDefFoundError: First And i think, i have all the files required : smelc$ ls /usr/lib/jni/ libgconfjar2.6.so libgnomejava2.6.so.2.6.0 libgtkjava2.4.so libgconfjar2.6.so.2.6.0 libgnomevtejar0.11.so libgtkjava2.4.so.2.4.0 libgconfjava2.6.so libgnomevtejar0.11.so.0.11.10 libqtjava.la libgconfjava2.6.so.2.6.0 libgnomevtejava0.11.so libqtjava.so libgladejar2.6.so libgnomevtejava0.11.so.0.11.10 libqtjava.so.1 libgladejar2.6.so.2.6.0 libgtkhtmljar2.6.so libqtjava.so.1.0.0 libgladejava2.6.so libgtkhtmljar2.6.so.2.6.0 libswt-gtk-2136.so libgladejava2.6.so.2.6.0 libgtkhtmljava2.6.so libswt-pi-gtk-2136.so libgnomejar2.6.so libgtkhtmljava2.6.so.2.6.0 libxmlj-0.99.so libgnomejar2.6.so.2.6.0 libgtkjar2.4.so libxmlj.so libgnomejava2.6.so libgtkjar2.4.so.2.4.0 :-/ > On Mon, Oct 11, 2004 at 07:44:58PM +0200, Hurlin Cl?ment wrote: > > java -Djava.library.path=/usr/lib/jni/ First > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > org/gnu/gnome/Program > > at First.main(First.java:10) > > This is caused by not having the gnome jar in your classpath. You need both > the classpath set correctly so java finds the java libraries and the > LD_LIBRARY_PATH (-D) setting so that they can find the native part of the > libraries. |
From: Rishabh M. <rma...@gm...> - 2004-10-11 20:36:20
|
hi, I tried using the Pixbuf instead of null but I still get the same result. As for errors, if I use Program.initGnomeUI, I do not get any errors/exceptions, however, when I use Gtk.init(args) to start the application(in static main), I get the following error when I click on the Help->About menu button: ListenerDelegate.fireEvent(org.gnu.gtk.event.MenuItemEvent[source=org.gnu.gtk.ImageMenuItem@81c8408,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:42) at org.gnu.gnome.About.<init>(About.java) at org.jfortuneui.jfortuneui.on_about1_activate(jfortuneui.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.gnu.glade.ListenerDelegate.fireEvent(ListenerDelegate.java:114) at org.gnu.glade.ListenerDelegate.fireEvent(ListenerDelegate.java:86) at org.gnu.glade.MenuItemDelegate.menuItemEvent(MenuItemDelegate.java:20) at org.gnu.gtk.MenuItem.fireMenuItemEvent(MenuItem.java:197) at org.gnu.gtk.MenuItem.handleActivate(MenuItem.java:203) at org.gnu.gtk.Gtk.gtk_main(Native Method) at org.gnu.gtk.Gtk.main(Gtk.java:53) I thought this was some sort of a listener error and that is when I had added the MenuItemEvent parameter in the about method. Yet, that does not seem to solve the problem. Thanks for the help. --Rishabh On Mon, 11 Oct 2004 20:45:51 +0100, Mark Howard <mh...@ti...> wrote: > I'm not sure if this will help, but could you try adding new > org.gnu.gdk.Pixbuf( "/usr/share/pixmaps/gnome-applications.png" ) (or any other > icon) in place of the null at the end of the call to new About(..). If this > fixes it, then there's a bug in our code. If it doesn't help, could you possibly > check for any warnings on the command line when you run it. The code looks > absolutely fine to me, so I'm not sure why it's not working. > > -- > .''`. Mark Howard > : :' : > `. `' http://www.tildemh.com > `- mh...@de... | mh...@ti... > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > |
From: Mark H. <mh...@ti...> - 2004-10-11 19:46:00
|
I'm not sure if this will help, but could you try adding new org.gnu.gdk.Pixbuf( "/usr/share/pixmaps/gnome-applications.png" ) (or any other icon) in place of the null at the end of the call to new About(..). If this fixes it, then there's a bug in our code. If it doesn't help, could you possibly check for any warnings on the command line when you run it. The code looks absolutely fine to me, so I'm not sure why it's not working. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... |