I am creating one java JAR file for my project work. It works well in windows by double clicking.
But, for linux , i need to write one shell script and just clicking that script( like .bat file in windows), it will initiate the jar file.
pls, give me example and how to write that shell script in linux.

Also, i want to write that jar file in cd and make cd as auto mount using shell script. if any one have idea , share with me.

thank you.