F.A.Q.
• What's the goal of PlantUML ?
Be carefull, because it does not prevent you from drawing inconsistent diagram (like having two classes inheriting from each other, for example).
So it's more a drawing tool than a modeling tool.
• It does not work on my config !
• Which version of GraphViz should I use ?
PlantUML is now working with GraphViz 2.28 and 2.26.3.
The last version of GraphViz (2.30.1) is somehow working with PlantUML, but may have some issues.
• Is this mature? I don't see any new release ?
If you want to know the exact version you are using, you can type in the command line:
java -jar plantuml.jar -versionor use the following small special diagram description :
@startuml version @enduml
• How to know if a new release is available ?
You can also subscribe to the following rss flows:
Or you can use the command line:
java -jar plantuml.jar -checkversionThis command connects to the PlantUML site, so you may have to set your proxy :
(Please note that -D flags must be set before -jar flag)
java -Dhttp.proxyHost=myproxy.com -Dhttp.proxyPort=8080 -jar plantuml.jar -checkversionOr use the following small special diagram description :
@startuml checkversion @enduml
@startuml checkversion(proxy=myproxy.com,port=8080) @enduml
• I have an error message with the Eclipse Plugin.
The currently displayed page contains invalid values
-clean
flag on the command line:
eclipse -clean
• Nothing works with the Eclipse Plugin.
Program Files. If you have installed Eclipse under
Program Files, you should run Eclipse as Administrator, this allows to write in
protected folders. After a first run as Administrator, you should be
able to use Eclipse & PlantUML with a ordinary user.
Or you should install Eclipse in a ordinary folder, like c:\eclipse.
• I have "out of memory heap" !
The solution is to add this parameter to the java vm :
-Xmx1024m
.
• How to solve font issues on Max OS X ?
/opt/local/bin
), it is possible that some fonts do not work.
You should install the "official" Graphviz version of dot (which
install in /usr/local/bin) that has a more complete set of
fonts.
• I have very strange font display in sequence diagram
| If you have some image like this, it probably means that
your are using a non Sun JVM.
To doublecheck this, you type java -version java -jar plantuml.jar -version |
![]() |
• I have issues with accented characters.
UTF-8
. If you want to know which charset you are using, you can type the
following command:
java -jar plantuml.jar -help ... -charset xxx To use a specific charset (default is windows-1252) ...
-charset
flag :
java -jar plantuml.jar -charset UTF-8 ...
• I have issues with Asian characters.
export LANG = ja_JP.UTF-8
Since the new architecture, it should simply work, because Java knows how to draw East Asian characters.
• I have a "No PNG header found" message with dot.
For exemple, on Mac OS X, the library "quartz" is sometimes used by default by dot, and generates Photoshop files instead of PNG files. To workaround this, you can either:
- Comment lines with
png:quartzin/opt/local/lib/graphviz/config6file - Or use
-forcegdor-forcecairoin PlantUML command line to force the use of GD or Cairo library.
• How to generate EPS ?
-eps flag in the command line, or format="eps" in the ANT task.
This is still beta, and will be released soon.
• What about XMI ?
• Is @startuml needed in with -pipe flag ?
Long answer:
The @startuml/@startditaa/@startjcckit is usefull to determine the type of diagram (uml, ditaa, jcckit...), and because you can optionally put a filename after the @startXXX. This also allows to have several diagrams inside the same file.
Earlier versions of PlantUML were not supporting ditaa or jcckit. When you use -pipe flag, since the diagram is generated to standard output, there could be only one diagram in the standard input. And there is no need to specify a filename. For all those reasons, @startuml was not needed when using -pipe flag at that time.
Latter, it has been decided to normalize this, and to impose @startuml everywhere, even with -pipe flag, because it was confusing for users. Unfortunatly, since some existing scripts were already using the fact that @startuml is not needed in -pipe flag, it has been decided to keep this as a deprecated option, just to allow older scripts to run. We indeed do pay attention of ascending compatibility.
For newer scripts, you should not rely on this, and use @startuml/@enduml with the -pipe flag.
•Under which license is PlantUML distributed ?
You can print the license using the command line option:
java -jar plantuml.jar -license
@startuml license @enduml
•I don't like GPL!
Those versions miss few features (DITAA for example), but is 100% able to generate UML diagrams.
You can print the license of these versions using the command line option:
java -jar plantuml.jar -license
@startuml license @enduml
•Are images generated by PlantUML covered by the GPL/LGPL/ASL/EPL license ?
Images (whatever their format : PNG, SVG...) generated by the execution of PlantUML are owned by the author of their corresponding sources code (that is, their textual description in PlantUML language).
Images generated by the execution of PlantUML are not considered as covered work. You can do whatever you want with them.
The generated images can then be used without any reference to the GPL/LGPL/ASL/EPL license. It is not even necessary to stipulate that they have been generated with PlantUML, although this will be appreciate by PlantUML team.
There is an exception : if the textual description in PlantUML language is also covered by some license (like the GPL/LGPL/ASL/EPL), then the generated images are logically covered by this license.
•Can I redistribute the LGPL binary file PlantUML.jar and if there any constraints about it?
The only constraint is that you have to mention somewhere in your own license or in your documentation that you are using PlantUML and that PlantUML is distributed under LGPL.
You can then even sell your software and earn money, without any other contraints (although donation will be appreciate in that case :-)
•What it the license of the PlantUML syntax?
So you can use PlantUML comments into your own code : those comments are owned by yourself, and are not considered as covered work, and are not covered by the GPL/LGPL/APL/EPL license.
Only the current implementation (that is, PlantUML program) is licensed under GPL, LGPL, ASL or EPL. Note that the documentation (examples, notice) published in the PlantUML website is copyrighted. But you can still write your own documentation.
• I have a message "file not found" when running the Word Macro with Java 7!
Variable Name: PATH, Add to Value: ;C:\Program Files\Java\jre7\bin
Variable Name: CLASSPATH, Add to Value: ;C:\Program Files\Java\jre7\lib
If they do not exist, create new User Variables:
Variable Name: PATH, Add to Value: .;C:\Program Files\Java\jre7\bin.;
Variable Name: CLASSPATH, Add to Value: .;C:\Program Files\Java\jre7\lib.;
• I have a question that is not here!
Someone will try to answer your question there.

















