i got a package.
i wanna install this package some where and i wanna import this package as library. is that possble..
or can any one say how to install a package as library.:)
Printable View
i got a package.
i wanna install this package some where and i wanna import this package as library. is that possble..
or can any one say how to install a package as library.:)
It all depends on what system is to look at your library. What software is it to be imported into? What form is it in? A jar file?
Some require the jar file be placed in a folder. Others that the jar file be on the classpath.
you need to export the package as a jar file using the export utility of the IDE you are using
or
use java -jar command
jar cf jar-file input-file(s)
It's also depending on what IDE you are currently using for your project (if you're using one at all). On netbeans to import a JAR do the following:
-right click on your project (in project's frame)
-Go to properties
-Select "libraries" in the list on the left
-Click "add JAR/Folder" on the right
-Then browse for the JAR-file and double-click
Next thing to do is to import the packages from this library in your project. For the package "org.apache.commons.net" the import statement:
Hope it helps,Code:import org.apache.commons.net.*;
Hi! I am facing a similar problem. I need to import com.sun.java.swing.* but there are over 421 class files. What should I do?
I found them at findjar.com. Can anyone help?
where do I find the jar folder?