[vtkusers] Using VTK w/ Java - Can't get past VtkInit error

Mona Wong-Barnum mona at ncmir.ucsd.edu
Thu Dec 4 20:38:29 EST 2003


Hi Fran:

	Are these the errors you are getting:
	
eggshell:/home/mona/project/vtk/VTK/Examples/Tutorial/Step1/Java) java -classpat
h /usr/local/lib/vtk/vtk.jar:. Cone
Exception in thread "main" java.lang.UnsatisfiedLinkError: no vtkCommonJava in 
java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at Cone.<clinit>(Cone.java:17)

	If this is your error, then you need to set your environment variable 
LD_LIBRARY_PATH to where the VTK libVTK*.so files are residing.
	
	Hope that helps.
	
cheers,
Mona

==================================================================
Mona Wong-Barnum
National Center for Microscopy and Imaging Research
University of California, San Diego
http://ncmir.ucsd.edu/

"Circumstances don't make a man, they reveal him"
			-- James Allen
==================================================================





More information about the vtkusers mailing list