Public bug reported:

Here is another regression from the new packages in Bionic proposed-
updates:

$ apksigner
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
com/android/apksigner/ApkSignerTool has been compiled by a more recent version 
of the Java Runtime (class file version 55.0), this version of the Java Runtime 
only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)

I'm using OpenJDK 8 here.

This will be affecting the publishing of Android apps. ApkSigner is the
tool you use for signing the Application Archives.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: apksigner 0.8-2~18.04
ProcVersionSignature: Ubuntu 4.18.0-17.18~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-17-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 21 20:00:32 2019
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-04-21 (1063 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitecture: all
SourcePackage: android-platform-tools-apksig
UpgradeStatus: Upgraded to bionic on 2018-04-26 (328 days ago)

** Affects: android-platform-tools-apksig (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic package-from-proposed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821235

Title:
  java.lang.UnsupportedClassVersionError:
  com/android/apksigner/ApkSignerTool has been compiled by a more recent
  version of the Java Runtime (class file version 55.0), this version of
  the Java Runtime only recognizes class file versions up to 52.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/android-platform-tools-apksig/+bug/1821235/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to