Meaningless Drivel is fun!
The moose likes IDEs, Version Control and other tools and the fly likes How can I install a *.jar file and use it? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How can I install a *.jar file and use it?" Watch "How can I install a *.jar file and use it?" New topic

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

Giorgos Christoulas

Joined: Sep 24, 2003
Posts: 13
I have found the Java Matrix Package (JAMA) on the Internet.
It is a basic linear algebra package for Java. It is located at:
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

Joined: Dec 10, 2001
Posts: 7023
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.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Harold Luka

Joined: Jan 15, 2004
Posts: 5
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 ]
I agree. Here's the link:
subject: How can I install a *.jar file and use it?
It's not a secret anymore!