Where are external libraries in a jar file?

877 views Asked by At

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. I opened the project in IntelliJ and I was getting a lot of errors for missing types. All the imports that were not built into Java said unknown. Where are these libraries in the jar, and how do I get them out and add them to intellij?

1

There are 1 answers

2
Antimony On

An application may have dependencies that are not included in the jar at all. In that case, the user would be expected to install the dependencies themselves.