Menu

error while generating PlantUML in doxygen

wschleifer
2015-10-06
2015-10-21
  • wschleifer

    wschleifer - 2015-10-06

    Hello all,

    I have an problem with generating PlantUML out of doxygen.

    Here my setup:

    java –version :
    java version "1.8.0_60"
    Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
    Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

    Java Path setting in windows7 x64:
    C:\ProgramData\Oracle\Java\javapath

    PlantUML.jar folder:
    C:\Program Files\PlantUML

    Doxyfile settings:
    PLANTUML_JAR_PATH = "C:/Program Files/PlantUML"

    My Error:
    error: Problems running PlantUML. Verify that the command 'java -jar "C:/Program Files/PlantUML\plantuml.jar" -h' works from the command line. Exit code: 2

    What is meant with exit code 2?

    but on cmd:
    java -jar "C:/Program Files/PlantUML\plantuml.jar" –h
    works fine. The help screen is showed.

    When I generate the PlantUML manual per cmd the .png files are generated(out of the .pu files) . So I think my code files are right "documented".

    (/*!
    @startuml
    
    [*] -> eNotInitialized__0
    
    eNotInitialized__0 : state machine not initialized
    eNotInitialized__0 --> eInit__1 : Init done
    
    eInit__1 : init of state machine
    eInit__1 --> eWaitVIN__2
    ....
    ...
    ...
    eFinish__13 : all done
    eFinish__13 --> eWaitForEntry__5: restart
    
    @enduml
    */)
    

    Can you help me? Where is my mistake? Anything missing?

    Thanks in advance,

    Werner.

     

    Last edit: wschleifer 2015-10-06
  • wschleifer

    wschleifer - 2015-10-21

    now the problem is solved with a new java update to V1.8.0_65

     

Log in to post a comment.