madhavd1 / vscode-javadoc-tools

This is an extension for VSCode that allows user to generate javadoc comments for all methods within a class
https://marketplace.visualstudio.com/items?itemName=madhavd1.javadoc-tools
MIT License
9 stars 6 forks source link

Cannot export javadoc #20

Open LWest001 opened 2 years ago

LWest001 commented 2 years ago

Hello, I receive the following issue when I use the export command in a workspace:

PS C:\Users\leowe\homework_07> &"undefined\bin\javadoc" -public -d "${WorkspaceRoot}\javadoc" -sourcepath "c:\Users\leowe\homework_07\src" -subpackages app test & : The module 'undefined' could not be loaded. For more information, run 'Import-Module undefined'. At line:1 char:2 + &"undefined\bin\javadoc" -public -d "${WorkspaceRoot}\javadoc" -sourc ... + ~~~~~~~~~~~~~~~~~~~~~~~ ` + CategoryInfo : ObjectNotFound: (undefined\bin\javadoc:String) [], CommandNotFoundException

How can I resolve?

enzofrnt commented 1 year ago

Same kind of issue for me

rafacampoamor commented 1 year ago

Same in Mac OS

LeducNic commented 9 months ago

I think setting JAVA_HOME environment variable could help solve the problem.