Public bug reported:
After installing jmodeltest via apt, it simply fails to run.
This happens in both Ubuntu and Xubuntu 20.04
How to reproduce:
```
sudo apt install jmodeltest
jmodeltest
```
Expected:
jmodeltest should launch
What happens:
jmodeltest fails tostrart with the message:
/usr/bin/jmodeltest:9 : Can't open /usr/lib/java-wrappers.sh
Install the package "java-wrappers", works around the issue, but
jmodeltest still fails to run, now with the following error:
```
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError:
mpi/MPIException 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:757)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
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:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at
sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:650)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:632)
```
I was unable to work around this error, and had to resort to the binary
distributed in github. =-(
** Affects: jmodeltest (Ubuntu)
Importance: Undecided
Status: New
** Tags: java
** Tags added: java
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1967774
Title:
jmodeltest fails to start with the error: /usr/bin/jmodeltest:9 :
Can't open /usr/lib/java-wrappers.sh
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jmodeltest/+bug/1967774/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs