MikePelley wrote
> I am trying to use the doxywizard with PlantUML.  PlantUML works fine by
> itself.  But when the doxywizard gets to the step to invoke PlantUML, it
> throws up a dialog saying "choose the program you want to use to open this
> file: java.exe".  Why is it trying to "open" java.exe?  It should just run
> it!  I'm on Windows 7 Professional, 64-bit.  Doxygen is 1.8.9.1 installed
> from the binary distribution doxygen-1.8.9.1-setup.exe.
> 
> Any help is appreciated!

I found a work-around for this exact problem by side-stepping the "java.exe"
shortcut that is installed by the java installer (java version "1.8.0_45")
at "C:\ProgramData\Oracle\Java\javapath".  Look at your "Path" environment
variable in a command prompt window (type "path") and see if the directory
for java includes symlink entries as it does on my system (Win7 64 bit).  If
you look at "properties" for the shortcut called "java.exe" you can see
where it points to the real executable:

C:\ProgramData\Oracle\Java\javapath>dir
 Directory of C:\ProgramData\Oracle\Java\javapath
...
07/01/2015  09:01 AM    <SYMLINK>      java.exe [C:\Program Files
(x86)\Java\jre1.8.0_45\bin\java.exe]

So, I wrote a short batch file to prepend the actual install directory of
java to the front of my path that I can run before running doxygen (in the
same Command Prompt window):

REM Put the "real" java path in front of the one with a symlink to work with
doxygen:
set Path=C:\Program Files (x86)\Java\jre1.8.0_45\bin;%Path%

Now Plantuml diagrams are created fine via doxygen.

I would NOT recommend modifying your "Path" environment variable permanently
because this could open various security holes or break other things.

Hopefully someone will figure out the underlying problem with how java is
launched from doxygen and make plantuml work out-of-the-box.




--
View this message in context: 
http://doxygen.10944.n7.nabble.com/doxywizard-can-t-run-PlantUML-tp7188p7257.html
Sent from the Doxygen - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to