Error: Unable to access jarfile exited: 1 code example
Example 1: unable to access jarfile
java -jar myjar.jar
Example 2: unable to access jarfile
java -jar "%~dp0\myjar.jar"
java -jar myjar.jar
java -jar "%~dp0\myjar.jar"