How to run .jar trough terminal ith more RAM allocated on Mac
===

I want to run a .jar program on my Mac from a "bat" file or w/e dont know what it is on Mac.

Why I wan't to do this is because I want to allocate more RAM to the .jar.

Can anyone help out on how to do so? :)

I just want to click on a file and it opens up the .jar file with more RAM allocated automatic. 