Message3659

Author jaraco
Recipients jaraco
Date 2008-10-11.17:08:38
SpamBayes Score 0.001750349
Marked as misclassified No
Message-id <1223744919.86.0.063213372247.issue1149@psf.upfronthosting.co.za>
In-reply-to
Content
With jython 2.5a3 on Windows Vista 32-bit with Java installed in
c:\Program Files\Java\jdk and Java installed to c:\Program
Files\Java\jython, and both paths set in the environment, I get the
following error:

C:\Users\jaraco>"c:\Program Files\Java\jython\bin\jython.bat" -V
Files\Java\jdk] was unexpected at this time.

This occurs during the first few lines of jython.bat (where it's
detecting _JAVA_CMD).

It appears as if the syntax of the if statement is incorrect for names
with spaces in them.  Consider

set _JAVA_CMD=java
if not "%JAVA_HOME%" == "" (
   set _JAVA_CMD=%JAVA_HOME%\bin\java
)
History
Date User Action Args
2008-10-11 17:08:40jaracosetrecipients: + jaraco
2008-10-11 17:08:39jaracosetmessageid: <1223744919.86.0.063213372247.issue1149@psf.upfronthosting.co.za>
2008-10-11 17:08:39jaracolinkissue1149 messages
2008-10-11 17:08:38jaracocreate