Search code examples
javajardecompiling

Convert .jar file to JAVA DOC


How can I put my jar file to web. i.e is there a software that decompile jar file and make html pages of it? In other words I want to make a java doc.


Solution

  • I have created a JAVADOC from a jar file that is not created by you i.e you don't have its source code.

    Its simple but tricky.

    1. Get source code from .jar file by using java decompiler. I use JD-GUI | Java Decompiler
    2. Make a new project in myEclipse and copy the 'source code' in source folder.
    3. In project menu you will see Generate Javadoc. Click and select you project and follow the steps. Java doc will be ready after you finish it.

    Cheers

    Imran Tariq