How to install jar library?

后端 未结 3 1831
死守一世寂寞
死守一世寂寞 2021-02-13 19:32

I\'ve downloaded the ANTLR Java runtime libraries. It\'s a jar file. It contains \"org.antlr.runtime\". Where do I put it so that the Java compiler can find it? Do I need to ext

3条回答
  •  失恋的感觉
    2021-02-13 20:06

    For java command line you need to add it to your class path however in Netbeans you just need to add it as a library. It can be anywhere. Google to find out how to do these things.

    In fact in netbeans, you can just say you need this in your maven project and it will do the download of the jar and its source/documentation as required.

提交回复
热议问题