Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I install a *.jar file and use it?

 
Giorgos Christoulas
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I have found the Java Matrix Package (JAMA) on the Internet.
It is a basic linear algebra package for Java. It is located at:
http://math.nist.gov/javanumerics/jama/#Package
but I do not know which files to install, where and how to install them.
Does anyone knows the way to install a package
in Netbeans IDE 3.5.1?
Thank you in advance
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe that what you want to do is to simply save the JAR file someplace on your system, and then mount it as part of your NetBeans project. This is very much as you'd mount a directory to be included in your project, but you're mounting a JAR (an archive file) instead.
In NetBeans IDE, select the Filesystems tab, and then select the Filesystems icon inside this tab. Right mouse click on the Filesystems icon, and select Mount -> Archive Files. Then browse to and select the JAR file. The classes (and packages) in the JAR should then be available to your NetBeans project.
 
Harold Luka
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone tell me what can i do if i m using websphere?
i tried right clicking my project name, properties, java build path, then add my jar file there. It seems like it still doesn't work though as when i m typing up the code, in the tasks tab, it says xxxx(class) cannot be resolved or is not a type
[ January 15, 2004: Message edited by: Harold Luka ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic