From: Patrick P. <psy...@gm...> - 2018-01-04 02:47:21
|
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_ /Sent from Thunderbird Mail for Linux/ |