Christoph Lipka wrote
> Am 01.07.2015 um 18:32 schrieb rkennerly:
>> 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):
> 
> That's becoming a pain though as soon as the JRE is updated.
> 
> I had this issue, too; it appears that, as of recently, Windows refuses 
> to execute symbolic links with an ".exe" extension. On the interwebs 
> there are some hints that this change in behaviour was introduced with 
> security update KB3039066 (see 
> https://support.microsoft.com/en-us/kb/3039066), and indeed selectively 
> uninstalling that update fixed the problem for me. (Obviously you'll 
> have to live with an unpatched potential security issue instead, so you 
> may choose not to go that way.)

Yes - I see the problem has wider scope than I thought; I tried other
symlinks (created with mklink.exe from command prompt) and indeed I cannot
execute programs through these symlinks via explorer but can use them
successfully from command prompt.

I'm not a Java developer (C++) so I don't know what the scope of this
problem is (how many programs are affected given that there are other ways
to run java), but I found a link about this problem on an Oracle discussion
thread from April 1, 2015, so the problem has been around for at least three
months:

https://community.oracle.com/thread/3695801
<https://community.oracle.com/thread/3695801>  

As of now, I'm launching doxygen from Visual Studio in an nmake project and
I'm patching the path there (as above) - this will have to suffice until
Oracle fixes the problem or offers a safe alternative.




--
View this message in context: 
http://doxygen.10944.n7.nabble.com/doxywizard-can-t-run-PlantUML-tp7188p7262.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