Re: 2.7.0 "final release" non-functional on Windows?
Jim Baker <[email protected]>
| Newsgroups | gmane.comp.lang.jython.user |
|---|---|
| Message-ID | <CAOhO=aNU_+0DWkrNRHOrn-HZ0+vsqm-AzNmkJtadNXfqK4XtJA@mail.gmail.com> |
Mike, JAVA_HOME must be set such that %JAVA_HOME%\bin\java.exe is the Java executable. See this bug: http://bugs.jython.org/issue2346 It is important to note that some other possible settings for that environment variable do not work. Also it is important to set JAVA_HOME exactly per what Windows expects in terms of quoting, etc: set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_55 but not set JAVA_HOME="C:\Program Files\Java\jdk1.7.0_55" (Not at all the same!) The easiest way to debug these problems is with jython --print What you are seeing here is the Jython launcher (jython.exe), as wrapped with PyInstaller, is unable to find the java.exe - and that java.exe must be Java 7. The whole thing about "Z:\jythondev\jython27\src\shell\build\jython\out00-PYZ.pyz\subprocess", is due to the fact that I built jython.exe on my Z: drive, which mapped my OS X homedir onto my VMWare install of Windows 8.1. out00-PYZ.pyz refers to some internal scheme used by PyInstaller. We need to complete the release notes wiki update I mention on that bug! And of course fix that bug so it provides a better error message and possibly can recover in certain cases. - Jim On Wed, May 27, 2015 at 1:09 PM, Mike Rodent <[email protected]> wrote: > Dear all, > > Huge Jython fan. > > Excited by the idea of using pip with Jython I dloaded 2.7.0 "final > release" a few days ago. > > Totally non-functional on my Windows OS: W7, 64-bit. > > Please see my entry on Stack Overflow: jython.exe "2.7.0 final release" > failed execution on my Windows OS > <http://stackoverflow.com/questions/30410385/jython-exe-2-7-0-final-release-failed-execution-on-my-windows-os> > > Very keen to have explanation/solution! > > Mike > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Jython-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jython-users > > -- - Jim jim.baker@{colorado.edu|python.org|rackspace.com|zyasoft.com} twitter.com/jimbaker github.com/jimbaker bitbucket.com/jimbaker ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jython-users