-
Notifications
You must be signed in to change notification settings - Fork 875
Open
Description
PlantUML local rendering on Ubuntu: java.exe not found
When trying to build PlantUML files locally during a docfx build using the plantuml.jar on a linux machine, an error gets thrown:
It seems to want to access the java.exe to run the jar.
I tried to run the exact same project on a Windows 10 Machine, where it ran as expected.
To Reproduce
Steps to reproduce the behavior:
- Install DocFx on an Ubuntu Machine and initialize a project
- Add a plantUml Diagram to your docfx project
- Install the plantuml.jar and add to project: https://plantuml.com/de/download (I used MIT)
- Edit docfx.json:
- Run docfx build
Expected behavior
docfx build should run and build the PlantUML Diagrams using the locally installed plantuml.jar.
Context:
- OS: Ubuntu 24.04.1 LTS
- Docfx version: 2.78.2
- Java version: openjdk 21.0.5 2024-10-15
Additional context
Using the remote server plantuml.com is not possible, due to the machine being offline.
Metadata
Metadata
Assignees
Labels
No labels