mfuchs23 / dbdoclet

dbdoclet is a javadoc doclet, which creates DocBook XML and UML Diagrams from javadoc comments
http://www.dbdoclet.org
4 stars 4 forks source link

"Cannot find doclet class org.dbdoclet.doclet.docbook." #4

Open nakohdo opened 10 years ago

nakohdo commented 10 years ago

Hello,

I'm trying to run dbdoclet from the command line on a Windows 7 (64 bit) machine. I have the latest JDK installed (jdk1.7.0_60) and think that I have set all PATH variables correctly, also the environment variable DBDOCLET_HOME. At least I can call Java and Javadoc from the dbdoclet/bin directory. However I get the following error message:

javadoc: error - Cannot find doclet class org.dbdoclet.doclet.docbook.DocBookDoclet 1 error

I've read http://stackoverflow.com/questions/17020999/javadoc-error-cannot-find-doclet-class, but afaict those recommendations are already fulfilled in dbdoclet.bat.

What am I missing? My profile file only contains the mandatory line according to http://www.dbdoclet.org/projects/dbdoclet/index.html

TIA Frank

mfuchs23 commented 10 years ago

Hello Frank,

the dbdoclet.bat batch program contains the wrong path to the dbdoclet.jar, which is defined by the -docletpath command line parameter when javadoc is called. Please go to the directory %DBDOCLET_HOME%/jars and copy the file dbdoclet_7.0.0.jar to dbdoclet.jar or change the path in dbdoclet.bat.

Regards, Michael

nakohdo commented 10 years ago

Thanks for the quick response, Michael!