You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run the latest release of BEAST2 on a linux HPC from the command line so that I can increase the memory allotment. I had been trying to build from source originally locally, but then just downloaded the linux build from the release.
When I try to use the launcher.jar to run it (e.g. java -jar beast/lib/launcher.jar -h), the following error appears:
java.lang.ClassNotFoundException: beastfx.app.beast.BeastMain
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at beast.pkgmgmt.BEASTClassLoader.forName(Unknown Source)
at beast.pkgmgmt.launcher.BeastLauncher.run(Unknown Source)
at beast.pkgmgmt.launcher.BeastLauncher.main(Unknown Source)
I can't work out why it would be trying to pull from beastfx however?
The recommended way to run BEAST is through the script in beast/bin/beast. It sets up the environment, and (if not already installed) installs the BEAST.base and BEAST.app packages. If you want to change memory requirements, just edit the values of -Xss256m -Xmx8g in the last line in the script.
The BEAST.base package contains basic functionality, but no applications and is maintained in the beast2 repository. The BEAST.app package contains applications like BEAST, BEAUti, etc. and is maintained in the BeastFX repository. Hope that explains why it is referring to beastfx.
Hi,
I am trying to run the latest release of BEAST2 on a linux HPC from the command line so that I can increase the memory allotment. I had been trying to build from source originally locally, but then just downloaded the linux build from the release.
When I try to use the launcher.jar to run it (e.g. java -jar beast/lib/launcher.jar -h), the following error appears:
java.lang.ClassNotFoundException: beastfx.app.beast.BeastMain
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at beast.pkgmgmt.BEASTClassLoader.forName(Unknown Source)
at beast.pkgmgmt.launcher.BeastLauncher.run(Unknown Source)
at beast.pkgmgmt.launcher.BeastLauncher.main(Unknown Source)
I can't work out why it would be trying to pull from beastfx however?
Java info:
openjdk 17.0.4 2022-07-19
OpenJDK Runtime Environment Temurin-17.0.4+8 (build 17.0.4+8)
OpenJDK 64-Bit Server VM Temurin-17.0.4+8 (build 17.0.4+8, mixed mode, sharing)
Thanks!
Verity
The text was updated successfully, but these errors were encountered: