ASTRAL
ASTRAL copied to clipboard
Error: Unable to initialize main class phylonet.coalescent.CommandLine
Describe the bug Its a java error Error: Unable to initialize main class phylonet.coalescent.CommandLine Caused by: java.lang.NoClassDefFoundError: com/martiansoftware/jsap/StringParser
To Reproduce
java -Xmx60g -jar astral.5.7.1.jar -i mlbest.trees -b mlboot.txt -o species_boot.trees > species_boot.trees.log
Log file Error: Unable to initialize main class phylonet.coalescent.CommandLine Caused by: java.lang.NoClassDefFoundError: com/martiansoftware/jsap/StringParser
** Version** 5.7.1
Additional context Add any other context about the problem here.
I was facing the same problem. It seems like ASTRAL is looking for lib/JSAP-2.1.jar
but I had moved the astral.5.7.1.jar
file away and I was running it directly. Running the astral.5.7.1.jar
file when it is inside the ASTRAL directory solved the issue.
Thanks mate.