× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.

On 09-Dec-2013 13:06 -0800, Gary Thompson wrote:
Don't yet know why, but the batch file seems
to mishandle "set LOCAL_JAVA=%IZPACK_JAVA%\bin\javaw.exe"

I'm guessing the line of code:

if exist "%IZPAK_JAVA%\bin\javaw.exe"

does not work because of double quotes ?

Or perhaps a side effect of the spelling error? That is, %IZPACK_JAVA% <> %IZPAK_JAVA%

Or the opposite problem of what is alluded? That is, the lack of double-quote delimiting on the SET is an issue rather than the existence of the delimiters on the existence test.? Without delimiters, if the path has embedded blanks [e.g. \Program Files\...], then the value set for the one variable LOCAL_JAVA might contain only the characters up to the first blank in the value of the other variable IZPACK_JAVA [e.g. such that LOCAL_JAVA becomes just \Program and the exists appended with \bin\javaw.exe checks for the non-existent \Program\bin\javaw.exe file? I have no Win client on which to test. For both consistency and requirements to support a path with blanks, but perhaps the following modifications should be made in the .bat file?:

SET LOCAL_JAVA="%IZPACK_JAVA%\bin\javaw.exe"

IF EXIST "%IZPACK_JAVA%\bin\javaw.exe"

The following [effective; may require reformatting] web search reveals some possible issues [none mentioning IZPAK_JAVA so the above possibly originated as a transcription error into the message] and resolutions:

The following link [from the above search] seems to confirm something similar to my suggestion above.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.