Okay, so I have a friend who is developing an online game and needs java to run.
It is fully done on windows as a .bat file and it has a .jar file.
Now, when I would like to open it on mac, the .Jar will not work.
If I would like to actually use it I have to do this...
What I would like to do is add a .command file or any other type of file that will do it for you. All you will have to do is double-click on it and it will open on its own.
I believe if I put the .command file into the folder, it will automatically have the Directory Changed.
I just need to know how to make it run the client by having it automatically enter "java -Xmx512m Gui".
How can I do this?
Thanks!
It is fully done on windows as a .bat file and it has a .jar file.
Now, when I would like to open it on mac, the .Jar will not work.
If I would like to actually use it I have to do this...
Code:
[COLOR="Green"]1. Open Terminal
2. type "cd (drag file here)"
3. Enter the text "java -Xmx512m Gui" and press enter.
4. It is now open.[/COLOR]
What I would like to do is add a .command file or any other type of file that will do it for you. All you will have to do is double-click on it and it will open on its own.
I believe if I put the .command file into the folder, it will automatically have the Directory Changed.
I just need to know how to make it run the client by having it automatically enter "java -Xmx512m Gui".
How can I do this?
Thanks!