Public bug reported:
Jython 2.7.1 worked correctly under 17.10. After upgrading to 18.04, now
Kython won't run, citing a ByteBuffer error.
Output:
patrick@patrick-satellite-l675d:~$ jython
Exception in thread "main" java.lang.NoSuchMethodError:
java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer;
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)
My system is using OpenJDK 1.8.0_171, which I need as I work with Jython
and it is not compatible with Java9 yet.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: jython 2.7.1+repack-3
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: Unity:Unity7:ubuntu
Date: Tue May 15 19:07:34 2018
InstallationDate: Installed on 2018-01-28 (107 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
PackageArchitecture: all
SourcePackage: jython
UpgradeStatus: Upgraded to bionic on 2018-05-10 (5 days ago)
** Affects: jython (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1771476
Title:
Jython does not run under 18.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jython/+bug/1771476/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs