Re: Error running Jython3
Isaiah Peng <[email protected]>
| Newsgroups | gmane.comp.lang.jython.devel |
|---|---|
| Message-ID | <CAFxYmVoZ0wX6R5egV6VLERkU2AM4p8Qiwtb-OGiSwzw9ZJH5jw@mail.gmail.com> |
Hi Patrick, That's my fault, I forgot to commit the "frozen" module, also the path is hardcoded, but will handle that later. Will let you know when I have a fix. Regards, Isaiah On Thu, 4 Jan 2018 at 03:47 Patrick Palczewski <[email protected]> wrote: > I was able to find the Jython3 package on GitHub, so I coned the > reposaitory. > > I built it with Ant like I did for Jython 2.7.2a1+ (seeing no other > instructions in the README file). It reported a successful build. I am > using the openJDK-9 (well, my system says: javac 9-internal). Could that be > the reson? I've had no problems until now and works when building 2.7.2. > > When I execute ./jython, I get the following: > > java.io.FileNotFoundException: > src/resources/frozen_importlib/_frozen_importlib.class (No such file or > directory) > at java.io.FileInputStream.open0(Native Method) > at java.io.FileInputStream.open(FileInputStream.java:195) > at java.io.FileInputStream.<init>(FileInputStream.java:138) > at org.python.core.PySystemState.doInitialize(PySystemState.java:1152) > at org.python.core.PySystemState.initialize(PySystemState.java:1007) > at org.python.core.PySystemState.initialize(PySystemState.java:962) > at org.python.core.PySystemState.initialize(PySystemState.java:957) > at org.python.util.jython.run(jython.java:254) > at org.python.util.jython.main(jython.java:141) > Exception in thread "main" java.lang.NullPointerException > at org.python.core.imp.import_next(imp.java:735) > at org.python.core.imp.import_first(imp.java:770) > at org.python.core.imp.load(imp.java:616) > at org.python.core.Py.importSiteIfSelected(Py.java:1922) > at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:114) > at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:92) > at > org.python.util.InteractiveInterpreter.<init>(InteractiveInterpreter.java:39) > at > org.python.util.InteractiveInterpreter.<init>(InteractiveInterpreter.java:28) > at > org.python.util.InteractiveConsole.<init>(InteractiveConsole.java:68) > at > org.python.util.InteractiveConsole.<init>(InteractiveConsole.java:54) > at > org.python.util.InteractiveConsole.<init>(InteractiveConsole.java:34) > at org.python.util.jython.run(jython.java:275) > at org.python.util.jython. > > Should I build with a different Java? I have JDK1.8.0_151 and OpenJDK-8 > also. > > My system is Ubuntu 16.04. > > > Thanks, > - *Patrick Palczewski* > *VRS# 818.208.2344 <(818)%20208-2344>* > *Sent from Thunderbird Mail for Linux* > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Jython-dev mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jython-dev > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jython-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jython-dev