Hi, I was having problems with minecraft running out of memory but have solved this using a .bat file to specify the amount of usable memory, however, now the command window stays on the desktop when minecraft is open and doesn't close on its own when i close minecraft.
Basically I want it to be hidden when minecraft is running and close automatically when i close minecraft.
Below is the batch file I'm currently using, any help is appreciated.
Basically I want it to be hidden when minecraft is running and close automatically when i close minecraft.
Below is the batch file I'm currently using, any help is appreciated.
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx2048M -Xms2048M -jar minecraft.jar
PAUSE