Message3672
Finally I begin to understand the cause of the problem.
The cmd shell transscript below (Windows Vista, 32bit) shows that
jython.bat breaks if the environment variable JAVA_HOME is not quoted,
and works if JAVA_HOME is quoted:
C:\stuff\jython\jython-2.5a3\bin>set JAVA_HOME
JAVA_HOME=C:\Program Files\Java\jre1.6.0_07
C:\stuff\jython\jython-2.5a3\bin>jython.bat
"Files\Java\jre1.6.0_07]" kann syntaktisch an dieser Stelle nicht
verarbeitet werden.
C:\stuff\jython\jython-2.5a3\bin>set JAVA_HOME="C:\Program
Files\Java\jre1.6.0_07"
C:\stuff\jython\jython-2.5a3\bin>set JAVA_HOME
JAVA_HOME="C:\Program Files\Java\jre1.6.0_07"
C:\stuff\jython\jython-2.5a3\bin>jython.bat
Jython 2.5a3 (trunk:5315:5317, Sep 10 2008, 20:54:23)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_07
Type "help", "copyright", "credits" or "license" for more information.
>>>
Since we cannot make assumptions how a user will define JAVA_HOME, I
have to find a way for empty-test JAVA_HOME both in the quoted and
unquoted case. |
|
Date |
User |
Action |
Args |
2008-10-13 16:37:12 | otmarhumbel | set | messageid: <1223915832.81.0.197862351027.issue1125@psf.upfronthosting.co.za> |
2008-10-13 16:37:12 | otmarhumbel | set | recipients:
+ otmarhumbel, fwierzbicki, mr_tines, foripperz |
2008-10-13 16:37:12 | otmarhumbel | link | issue1125 messages |
2008-10-13 16:37:12 | otmarhumbel | create | |
|