diff --git a/build/windows/launcher/launcher.cpp b/build/windows/launcher/launcher.cpp index 80d6b496c..09fbe2fa6 100644 --- a/build/windows/launcher/launcher.cpp +++ b/build/windows/launcher/launcher.cpp @@ -108,8 +108,8 @@ WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow) FILE *fp = fopen(env_qtjava, "rb"); if (fp != NULL) { - // found it, all set to go - fclose(fp); + fclose(fp); // found it, all set + strcat(env_qtjava, ";"); // add path separator } else { strcpy(env_qtjava, getenv("WINDIR")); @@ -117,10 +117,12 @@ WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow) fp = fopen(env_qtjava, "rb"); if (fp != NULL) { - fclose(fp); + fclose(fp); // found it, all set + strcat(env_qtjava, ";"); // add path separator } else { - // serious problem, but will be caught by the pde + // doesn't seem to be installed, which is a problem. + // but the error will be reported by the pde env_qtjava[0] = 0; } } diff --git a/build/windows/launcher/processing.exe b/build/windows/launcher/processing.exe index d37cf3dcc..46b3872cf 100755 Binary files a/build/windows/launcher/processing.exe and b/build/windows/launcher/processing.exe differ