Minecraft increase allocated ram Java error "could not create Java virtual machine error"?
-
Okay, so I got Minecraft not too long ago and it's been lagging a little bit, so I decided to boost my performance I would dedicate more ram space to the game itself. This is how I did it: 1.I created a new folder (appropriately called New folder) and a text document on my desktop and placed the text document in the folder along with minecraft. 2.I inserted this into the text document: @ECHO OFF "C:\Program files (x86)\Java\jre6\bin\javaw.exe" -Xmx2048m -Xms2048m -jar "C:\Users\Tyler\Desktop\New folder\minecraft.exe 3.I saved the document with a .bat ending to make it into a batch file. In order for the increased ram dedicated to the game to take affect, you are apparently supposed to double click the batch file, but when I do that, I get a Javascript command screen with nothing in it and an error showed up saying "could not create the Java virtual machine". I've tried redoing the path in the batch file to be as exact as I can possibly get it to be, and I've updated my Java to the most current update in Java SE 6 and that hasnt worked. Anyone know anything else I can try?
-
Answer:
you can't run an exe (minecraft.exe in this case) in java! you should point it to a .jar file, not an .exe.
Tyler Gates at Yahoo! Answers Visit the source
Related Q & A:
- How to install Windows 8 as Virtualbox's (Virtual) Machine?Best solution by wikihow.com
- how to create a virtual image of an existing system?Best solution by Ask Ubuntu
- How to create some virtual machines in linux?Best solution by howtogeek.com
- How to connect to host from virtual machine on a specific port?Best solution by Super User
- How can I connect my VMware virtual machine to the Internet?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.