JDIC fails to start IeEmbed.exe on Vista
My app using using JDIC 0.9.5 works on Windows XP (using Java 1.6.0_07). But on Windows Vista, IeEmbed.exe fails to start.
I turned off UAC and ran the app as adminstrator as a suggested work-around in bug report 499, but that does not work either.
JDIC produces the following trace and error message:
*** Jtrace: Executing IeEmbed.exe
*** Jtrace: JDIC found BIN path=[C:\Program Files (x86)\DreamBeans\1.2\windows\x86]
Can't execute the native embedded browser. Error message: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
I verified that the above BIN path is correct by cutting and pasting the path into a cmd window as part of "dir" command (quoted because of spaces in the path name) and it worked. I haven't looked at the sources yet. But, from the error mesage, I suspect this problem is caused by JDIC using File.getCanonicalPath(), which is buggy on Windows and gives that kind of error message. If so, then JDIC should probably be using File.getAbsolutePath(), because it seems to work more reliably.
Will JDICplus 0.2.2 work properly on Windows Vista? If so, is there an short example that detects and uses JDICplus when on Windows and JDIC for Linux?