Log missing main class or module when running. Closes #69

This commit is contained in:
Erik C. Thauvin 2025-11-14 13:42:37 -08:00
parent 53e8e01455
commit 51a3f1162e
No known key found for this signature in database
GPG key ID: 776702A6A2DA330E

View file

@ -49,6 +49,9 @@ public class RunOperation extends AbstractProcessOperation<RunOperation> {
else if (mainClass() != null && !mainClass().isEmpty()){
args.add(mainClass());
}
else {
System.err.println("No main class or module specified.");
}
args.addAll(runOptions());