Ask coding questions

← Back to all posts
Can Java in REPL create a javadoc file? Is so, how? Examples?
PAULHANNA

I want to use javadoc tags in my REPL Java program to generate an explanatory API document file. Looking for examples of how to do this. Must be Java language, written in REPL environment.

Voters
MissStrong
twaller
PAULHANNA
Comments
hotnewtop
twaller

If it's any consolation, I totally understand what you're asking and would also like to find a way to do this. If you figure it out, please share.

Coder100

btw here is a more better documentation: https://docs.oracle.com/javase/9/javadoc/javadoc-command.htm

PAULHANNA

@Coder100 Yes. I know Java has a javadoc tool. How can I use it with REPL?

PAULHANNA

@PAULHANNA Or does REPL have a similar tool?

Coder100

@PAULHANNA what do you mean, my repl literally shows you a working hosted javadoc

twaller

@Coder100 He's asking about a custom javadoc, not the default one from oracle. Most IDEs have the ability to create a custom javadoc for the classes you create yourself using the javadoc JDK. We're just trying to see if replit has something similar.

Coder100

https://replit.com/@Coder100/UsedIllWorkplace-aeou-eaou-aeo#main.sh here is my example repl. As you can see it is super easy to use.

Coder100

Yes you can! javadoc