简体   繁体   English

如何将第三方Java库添加到Java

[英]How to add third party java libraries to java

Here is a third party library that I want to use. 这是我要使用的第三方库。 https://github.com/encog/encog-java-core https://github.com/encog/encog-java-core

I want to use the library in my project. 我想在我的项目中使用该库。

How do I install or add the library to my class path, so I can run my code via the command line without any problems. 如何将库安装或添加到类路径,这样我就可以通过命令行运行我的代码而没有任何问题。

For version 3.3.0: 对于版本3.3.0:

  • Go to https://mvnrepository.com/artifact/org.encog/encog-core as mentioned above. 如上所述, 访问https://mvnrepository.com/artifact/org.encog/encog-core
  • Click download JAR. 单击下载JAR。
  • Copy the downloaded .jar file in to WEB-INF/lib folder in your project. 将下载的.jar文件复制到项目中的WEB-INF/lib文件夹中。
  • Right click on this .jar file -> build path -> add to build path (If you have eclipse, other wise, Google in your IDE documentations) 右键单击此.jar文件->构建路径->添加到构建路径(如果日蚀,或者在IDE文档中,则为Google)

If you need the 3.4.0, you will need maven. 如果需要3.4.0,则需要maven。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Java-依赖注入-第三方库 - Java - Dependency Injection - third party libraries 如何在Talend项目中添加第三方库? - How to add third party libraries to Talend project? Scala中的Akka和第三方Java库的最佳实践 - Best practices with Akka in Scala and third-party Java libraries Java中的HttpClient而不使用任何第三方库 - Httpclient in java without using any third party libraries 使用Spring等第三方库时如何配置Google App Engine Java项目 - How to Configure Google app engine Java project when using third party libraries like spring 创建 java 应用程序时如何检查第三方库漏洞? [等候接听] - How to check third party libraries vulnerability while creating java application? [on hold] 如何在不使用第三方库的情况下转义java字符串中的unicode字符 - How to escape unicode characters in a java string without using third party libraries 如何通过Java中的代码加载第三方库(如X11库)? - How to load third party libraries (like X11 libs) through code in Java? 如何在TeamCity构建的Java项目中引用第三方jar库? - How do I reference third-party jar libraries into a Java project being built by TeamCity? 在Java中如何访问诸如此类的第三方工具? - How are third party tools such as this accessed within Java?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM