title: Including external jar files to resource path in Rhino shell
body: <p>I am using javascript on a Rhino Shell. I need to add the com.sun.jna.jar to the classpath. Now when I type - js:> Packages.com.sun.jna.NativeLibrary
  [JavaClass com.sun.jna.NativeLibrary]
  This shows that the jna library is accessible by the Rhino Shell? But when I try to use the library: js:> var c=Packages.com.sun.jna.NativeLibrary.getInstance("c");</p>
  
  <p><strong>java.lang.UnsatisfiedLinkError: Unable to load library '2': JNA native support (win32-x86/2.dll) not found in resource path (C:\ti\ccsv5\eclipse\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar)</strong> </p>
  
  <p>The resource path(C:\ti\ccsv5......launcher_1.3.0.v20120522-1813.jar) is the path it shows when I type - js:> print(System.getProperty("java.class.path"));</p>
  
  <p>I donot understand how to add the jar files to the resource path.I tried to do it by the Command prompt: <em>java -cp "path of jar" .name of class containing main</em>  ---> How do I understand what is the name of the class containing main since Rhino does the conversion from javascripts to classes?
  Thanks in Advance.
  Sohini. </p>