[英]MCP add external Libraries
I have in my Minecraft Client a function, that needs a external library. 我的Minecraft客户端中有一个需要外部库的函数。 I added it in the IDE and added it at the lib/ folder, but it doesnt help. 我在IDE中添加了它,并在lib /文件夹中添加了它,但这没有帮助。 Has anyone experience with this? 有人对此有经验吗? They are 2 jars. 他们是2罐。
I guess you will have to add the library to your classpath. 我猜您将不得不将库添加到您的类路径中。 The best way to do tat would be to add it as a dependency in your build.gradle and run gradle eclipse
or gradle idea
, depending on your IDE, so it automatically creates the classpath. 最好的方法是根据您的IDE将其添加为build.gradle中的依赖项并运行gradle eclipse
或gradle idea
,以便它自动创建类路径。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.