How to remove the attached source which was added to a Jar?

Can unjar of a jar file show the source code?

  • Can unjar of a jar file show the source code? if yes then any one can see the source code by unjaring the jar file how to keep the the source code confidential in this case

  • Answer:

    Jar files are just a collection of .class and manifest files, so if you "un jar" a jar file, you will only see the class files Now if you want to check the source code of a jar file, check this link, there seems to be many useful answers http://stackoverflow.com/questions/647116/how-to-decompile-a-whole-jar-file

nilesh at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.