简体   繁体   English

jar 文件中的外部库在哪里?

[英]Where are external libraries in a jar file?

I recently wanted to decompile a jar and edit the contents, so I used jd-gui to decompile it, I saved the project, and I unzipped it.最近想反编译一个jar并编辑内容,所以用jd-gui反编译,保存项目,解压。 I opened the project in IntelliJ and I was getting a lot of errors for missing types.我在 IntelliJ 中打开了该项目,但由于缺少类型而出现了很多错误。 All the imports that were not built into Java said unknown.所有没有内置到 Java 中的导入都表示未知。 Where are these libraries in the jar, and how do I get them out and add them to intellij? jar 中的这些库在哪里,如何将它们取出并将它们添加到 intellij?

An application may have dependencies that are not included in the jar at all.应用程序可能具有根本不包含在 jar 中的依赖项。 In that case, the user would be expected to install the dependencies themselves.在这种情况下,用户需要自己安装依赖项。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM