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 .:something.jar MyCode.java
See Question&Answers more detail:osI'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 .:something.jar MyCode.java
See Question&Answers more detail:osIn 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