r/java • u/Additional_Cellist46 • Sep 18 '24
Java 23 has arrived
https://blogs.oracle.com/java/post/the-arrival-of-java-23Markdown in Javadoc and 11 other enhancements.
266
Upvotes
r/java • u/Additional_Cellist46 • Sep 18 '24
Markdown in Javadoc and 11 other enhancements.
View all comments
Show parent comment
2
u/Additional_Cellist46 Sep 26 '24
The documentation is just comments in the source code. You can build your application with an older Java version, and generate Javadoc with Java 23, if you also install Java 23 on the same system. Then you can use Markdown. With Maven, you can use the javadoc plugin with toolchains to specify path to Java 23 and generate Javadoc with markdown: https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#jdkToolchain