Entering edit mode
4.8 years ago
K.Gee
▴
40
Hello everyone, Im struggling to install/run artemis dnaplot. I download the program from the website. I followed the instructions so I used these commands tar zxf artemis-unix-release-{version}.tar.gz
and artemis/dnaplotter
. I also tried to update and udgrade my linux system but still I got the following error after typing artemis/dnaplotter
.
Starting DNA Plotter with arguments: -mx2g -ms100m -noverify -Djdbc.drivers=org.postgresql.Driver -Dartemis.environment=UNIX
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: uk/ac/sanger/artemis/circular/DNADraw has been compiled by a more recent version of the Java Runtime (class file version 53.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: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:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)
I run these in my system:
- openjdk version "1.8.0_242"
- OpenJDK Runtime Environment (build 1.8.0_242-8u242-b08-0ubuntu3~18.04-b08)
- OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
- javac 10.0.2
Can please anyone can help me with this issue? I dont know much about java so I cant handly by myself. Thanks in advance.
Upgrade your Java.
so this is my java version : javac 10.0.2?
Type
java --version
I dont know what happened by my reply disappeared. So iam rewriting my reply. I typed java --version and I got this:
But nowhere mentioned about version 52/53 and java 9/11 as @genomax pointed me out.
You need to upgrade your Java. See java version history here.
Now i get it . thanks a lot!!!
From the program page you linked: