koppor / plantuml

A LuaLaTeX package for PlantUML in LaTeX
https://koppor.github.io/plantuml/
LaTeX Project Public License v1.3c
56 stars 11 forks source link

Error during latex code generation #23

Closed mihaiginta closed 3 years ago

mihaiginta commented 3 years ago

I am trying to run the minimal working example form the repo, I get no errors in the compilation process, but the PDF contains only the line Error during latex code generation. The paths seem to be correctly set, but is there a way to check or debug this? plant.log

koppor commented 3 years ago

Hint on debugging: Search for plantuml in the log.

You will find:

\openout4 = plant-plantuml.txt
Executing PlantUML... 
java -Djava.awt.headless=true -jar D:\Programs\plantuml.jar -charset UTF-8 -tlat
ex:nopreamble plant-plantuml.txt
PlantUML did not generate anything. (./plant-plantuml.latex) [1

{C:/Users/mike/Programs/miktex-portable/texmfs/data/pdftex/config/pdftex.map}
] (./plant.aux))

Please execute following statement in your cmd.exe terminal:

java -Djava.awt.headless=true -jar D:\Programs\plantuml.jar -charset UTF-8 -tlatex:nopreamble plant-plantuml.txt

What is the output?

mihaiginta commented 3 years ago

Thansk for the help! I had no Java Runtime Environment installed and after installing it and adding it to PATH it worked flawlessly.