SnpEff error message
1
0
Entering edit mode
9.6 years ago
eb050187 • 0

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)
snpEff • 3.2k views
ADD COMMENT
0
Entering edit mode

what's the version of snpEff ?

ADD REPLY
0
Entering edit mode

I think it's LGPLv3 - I just tried redownloading it today

ADD REPLY
0
Entering edit mode

I guess it's called "snpEff_latest_core.zip"

ADD REPLY
0
Entering edit mode

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?

ADD REPLY
0
Entering edit mode

Devon is right jdk8:

Manifest-Version: 1.0
Build-Jdk: 1.8.0
Main-Class: ca.mcgill.mcb.pcingola.snpEffect.commandLine.SnpEff
but the error message is weird. Snpeff seems to work with my jdk7
ADD REPLY
0
Entering edit mode

Thanks for confirming. Given that snpEff is explicitly supposed to work with jdk7 could someone report this to the author?

ADD REPLY
0
Entering edit mode

It doesn't mean that it's an error. I think you can compile with a modern jdk and produce an legacy code.

ADD REPLY
0
Entering edit mode
9.6 years ago
amine • 0

=]

ADD COMMENT
0
Entering edit mode

.

ADD REPLY
0
Entering edit mode

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?

ADD REPLY

Login before adding your answer.

Traffic: 2781 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