Skip to content
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

[renderer1] [error] spawn java ENOENT: Error: spawn java ENOENT #460

Open
majeric opened this issue Dec 12, 2021 · 4 comments
Open

[renderer1] [error] spawn java ENOENT: Error: spawn java ENOENT #460

majeric opened this issue Dec 12, 2021 · 4 comments

Comments

@majeric
Copy link

majeric commented Dec 12, 2021

Mac Monterey 12.0.1
VS Code 1.63.0
PlantUML v2.16.1

[2021-12-11 17:52:42.110] [renderer1] [error] spawn java ENOENT: Error: spawn java ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
at onErrorNT (internal/child_process.js:465:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21)

@yoanisgil
Copy link

I had the same issue. You just need to install the JRE for your OS.

@JiHaoChina
Copy link

The reason is that it's running needs java environment. You should install java SDK in your computer.

@jnz86
Copy link

jnz86 commented Nov 8, 2023

Just a head's up to anyone that may ever have the same thing...

If you're using VS Code remote dev containers... You need Java/JRE in the container, OR, you need to open your PlantUML file as a local in a separate VS Code instance or while not using the container.

Can't open the puml "remotely" and using local JRE. It's both remote or both local.

@Bernardoow
Copy link

Bernardoow commented Jan 2, 2025

I had the same issue. You just need to install the JRE for your OS.

I had the same issue and then following the instruction I installed using the command sudo apt install default-jre and issue was resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants