title: How can I include platform-specific native libraries in the .JAR file using Eclipse?
body: <p>I am just starting to learn JNI. I have been following a simple example, and I have created a Java app that calls a Hello World method in a native library. I'd like to target Win32 and Linux x86.  </p>
  
  <p>My library resides in a DLL, and I can call it just fine using LoadLibrary when the DLL is added to the root of my Eclipse project.<br>
  However, I can't figure out how to get Eclipse to export a runnable JAR that includes the DLL and the .SO file for Linux.</p>
  
  <p>So my question is basically; how would you go about creating a project in Eclipse and include several versions of the same native library?</p>
  
  <p>Thank you,<br>
  Martin</p>