Re: [Java-gnome-developer] Writing Nautilius context menu extensions with Java-GNOME
Brought to you by:
afcowie
From: Jacek F. <ja...@gm...> - 2009-06-15 20:22:13
|
I've been able to get a simple example going using Nautius Actions: http://www.grumz.net/index.php?q=taxonomy/term/2/9 Basically, you just create a regular Java class with a main(), package it into a jar and then in the Nautilus Actons config wire a context menu action to a "java -jar jarfile.jar" which works reasonably well. I was thinking that maybe there is a better way, but this is probably the best option... Cheers, Jacek On Mon, Jun 15, 2009 at 1:38 PM, Serkan Kaba <se...@ge...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I think that this needs a bit in general architecture. Java-Gnome > bindings initilize GTK fom JVM. This needs the other way around, > initilizing JVM from Nautilus (i.e native layer) > > This will need to load libjvm (and probably should load it dynamically > instead of linking against it), prepare objects to pass to JVM and call > Java methods in native code. > > - -- > Sincerely, > Serkan KABA > Gentoo Developer > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.11 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAko2hxYACgkQRh6X64ivZaKHrACfV2AHPULkpOCK3j0DQIwT13Zv > GKAAnRvk5CCBFF7u6UjV2V7yWRZoZh3Y > =Ecnr > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > |