title: Java exception: java.lang.UnsatisfiedLinkError: gnu.io.RXTXCommDriver.nativeGetVersion()Ljava/lang/String;
body: <p>I am a java programmer in Korea(South).
  I have searched many google articles about these errors.</p>
  
  <blockquote>
    <p>java.lang.UnsatisfiedLinkError:<br>
    gnu.io.RXTXCommDriver.nativeGetVersion()Ljava/lang/String; thrown while loading gnu.io.RXTXCommDriver
    java.lang.NoClassDefFoundError: Could not initialize class gnu.io.RXTXCommDriver thrown while loading gnu.io.RXTXCommDriver</p>
  </blockquote>
  
  <p>but I haven't solved it yet.</p>
  
  <p>My eclipse build path setting is like this.</p>
  
  <p>I added external jars from 
  <code>C:\dev\java\jdk_6\jre\lib\ext\RXTXcomm.jar</code></p>
  
  <p>and Native library location for <code>RXTXcomm.jar</code> is
  <code>C:\dev\java\jdk_6\jre\bin\rxtxSerial.dll</code></p>
  
  <p>and I`m using springframework</p>
  
  <p><a href="https://i.stack.imgur.com/j15df.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j15df.jpg" alt="Error"></a></p>
  
  <p>build has no error.
  and Tomcat v6.0 start has no error.</p>
  
  <p>But when I try to use the component from jar,  file error pops-up.</p>
  
  <p>If anyone have a solution please give me a tip.</p>