Re: hi do you know how to extract jar

A jar file is a sort of zip archive, so you can use anything that will open these.

From the sound of your question you have extracted the contents of the jar file. If you want to decompile .class files you will need a decompiler like jad. Note: the resulting source files may not be valid, intelligible or legally able to be used.

Re: hi do you know how to extract jar

A jar file is a sort of zip archive, so you can use anything that will open these.

From the sound of your question you have extracted the contents of the jar file. If you want to decompile .class files you will need a decompiler like jad. Note: the resulting source files may not be valid, intelligible or legally able to be used.

Re: hi do you know how to extract jar

I have the class files extracted from the jar file.

•You've decompiled the class files into Java files, wrong, I just have .class then I can only view the code of that .class in eclipse.
•You now can edit the Java (text) files that you've just obtained from the step above, wrong, I can't edit the .class because it is not editable.

Re: hi do you know how to extract jar

Originally Posted by RichersooN

I have the class files extracted from the jar file.

•You've decompiled the class files into Java files, wrong, I just have .class then I can only view the code of that .class in eclipse.
•You now can edit the Java (text) files that you've just obtained from the step above, wrong, I can't edit the .class because it is not editable.

In post number 4 above, you state:

Originally Posted by RichersooN

yep i used jad as decompiler, i already had the code but I can't edit the code.. Do you know how can I edit code?

Now I'm confused. Have you decompiled the class files with JAD or not?

To simplify this whole thing, why not ask for the source files from the folks who hold the legal rights to them? Then you don't have to muck with all this decompilation, and you'll know that what you're doing is perfectly legal.