Issue2249

classification
Title: Jython launcher finding Java home directory
Type: Severity: normal
Components: Core Versions: Jython 2.5
Milestone:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: srm, zyasoft
Priority: Keywords:

Created on 2015-01-09.17:24:00 by srm, last changed 2016-10-27.12:21:18 by zyasoft.

Messages
msg9373 (view) Author: Sandeep Murthy (srm) Date: 2015-01-09.17:24:00
Hi

I've installed Jython v. 2.5.4rc1 on my Mac (running OS X 10.10.1 with the latest Java SDK 1.8 installed).  It is installed in ~/jython2.5.4rc1 which is fine, but when I try to run the main program jython in ./bin then it appears to be pointing to the wrong directory to find the JRE, e.g.

$ jython
./jython: line 262: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Homep/bin/java: No such file or directory.

The 'Homep' subtring here is wrong, the JVM is in /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java.

The installation seemed fine, but I can't get it to run because of this problem.

Please suggest a solution.
msg9624 (view) Author: Jim Baker (zyasoft) Date: 2015-03-11.23:20:55
You may want to try Jython 2.7 beta 4. Also we have a new launcher, which you can try with bin/jython.py On OS X 10.10.1, this new launcher's dependency of CPython 2.7 is installed by default (https://docs.python.org/3/using/mac.html#getting-and-installing-macpython)
History
Date User Action Args
2016-10-27 12:21:18zyasoftsetstatus: pending -> closed
2016-10-19 17:28:38zyasoftsetstatus: open -> pending
resolution: out of date
2015-03-11 23:21:54zyasoftsettitle: Jython main program -> Jython launcher finding Java home directory
2015-03-11 23:20:55zyasoftsetnosy: + zyasoft
messages: + msg9624
2015-01-09 17:24:00srmcreate