I\'m writing a java program in netbeans. But I need to add a classpath something.jar. In netbeans how can I do that? I compile with command:
java -classpath
In NetBeans Project Properties Window, you click Libraries in the left panel, and in the right panel are 4 categories of classpath you can configure. Take a look at this article, it's back from 2006, but this part of Netbeans remained pretty much the same: http://javahowto.blogspot.com/2006/06/set-classpath-in-eclipse-and-netbeans.html
Here are the steps with image description :)
How to add jar file in Netbeans
Let me know if you need something else...
Good Luck!!!