Message10058

Author GelattD
Recipients GelattD, zyasoft
Date 2015-05-12.15:07:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431443270.73.0.964400507716.issue2353@psf.upfronthosting.co.za>
In-reply-to
Content
The 64-bit and 32-bit Java installations are in different locations:

C:\Programs\Jython2.7.0\bin>"C:\Program Files\Java\jre7\bin\java" -version
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

C:\Programs\Jython2.7.0\bin>"C:\Program Files (x86)\Java\jre7\bin\java" -version
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) Client VM (build 24.71-b01, mixed mode, sharing)

If I set JAVA_HOME to point to 64-bit Java and run the Jython exe, I get the Issue2346 error:

C:\Programs\Jython2.7.0\bin>set JAVA_HOME
JAVA_HOME="C:\Program Files\Java\jre7"
C:\Programs\Jython2.7.0\bin>jython
Traceback (most recent call last):
  File "<string>", line 444, in <module>
  File "<string>", line 435, in main
  File "Z:\jythondev\jython27\src\shell\build\jython\out00-PYZ.pyz\subprocess", line 522, in call
  File "Z:\jythondev\jython27\src\shell\build\jython\out00-PYZ.pyz\subprocess", line 710, in __init__
  File "Z:\jythondev\jython27\src\shell\build\jython\out00-PYZ.pyz\subprocess", line 958, in _execute_child
WindowsError: [Error 5] Access is denied
History
Date User Action Args
2015-05-12 15:07:50GelattDsetmessageid: <1431443270.73.0.964400507716.issue2353@psf.upfronthosting.co.za>
2015-05-12 15:07:50GelattDsetrecipients: + GelattD, zyasoft
2015-05-12 15:07:50GelattDlinkissue2353 messages
2015-05-12 15:07:50GelattDcreate