<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Yes. I set LD_LIBRARY_PATH in my Linux
      Mint system. If I extend any of the Java gui component then it
      works fine.<br>
      <b><br>
      </b><b>My Configurations</b><b>:</b><br>
      NetBeans Version: NetBeans IDE 7.2 (Build 201207171143)<br>
      Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21<br>
      System: Linux version 3.2.0-23-generic running on i386; UTF-8;
      en_IN (nb)<br>
      <br>
      On Saturday 01 June 2013 09:20 PM, Sebastien Jourdain wrote:<br>
    </div>
    <blockquote
cite="mid:CABObKxfXd4eLLT5znoTetsDJb6k26EjEO7Ow5R4Y8wvRMkVusA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Did you set the environment variable PATH or
        LD_LIBRARY_PATH or DYLD_LIBRARY_PATH to point to the directory
        with all the native libraries ?</div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, May 28, 2013 at 11:22 PM, <a
            moz-do-not-send="true" href="mailto:kingvsk@aol.com">kingvsk@aol.com</a>
          <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:kingvsk@aol.com" target="_blank">kingvsk@aol.com</a>&gt;</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"> Hi all,<br>
              <br>
              Please check the following code. If the class extends
              jcomponent , jbutton, jframe or any gui component then it
              works fine otherwise, it leads to unsatisfiedlinkerror.&nbsp; <br>
              <br>
              Any Idea on this...<br>
              <br>
              import javax.swing.JComponent;<br>
              import vtk.vtkNativeLibrary;<br>
              <br>
              /**<br>
              &nbsp;*<br>
              &nbsp;* @author sathish<br>
              &nbsp;*/<br>
              @SuppressWarnings("serial")<br>
              public class Testing <font color="#cc0000">extends
                JComponent</font> {<br>
              &nbsp;&nbsp;&nbsp; // Load All VTK libraries...<br>
              <br>
              &nbsp;&nbsp;&nbsp; static {<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!vtkNativeLibrary.LoadAllNativeLibraries()) {<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (vtkNativeLibrary lib :
              vtkNativeLibrary.values()) {<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!lib.IsLoaded()) {<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              System.out.println(lib.GetLibraryName() + " not loaded");<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } else {<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              System.out.println(lib.GetLibraryName() + " loaded");<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } else {<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println("All Libraries are
              loaded");<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtkNativeLibrary.DisableOutputWindow(null);<br>
              &nbsp;&nbsp;&nbsp; }<br>
              <br>
              &nbsp;&nbsp;&nbsp; // Main method...<br>
              &nbsp;&nbsp;&nbsp; public static void main(String[] args) {<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Core Stuff goes here...<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println("VTK Stuff");<br>
              &nbsp;&nbsp;&nbsp; }<br>
              }<br>
              <br>
              --<br>
              Sathish<br>
              <br>
            </div>
            <br>
            _______________________________________________<br>
            Powered by <a moz-do-not-send="true"
              href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
            <br>
            Visit other Kitware open-source projects at <a
              moz-do-not-send="true"
              href="http://www.kitware.com/opensource/opensource.html"
              target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
            <br>
            Please keep messages on-topic and check the VTK FAQ at: <a
              moz-do-not-send="true"
              href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
            <br>
            Follow this link to subscribe/unsubscribe:<br>
            <a moz-do-not-send="true"
              href="http://www.vtk.org/mailman/listinfo/vtkusers"
              target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>