Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BEAST 2.7.6 not launching on Mac #1139

Open
kbhoehn opened this issue Feb 22, 2024 · 0 comments
Open

BEAST 2.7.6 not launching on Mac #1139

kbhoehn opened this issue Feb 22, 2024 · 0 comments

Comments

@kbhoehn
Copy link

kbhoehn commented Feb 22, 2024

Hello,

Thanks for developing this great software. I've been having a lot of trouble getting BEAST to work on my Mac (Ventura 13.5, M2 chip). When I try to run BEAST, I get this error:

/Applications/BEAST\ 2.7.6/bin/beast
Exception in thread "main" java.lang.UnsupportedClassVersionError: beast/base/core/BEASTVersion2 has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(Unknown Source)
at java.base/java.security.SecureClassLoader.defineClass(Unknown Source)
at java.base/java.net.URLClassLoader.defineClass(Unknown Source)
at java.base/java.net.URLClassLoader$1.run(Unknown Source)
at java.base/java.net.URLClassLoader$1.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.net.URLClassLoader.findClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at beast.pkgmgmt.MultiParentURLClassLoader.loadClass(Unknown Source)
at beast.pkgmgmt.MultiParentURLClassLoader.loadClass(Unknown Source)
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.base/java.lang.Class.getMethodsRecursive(Unknown Source)
at java.base/java.lang.Class.getMethod0(Unknown Source)
at java.base/java.lang.Class.getMethod(Unknown Source)
at beast.pkgmgmt.launcher.BeastLauncher.run(Unknown Source)
at beast.pkgmgmt.launcher.BeastLauncher.main(Unknown Source)

I've tried setting JAVA_HOME to the version of JRE 17 that's distributed with the package, as well as uninstalling every other version of Java on my computer, but I get the same error. Any help would be much appreciated.

Thanks,
-Ken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant