Forum Discussion

Anonymous's avatar
Anonymous
12 years ago

Known issue: "Error launching external diff program" after upgrading to Java 1.7.0_21 or Java 1.6.0_45


If you've previously been launching an external diff viewer from Collaborator just fine but suddenly begin to see this error:


 


"Error launching external diff program"


"Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified."


 


most likely you've recently upgraded to Java 1.7.0_21 or Java 1.6.0_45 causing our diff viewer launcher to fail. Oracle changed the way they handle paths containing spaces so if the path to your diff viewer contains spaces, it can no longer find the executable.


 


We will need to change our implementation to accommodate this change so we have submitted this issue to product development to address in a future maintenance release (ref. case 72222).


 


Please subscribe to this SmartBear forum thread to receive future release announcements:



 


In the meantime, you have several possible workarounds.

* Define a directory junction pointing to the executable location.

     (eg: $ mklink /j bc3 "C:\Program Files (x86)\Beyond Compare 3" and reference c:\bc3\BCompare.exe as your external diff command )

* Move your diff viewer executable to a directory path that does not contain spaces.

* Downgrade your Java


 

No Replies