Error running Jython3

Patrick Palczewski <[email protected]>
Newsgroups gmane.comp.lang.jython.devel
Message-ID <[email protected]>
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/

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.