title: Executing a jar file in bash script
body: <p>i want to write a bash script to execute a jar file.</p>
  
  <p>The thing is i can't just write java -jar filename.jar cause it's gonna have several versions like : </p>
  
  <p>filename-v1.0.jar</p>
  
  <p>filename-v1.5.jar</p>
  
  <p>filename-v2.0.jar</p>
  
  <p>but i dont wanna have to chance the script. Is there a way to just write something like java -jar filename$.jar or something ??</p>