java -jar plantuml.jar -verbose sequenceDiagram.txt
sequenceDiagram.txtfile, you can have a very simple test:
@startuml Alice -> Bob: test @enduml
-verboseflag 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
-Djava.awt.headless=truein 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
C:\Windows\system32\cmd.exefor the account the PHP web service extension is running under. PHP needs those permissions to "fork" other processes.
dotcommand into a command shell. You may have to finalize the installation by typing
dot -C. 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:
@startuml testdot @enduml
Once again, you should test using the command line and the
java -jar plantuml.jar -verbose classDiagram.txt
classDiagram.txtfile can be very simple:
@startuml A <|-- B @enduml
If you still have issues, then you can send us a mail.