Pilz

minecraft java .bat file contents

Dec 2nd, 2014
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. @ECHO OFF
  2.  
  3. :: When setting the memory below make sure to include the amount of ram letter. M = MB, G = GB. Don't use 1GB for example, it's 1G ::
  4.  
  5. :: This is 64-bit memory ::
  6. set memsixtyfour=2G
  7.  
  8. :: This is 32-bit memory - maximum 1.2G ish::
  9. set memthirtytwo=1G
  10.  
  11. :: Don't edit past this point ::
  12.  
  13. if $SYSTEM_os_arch==x86 (
  14. echo OS is 32
  15. set mem=%memthirtytwo%
  16. ) else (
  17. echo OS is 64
  18. set mem=%memsixtyfour%
  19. )
  20. java -Xmx%mem% -XX:MaxPermSize=256M -jar forge-1.6.4-9.11.1.965-universal.jar nogui
  21. PAUSE
Add Comment
Please, Sign In to add comment