Once installation is complete you should first try creating some Sequence Diagrams
. Since these work without Graphviz this is the fastest way to check that the installation worked. If they do not work, other diagrams will probably not work
You should make sure to test Sequence Diagrams
using the command line and not in the target tool you want to install (Eclipse, Word, Mediawiki...) :
java -jar plantuml.jar -verbose sequenceDiagram.txt
file, you can have a very simple test:
Alice -> Bob: test
flag is used to generated some logs that you can send to us, if no image is generated.
Under Unix, you must have X11 librairies installed (which is done by default). Otherwise, you will have some HeadlessException
. You may have to add a flag
in the command line
If this is working, but not in your tool, it is probably due to a specific tool issue:
On MediaWiki & Windows, you must set the read & execute permissions on
for the account the PHP web service extension is running under. PHP needs those permissions to "fork" other processes.
Once sequence diagrams are working fine, you can focus on other diagrams.
If Graphviz is not installed on your system, you have to install it first
Under Linux, try to launch
command into a command shell. You may
have to finalize the installation by typing
. You may have to set GRAPHVIZ_DOT
variables if you have not chosen the default installation directory of Graphviz.
To test the installation of Graphviz, you can use the command line:
java -jar plantuml.jar -testdot
You can also use this special diagram description:
Once again, you should test using the command line and the
java -jar plantuml.jar -verbose classDiagram.txt
file can be very simple:
A <|-- B
If you still have issues, then you can send us a mail