[vtkusers] VTK+java application for distribution

mahendra mahendra123awale at gmail.com
Tue May 21 11:30:10 EDT 2013


Thanks for your replies Simeon and Gerrick. 

Now i tried to include the *.so files in lib folder and when i invoked the
java program i passed the lib folder location as native library path (have a
look below). Still i get following error:

java -Djava.library.path=lib/ -cp testVTK.jar tree 
-----------------------------------------------------------------------------------------------------------------------------------------------
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/home/mahendra/Desktop/testIt/dist/lib/libvtkCommonJava.so.5.8.0:
libvtkCommon.so.5.8: cannot open shared object file: No such file or
directory
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
	at java.lang.Runtime.loadLibrary0(Runtime.java:823)
	at java.lang.System.loadLibrary(System.java:1028)
	at tree.<clinit>(tree.java:7)
Could not find the main class: tree.  Program will exit.







--
View this message in context: http://vtk.1045678.n5.nabble.com/VTK-java-application-for-distribution-tp5720775p5720818.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list