madhavd1/vscode-javadoc-tools

Cannot export javadoc

Opened this issue · 3 comments

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 + FullyQualifiedErrorId : CouldNotAutoLoadModule

How can I resolve?

Same kind of issue for me

Same in Mac OS

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