how to add java classpath in netbeans

后端 未结 2 1445
栀梦
栀梦 2020-12-22 04:11

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          


        
相关标签:
2条回答
  • 2020-12-22 04:51

    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

    0 讨论(0)
  • 2020-12-22 05:05

    Here are the steps with image description :)

    How to add jar file in Netbeans

    Let me know if you need something else...

    Good Luck!!!

    0 讨论(0)
提交回复
热议问题