(--------)
After seing the PLANTUML_LIMIT_SIZE sample on https://plantuml.com/fr/faq, I discover ttat plantuml is using system env and java properties.
So, using the setProperty is working:
System.setProperty("GRAPHVIZ_DOT", "graphviz-2.38\\release\\bin\\dot.exe");