ASTRAL icon indicating copy to clipboard operation
ASTRAL copied to clipboard

Error: Unable to initialize main class phylonet.coalescent.CommandLine

Open sunnyEV opened this issue 2 years ago • 2 comments

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.

sunnyEV avatar Jun 24 '22 03:06 sunnyEV

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.

swamish avatar Jun 25 '22 23:06 swamish

Thanks mate.

sunnyEV avatar Jul 02 '22 00:07 sunnyEV