Closed genya closed 5 years ago
Hi Genya,
Sorry the Java version requirement (8+) is documented in the wiki (https://github.com/aaronmck/FlashFry/wiki) but not on the main page. I'll add the requirement for Java version 8 to the main page as well. It might be possible to build from source for version 7, though I haven't tried in a long time.
Thank you! I should have checked the wiki.
-- Evgeni (Genya) Frenkel, PhD Whitehead Institute for Biomedical Research Lab of David M Sabatini http://sabatinilab.wi.mit.edu/membersDS.html
On Fri, Dec 28, 2018 at 1:33 PM Aaron McKenna notifications@github.com wrote:
Hi Genya,
Sorry the Java version requirement (8+) is documented in the wiki ( https://github.com/aaronmck/FlashFry/wiki) but not on the main page. I'll add the requirement for Java version 8 to the main page as well. It might be possible to build from source for version 7, though I haven't tried in a long time.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aaronmck/FlashFry/issues/7#issuecomment-450406194, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMV5kawK3yc80pEih9SBj3TApihLXJeks5u9mP1gaJpZM4ZkG9G .
No worries, I'll close this for now. Thanks for trying FlashFry out!
what version of Java should be used with FlashFry? The version on my system is java version "1.7.0_181" OpenJDK Runtime Environment (IcedTea 2.6.14) (7u181-2.6.14-0ubuntu0.3) OpenJDK 64-Bit Server VM (build 24.181-b01, mixed mode)
When I follow the quickstart instructions I get an error that seems to be caused by java version incompatibility:
$mkdir flashFry $cd flashFry/ $ wget https://github.com/aaronmck/FlashFry/releases/download/1.9.0/FlashFry-assembly-1.9.0.jar $ wget https://raw.githubusercontent.com/aaronmck/FlashFry/master/test_data/quickstart_data.tar.gz $ tar xf quickstart_data.tar.gz $gunzip *gz $java -Xmx4g -jar FlashFry-assembly-1.9.0.jar index --tmpLocation ./tmp --database chr22_cas9ngg_database --reference chr22.fa.gz --enzyme spcas9ngg
Exception in thread "main" java.lang.UnsupportedClassVersionError: main/scala/Main : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:808) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:443) at java.net.URLClassLoader.access$100(URLClassLoader.java:65) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.net.URLClassLoader$1.run(URLClassLoader.java:349) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:348) at java.lang.ClassLoader.loadClass(ClassLoader.java:430) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:323) at java.lang.ClassLoader.loadClass(ClassLoader.java:363) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)