This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Cannot run program "dot"  RSS feed

Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to reverse engineer Java to UML . I am running on OS 10.6. I am using UMLGraph.jar. I have set the dot in my classpath and it shows up , when i do echo $PATH,


I am still getting the below error when i run Generate Java DOC from eclipse:
Doclet name: org.umlgraph.doclet.UmlGraphDoc
Doclet class path: /Users/lonmc021/Documents/devt/TropicsWS/Tropics/UmlGraph.jar Cannot run program "dot": error=2, No such file or directory
at java.lang.ProcessBuilder.start(
at java.lang.Runtime.exec(
at java.lang.Runtime.exec(
at org.umlgraph.doclet.UmlGraphDoc.runGraphviz(
at org.umlgraph.doclet.UmlGraphDoc.generatePackageDiagrams(
at org.umlgraph.doclet.UmlGraphDoc.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
Caused by: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(
at java.lang.ProcessImpl.start(
at java.lang.ProcessBuilder.start(
... 15 more

Any clues ?
[Thumbnail for Screen-shot-2011-06-28-at-12.36.13-(2).png]
[Thumbnail for Screen-shot-2011-06-28-at-12.37.11.png]
[Thumbnail for Screen-shot-2011-06-28-at-12.39.44-(2).png]
Posts: 2633
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at section "Make Graphviz available" on this site:

And check if you have met all installation requirements:
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!