dnaplotter installation issues
0
0
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.

software error • 2.1k views
ADD COMMENT
0
Entering edit mode

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

Upgrade your Java.

ADD REPLY
0
Entering edit mode

so this is my java version : javac 10.0.2?

ADD REPLY
0
Entering edit mode

Type java --version

ADD REPLY
0
Entering edit mode

I dont know what happened by my reply disappeared. So iam rewriting my reply. I typed java --version and I got this:

  • 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)

But nowhere mentioned about version 52/53 and java 9/11 as @genomax pointed me out.

ADD REPLY
0
Entering edit mode

You need to upgrade your Java. See java version history here.

ADD REPLY
0
Entering edit mode

Now i get it . thanks a lot!!!

ADD REPLY
0
Entering edit mode

From the program page you linked:

The old v17.0.1 version of the Artemis software required Java version 1.8 to run. All recent releases from v18.0.0 onwards require a minimum of Java 9 and ideally Java 11. This must be installed first.

ADD REPLY

Login before adding your answer.

Traffic: 1074 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6