.
• 0 views
•
link
I seem to get the same error message when I try to do anything using SnpEff. It seems like other people have addressed this error by updating java, but I have tried that and think I have the most up to date version (build 1.7.0_67-b01). Any help would be greatly appreciated. Thank you.
Error Message:
Exception in thread "main" java.lang.UnsupportedClassVersionError: ca/mcgill/mcb/pcingola/snpEffect/commandLine/SnpEff : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
=]
.
I'm downloaded and installed snpEff_v3_6_core.zip, it works fine, maybe you can have a try too.
For your information, my java version is 1.7.0_09-icedtea, running on 64bit OS.
May I know if you're stucked at which session, when you're building database or annotating variants file?
Log in to answer this question.
what's the version of snpEff ?
I think it's LGPLv3 - I just tried redownloading it today
I guess it's called "snpEff_latest_core.zip"
I wonder if the newest version got compiled with j2se v 8, since otherwise it should be compatible with version 7, which is what you're running. Perhaps upgrading java will fix this?
Devon is right jdk8:
but the error message is weird. Snpeff seems to work with my jdk7Thanks for confirming. Given that snpEff is explicitly supposed to work with jdk7 could someone report this to the author?
It doesn't mean that it's an error. I think you can compile with a modern jdk and produce an legacy code.