Running the from class inside the JAR file load.jar is possible via
java -jar load.jar
When you are doing, you need to define your application entry point. Usually this is done by providing the manifest file that contains a Main-Class tag. The argument load is 2 can be supplied like in a normal Java applications:
java -jar load.jar load=2
Having also my current directory contained in my class path, required to also make use of my Class-Path tag.
Want to be a Linux expert? Come and join this linux course