<div dir="ltr">I'm making things up here, but it should look like that on linux:<div><br></div><div>export LD_LIBRARY_PATH=/path-to-vtk/lib</div><div>java -cp /path-to-vtk/lib/vtk.jar your.main.class</div><div><br></div>
<div>Seb</div><div><br></div><div>PS: Please keep the list in the loop.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 19, 2014 at 9:15 AM, Robert Häckl <span dir="ltr"><<a href="mailto:robert_haeckl@fear-gfx.de" target="_blank">robert_haeckl@fear-gfx.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hi Sebastian!<br>
      <br>
      I tried several path settings, but always not to an *.so file.<br>
      Would you please show me a example where I could find the *.so
      file which I need and how the command looks like which I have to
      do?<br>
      <br>
      Thanks a lot<br>
      <br>
      Robert<br>
      <br>
      <br>
      Am 19.02.2014 15:46, schrieb Sebastien Jourdain:<br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">Hi Robert,
        <div><br>
        </div>
        <div>Did you set the following environment variable to contain
          the path to the directory that contains all the VTK libraries?</div>
        <div><br>
        </div>
        <div>- Win (*.dll): PATH</div>
        <div>- Linux (*.so): LD_LIBRARY_PATH</div>
        <div>- Mac (*.dylib): DYLD_LIBRARY_PATH</div>
        <div><br>
        </div>
        <div>Seb</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Wed, Feb 19, 2014 at 4:17 AM, Robert
          Häckl <span dir="ltr"><<a href="mailto:robert_haeckl@fear-gfx.de" target="_blank">robert_haeckl@fear-gfx.de</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> I'm a computer
              science student and at the moment I do the implementation
              of my master thesis. The topic is about to simulate
              particles and optimizing agents. But with using vtk, i ran
              in some troubles. I always get this error:<br>
              Exception in thread "main" java.lang.UnsatisfiedLinkError:
              no vtkCommonJava in java.library.path<br>
              <br>
              I already asked lots of google sites and no solution
              worked for me. I tried it a working project with vtk on
              another machine where it worked just fine. So you are my
              last hope.<br>
              I'm using Ubuntu 13.10 and on the other machine Windows 7.
              On both I got the same error. Furthermore I use the
              Intellij IDEA and open-jdk 7 for linux.<br>
              <br>
              Yours sincerely<span><font color="#888888"><span><font color="#888888"><br>
                      <br>
                      Robert</font></span> </font></span></div>
            <br>
            _______________________________________________<br>
            Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
            <br>
            Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
            <br>
            Follow this link to subscribe/unsubscribe:<br>
            <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
            <br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>