[vtkusers] JAVA --help link native methods called in vtkpanel using Eclipse
Steve M. Robbins
steven.robbins at videotron.ca
Sun Jul 24 22:36:32 EDT 2005
On Fri, Jul 22, 2005 at 03:42:16PM -0400, SKslimjim at aol.com wrote:
> Trying to run working program on a same winXP PC but using Eclipse IDE
> instead.
> Can't seem to link native methods called in vtkpanel---lock(),unlock(),and
> rendercreate(),
> I'm using/pointing to same envi variables as old IDE yet it doesn't link with
> Eclipse IDE.
You need to make sure the VTK DLLs are on the java library search
path.
I do this on linux by setting LD_LIBRARY_PATH before starting eclipse.
I think you can achieve the same result on windows by setting PATH,
but don't quote me on that.
Alternatively you can set the java.library.path property when you run
the application. In the "VM arguments" section of the "Run ..."
configuration, add -Djava.library.path=C:\whatever\bla\boo
-Steve
More information about the vtkusers
mailing list