roettig / NRPSpredictor2

NRPSpredictor2 is a program to predict the specificity of bacterial and fungal adenylation domains.
7 stars 6 forks source link

Error: Could not find or load main class org.roettig.NRPSpredictor2.NRPSpredictor2 #6

Open yzjie6 opened 2 years ago

yzjie6 commented 2 years ago

Hi,

When I download it and run it on Linux, this error happen. Do you have some solutions to it?

Thanks a lot :)

Krasnopeev commented 1 year ago

hi @yzjie6 I solve that! Maven makes a directory target/ after building. You need to add this path to runNRPSpredictor2.sh file. my working runNRPSpredictor2.sh file looks like:

#!/bin/bash
java -Ddatadir=data -cp target/org.roettig.NRPSPredictor2-1.0.0-SNAPSHOT-jar-with-dependencies.jar org.roettig.NRPSpredictor2.NRPSpredictor2 $*