I have created a JAR file, it is in "out" folder of my project, at this time the format of this file is Executable Jar File, but when I copy this file to another folder it cannot run and it says error unable to access jar file, now the format of the file is JAR file but it isn't executable jar file.
I hope to be able to keep the format of the file as executable jar file so that it can be executed on another machine at any time.
I hope someone can help me with this error and explain why it is giving me this error.