KeeganBruer / javadoc-generator

A VSCode wrapper plugin for java's javadoc compiler.
https://marketplace.visualstudio.com/items?itemName=KeeganBruer.javadoc-generator
5 stars 2 forks source link

javadoc-generator error #19

Closed Per6 closed 1 year ago

Per6 commented 2 years ago
Screenshot 2022-06-29 173551

This error comes up when i try to use it might have something to do with me having a jre file instead of jdk (the error is for 4 files)

Screenshot 2022-06-29 173623

if i don't type in any path for my .java files this happens:

Screenshot 2022-06-29 181709
BeboKhouja commented 2 years ago

I also had the same issue.

Arnseb commented 1 year ago

Same here. It shows unexpected token for "-d" and the last part of the path has a backslash.

flow1990 commented 1 year ago

Is here a fix? I would really love to use this tool

KeeganBruer commented 1 year ago

@flow1990 Sorry, I'm not in college anymore, so I don't have time to run down this issue. It seems to arise from misuse of the tool as the source path should be the directory of the Java source files. Ie. The src folder, not the folder containing a jre. The jre is packaged with the project.

Edit, it assumes you are in the java projects root folder. And then it looks for a src folder. Which is why the path in the error screenshot shows Desktop\src/src. Id assume they were trying to run this from the src folder and not from the Desktop folder. If you need further details on how to use, the readme should explain how to use the project