Author jeff.allen
Recipients adamburke, brettcannon, jeff.allen, stefan.richthofer, zyasoft
Date 2018-02-28.23:21:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Much work was done on the launcher since 2.7.0: the spurious directory prefixes are gone, and JAVA_HOME not set at all is dealt with. But when JAVA_HOME is invalid, the message is no better:

PS jython-trunk> $env:JAVA_HOME="c:\foo"
PS jython-trunk> dist\bin\jython  -c "print 42"
Traceback (most recent call last):
  File "", line 540, in <module>
  File "", line 531, in main
  File "", line 168, in call
  File "", line 390, in __init__
  File "", line 640, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified
[15152] Failed to execute script jython

The uninformative message is the fault of CPython I suppose one could catch the exception and print what failed (the same thing as --print).

I take "In combination with the almost useless error-message this is a really a must-fix for 2.7.1" to be a vote for this in 2.7.2.
Date User Action Args
2018-02-28 23:21:36jeff.allensetmessageid: <>
2018-02-28 23:21:36jeff.allensetrecipients: + jeff.allen, zyasoft, stefan.richthofer, adamburke, brettcannon
2018-02-28 23:21:36jeff.allenlinkissue2346 messages
2018-02-28 23:21:35jeff.allencreate