I've been trying to allocate more RAM to my minecraft through Java 7 Update 21 64-bit. When I run my .bat file, this error pops up:
What am I doing wrong, and how can I fix it?
Also, I have looked for about 2 days for solutions and have found none, so please don't just say look it up.
When that happens you are invoking 32bit java. 2G is too much for 32bit Java so you get that error.
If you really have 64bit java install, then use the full path in your batch file, because as you have written it the OS will use whichever java is first in your PATH variable.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
What am I doing wrong, and how can I fix it?
Also, I have looked for about 2 days for solutions and have found none, so please don't just say look it up.
If you really have 64bit java install, then use the full path in your batch file, because as you have written it the OS will use whichever java is first in your PATH variable.