[vtkusers] Load vtkCommonJava library on MAC OSX
Daniel Sáez Domingo
dsaez at iti.upv.es
Thu Apr 25 12:47:19 EDT 2002
Hello,
I have built VTK 4.0 in a MacOSX (Quartz) wit wrapping Java and all has
gone well.
I have compiled all the .java that has been created.
When I try to load libraries in a java program I do:
static {
System.loadLibrary("vtkCommonJava")
}
and I put the DYLD_LIBRARY_PATH variable to /usr/local/bin/vtk, where I have
the libvtkCommonJava.dylib.
When I have done all this, I compile the java program and when I execute it,
it's produced the next error
UnsatisfiedLinkError: vtkCommonJava not found in java.library.path
What is the cause of this error?
Thank you
Daniel Sáez
More information about the vtkusers
mailing list