Hi,<br><br>I wonder if anyone can help me clear this up. I'm using the java bindings. <br><br>Is setting $LD_LIBRARY_PATH="...../vtk/bin" equivalent to using java -Djava.library.path=...../vtk/bin filename<br>
<br>i always thought so and im sure i did have problems using the latter method last time i used vtk, however im finding that if i export LD_LIBRARY_PATH i can run the Cone example, but if i instead use the -Djava.library.path= method then i get:<br>
<br>Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/zoizoi/sunLoom/silk/VTK/bin/libvtkCommonJava.so.5.2.1: libvtkCommon.so.5.2: cannot open shared object file: No such file or directory<br><br>note the the path im using is valid, if it wasnt i would get no vtkCommonJava in java.library.path<br>
<br>.... can anyone tell me why this is happening?<br><br>i'm using netbeans 6.5 in ubuntu 8.10, and id rather not have to set the environment variable. More than that, id like to know whats going on ..<br><br>Liam<br>
<br>