javajava-8java-7javadocdoclet

Javadoc layout changed with JDK8


Javadoc generated by the JDK8 is completely different compate to that of JDK7. In new Javadoc, header text is overlapping and layout completely messy. I understand after reading Oracle documentation that Doclet is reason for creating html view of Javadoc. Is there any way to use Doclet associated with JDK7 to generate the the Javadoc..?


Solution

  • If you are referring to the doclet, you can turn the doclet off by adding -Xdoclint:none to the command line call to javadoc

    http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html

    If you just want the old CSS used in Java 7 this other Stack overflow question contains the css you can use instead:

    JDK8: Getting back the JDK7 look for javadoc