How to set the classpath to the current directory and also run the jar file named load.jar present in the current directory by providing the argument as load=
load.jar
load=
Under linux there's a package called binfmt-support that allows you to run directly your jar without typing java -jar:
binfmt-support
java -jar
sudo apt-get install binfmt-support chmod u+x my-jar.jar ./my-jar.jar # there you go!