Skip to main content



      Home
Home » Newcomers » Newcomers » Using libraries and import statement(import library)
Using libraries and import statement [message #1365884] Mon, 19 May 2014 00:34 Go to next message
Eclipse UserFriend
I am trying to use an existing Java code library at U.S. NIST - a library that supports numerical analysis:

math.nist.gov /javanumerics /jama/

I have imported the jama library into my project, but no matter what I do, I cannot get a test class to recognize the "Jama" object and its classes. If I add expressly add the Jama library to the project search directories, then Eclipse claims there are compilation errors in the library and will not run it.

On the other hand, I can easily compile and run a test program from java command line.

I am unclear what I am doing wrong to get an import command to work under Eclipse.

Windows 7, JRE8, current Eclipse.

Any hints would be appreciated.

Thanks - Kurt
Re: Using libraries and import statement [message #1367530 is a reply to message #1365884] Mon, 19 May 2014 16:46 Go to previous message
Eclipse UserFriend
If I wanted to reproduce the exact problem you've run into, what steps would I follow? Are you using a Java Project created using the New Java Project Wizard? When you mention adding it the library tot he "project search directories", what does that mean?
Previous Topic:Void is an invalid type for the variable createMainMenu - please help!
Next Topic:GWT Plugin - Tried Everything
Goto Forum:
  


Current Time: Sun Jun 15 18:30:13 EDT 2025

Powered by FUDForum. Page generated in 0.09153 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top