title: How to call a method in .jar file in eclipse?
body: <p>I have a jar file named Stdlib.jar and I have already imported into the project that I'm currently working on (using Build path in Eclipse). I have checked that the .jar file appears in the "Reference Libraries", but I'm not able to call the method that lies in the class of the .jar library.</p>
  
  <p>I searched a lot and here are my questions. Do I need to write a import statement in addition to the build path to use the method? If so, what is the syntax? (Because I did "add external jar", the .jar file is on my desktop. So should I write "import desktop/stdlib.jar;"?)</p>
  
  <p>I used to do it on Linux and it was pretty easy with flag "cp- filepath". But when I came to Eclipse, I had no clue how to utilize an external library. Thank you very much for any kind of help!</p>