-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PlantUML can not find java #112
Comments
Plug in don't looking for any path. Make |
This is the problem java -version works in the terminal. Maybe there is a problem, that my java version is behind a symlink? I use sdkman to switch the java version frequently. So the actual java version is behind a symlink. |
Maybe it is the problem, that the child_process module behaves different in this case, I guess. Can you try testing with no-symlink-java? |
If you still cannot locate the problem, try to configure java path with latest release. |
With the newest version it works after declaring the path to the java executable in the new setting. It also follows the symlink. Thank you for the fast fix. |
你好,我使用 PlantUML Visual Code Extension Version 2.11.0,报错" Cannot find java! 我将java bin path添加到PATH 环境变量,在终端中可以使用 java -version,还是同样的错误。 然后修改了settings中的Java executable location 为 C:\Program Files\Java\jdk-12.0.1\bin\ 还是报错,请问怎么处理? @qjebbs |
@huangshuai-IOT |
@qjebbs 你好,我分别尝试设置 |
This works for me: |
Add the extension globally works for me. |
Fill in Java.exe in java executable location, then it work!@huangshuai-IOT |
your path configuration is incorrect, you should configure the jre path in the system environment as follows sequentially:
|
Great! Solved this issue! |
Plantuml can not find java even though the javahome is set and java bin folder is in the path. Is there a way i can figure out how the extension is looking for the path?
The text was updated successfully, but these errors were encountered: