I've received a java dll file with an app I've downloaded.
This DLL file was written in Java and now I want to decompile it.
Here is how I call this dll that contains a jar:
new JarInputStream(getClass().getResourceAsStream("jarjava.dll"));
Is there a way to decompile it?
解决方案
Problem solved.
Here it how I did it:
Read the file:
JarInputStream input = new JarInputStream(getClass().getResourceAsStream("/myjar.dll"));
Write a new file for each entry:
JarEntry entry;
while ((entry = input.getNextJarEntry()) != null)
{
// Write file
}