import vm.VirtualMachine;

public class Main {
    public static void main(String[] args) {
        if(args.length != 0) {
            VirtualMachine virtualMachine = new VirtualMachine();
            virtualMachine.loadProgram(args[0]);
            virtualMachine.start();
        } else {
            System.err.println("Missing argument with ROM path.");
        }
    }
}

import vm.VirtualMachine;

public class Main {
    public static void main(String[] args) {
        if(args.length != 0) {
            VirtualMachine virtualMachine = new VirtualMachine();
            virtualMachine.loadProgram(args[0]);
            virtualMachine.start();
        } else {
            System.err.println("Missing parameter with ROM path.");
        }
    }
}

--- 
+++ 
@@ -7,7 +7,7 @@
             virtualMachine.loadProgram(args[0]);
             virtualMachine.start();
         } else {
-            System.err.println("Missing parameter with ROM path.");
+            System.err.println("Missing argument with ROM path.");
         }
     }
 }
Change error info when ROM is missing
