plugin with jogl native libraries and jzy3d api

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

plugin with jogl native libraries and jzy3d api

esthercamilo
Hi,

I made a plugin for Cytoscape that uses jzyd3d api and jogl libraries. My plugin
works fine inside the eclipse - that means, I use cytoscape from
eclipse -  but it doesn't work outside the eclipse. Does someone know
how I make my jar and make reference to native libraries?

I tried the following things without success:
--http://groups.google.com/group/cytoscape-discuss/browse_thread/thread/6609852f05f5199e
--to set the environmental variable: LD_LIBARARY_PATH
--putting dll in several places.
--using this jars   http://jogamp.org/deployment/jogamp-test/archive/jogamp-all-platforms.7z that includes dlls

I would be very thankfull for any clue!

Esther
Reply | Threaded
Open this post in threaded view
|

Re: plugin with jogl native libraries and jzy3d api

gouessej
Administrator
Hi

Please be more accurate. What does not work? What happens? Which kind of error message do you get? JOGL JARs should be in the classpath and JARs containing the native libraries should be in the same directory than them (jogl.all.jar and gluegen-rt.jar). Jzy3D JARs should be in the classpath too.

What do you mean by "outside Eclipse"? Do you use Java Web Start? You can set the classpath in the manifest file of the JAR containing the class with the main method.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: plugin with jogl native libraries and jzy3d api

Wade Walker
Administrator
In reply to this post by esthercamilo
I don't have experience with Cytoscape, but it does look like the plugins are OSGi plugins, similar to Eclipse plugins. My tutorials at http://jogamp.org/wiki/index.php/Jogl_Tutorial#Wade.27s_JOGL_tutorials do have some information about how to package a JOGL application into OSGi plugins and fragments, though it might not be directly applicable.