Beast2 install in Linux

1,014 views
Skip to first unread message

Franz St John

unread,
Mar 10, 2015, 10:50:08 PM3/10/15
to beast...@googlegroups.com
I was successfully tinkering with BEASTv1.8.1 when I realized that I should probably be using BEAST2. All associated programs were working (e g, beast, beauti, logcombiner, treeannotator...and so on). I downloaded BEAST2 for linux and unzipped in my programs folder.  Replaced the path to BEAST1.8.1 with the path to BEAST/bin in my bashrc file.  Restarted for good luck.

I get the below message from any of the command line scripts such as beast or beauti except densitree, which appears to opens fine.  Making the individual .jar files in BEAST/lib executable would not open them in Java 7 or 6 except for DensiTree which opened in Java 6. I'm sure I've done something silly, any guidance would be appreciated.

Franz

~$ beast
jardir = /home/fjstjohn/programs/BEAST/lib/launcher.jar
Checking out /home/fjstjohn/programs/BEAST/lib/lib
Checking out /home/fjstjohn/programs/BEAST/lib
Loaded URL file:/home/fjstjohn/programs/BEAST/lib/beast.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: beast/evolution/alignment/Alignment : Unsupported major.minor version 52.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:191)
    at beast.app.beastapp.BeastLauncher.loadBEASTJars(Unknown Source)
    at beast.app.beastapp.BeastLauncher.main(Unknown Source)

Remco Bouckaert

unread,
Mar 10, 2015, 10:53:40 PM3/10/15
to beast...@googlegroups.com
Hi Franz,

Most applications in the BEAST v2.2 package require Java 8.

Cheers, Remco


--
You received this message because you are subscribed to the Google Groups "beast-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beast-users...@googlegroups.com.
To post to this group, send email to beast...@googlegroups.com.
Visit this group at http://groups.google.com/group/beast-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages