Exception in thread "main" java.lang.NoSuchMethodError: java/nio/ByteBuffer.limit(I)Ljava/nio/ByteBuffer; (loaded from /usr/lib/jvm/java-ibm-x86_64-80/jre/lib/rt.jar by <Bootstrap Loader>) called from class jline.internal.InputStreamReader (loaded from file:/usr/share/java/jline2.jar by sun.misc.Launcher$AppClassLoader@4b7a0fb9).
at jline.internal.InputStreamReader.<init>(InputStreamReader.java:104)
at jline.console.ConsoleReader.setInput(ConsoleReader.java:330)
at jline.console.ConsoleReader.<init>(ConsoleReader.java:248)
at org.python.util.JLineConsole.install(JLineConsole.java:107)
at org.python.core.Py.installConsole(Py.java:1744)
at org.python.core.PySystemState.initConsole(PySystemState.java:1258)
at org.python.core.PySystemState.doInitialize(PySystemState.java:1109)
at org.python.core.PySystemState.initialize(PySystemState.java:1023)
at org.python.core.PySystemState.initialize(PySystemState.java:979)
at org.python.core.PySystemState.initialize(PySystemState.java:974)
at org.python.util.jython.run(jython.java:263)
at org.python.util.jython.main(jython.java:142)
I would also assume that the bug is not in jython-stilts, but in jython itself. Could anyone just install jython (with the ibm-java80-jdk), and then just start "jython"?
From the terminal log:
Exception in thread "main" java.lang. NoSuchMethodErr or: java/nio/ ByteBuffer. limit(I) Ljava/nio/ ByteBuffer; (loaded from /usr/lib/ jvm/java- ibm-x86_ 64-80/jre/ lib/rt. jar by <Bootstrap Loader>) called from class jline.internal. InputStreamRead er (loaded from file:/usr/ share/java/ jline2. jar by sun.misc. Launcher$ AppClassLoader@ 4b7a0fb9) . InputStreamRead er.<init> (InputStreamRea der.java: 104) ConsoleReader. setInput( ConsoleReader. java:330) ConsoleReader. <init>( ConsoleReader. java:248) util.JLineConso le.install( JLineConsole. java:107) core.Py. installConsole( Py.java: 1744) core.PySystemSt ate.initConsole (PySystemState. java:1258) core.PySystemSt ate.doInitializ e(PySystemState .java:1109) core.PySystemSt ate.initialize( PySystemState. java:1023) core.PySystemSt ate.initialize( PySystemState. java:979) core.PySystemSt ate.initialize( PySystemState. java:974) util.jython. run(jython. java:263) util.jython. main(jython. java:142)
at jline.internal.
at jline.console.
at jline.console.
at org.python.
at org.python.
at org.python.
at org.python.
at org.python.
at org.python.
at org.python.
at org.python.
at org.python.
I would also assume that the bug is not in jython-stilts, but in jython itself. Could anyone just install jython (with the ibm-java80-jdk), and then just start "jython"?