Windows 7 Forums


Windows 7: Help with allocating more memory to Minecraft

11 Jul 2012  
bogdan98nitu

Windows 7 Ultimate 32bit.
18 posts
 
 
Help with allocating more memory to Minecraft

I have 2GB of RAM and i use maybe half a gig.After doing some research I've seen some people allocating more memory to minecraft by creating a .bat file and inserting this coding (assuming I am using the correct words. Feel free to correct me):
java -Xmx512m -jar Minecraft2.jar
stop
When i run it,i get this error
Any suggestions about this problem?

My System SpecsSystem Spec

11 Jul 2012  
solarmystic

Windows 7 x64 Professional SP1
2,173 posts
Geordieland, Tyne and Wear
 
 

Hello there, bogdan98nitu

This error happens due to the fact that the PATH of your java installation is not set in your system's environment variables.

You need to add your Java's installation path into your system variables following these steps:-


1) Open the System Properties box by pressing win key/start, type in sysdm.cpl, right click on the entry that appears and select run as administrator.


2) Select the Advanced tab at the top of the box.

Help with allocating more memory to Minecraft-capture1.png


3) Click on Environment Variables

Help with allocating more memory to Minecraft-capture2.png


4) Next, head to the Path entry of your System variables box, select it, and press Edit.

(Scroll down until you find it; alternatively if you're the only user on the machine, you can perform these steps at the Path entry of your User variables box)

Help with allocating more memory to Minecraft-capture3.png


5) In the box that pops up, type in the full path of the location of your Java installation (e.g. C:\Program Files\Java), at the very end of the other variables by adding the ; symbol to the last entry present and following it up with your own.

In this example I'm adding some tools used by the Windows Performance Toolkit installed in the folder D:\Apps\WPT x64 to the path, notice the ; symbol after the previous entry.

DO
NOT delete any of the other variables.


Help with allocating more memory to Minecraft-capture4.png


6) Press OK, and OK again on the next box and another OK to the final box


7) Reboot your computer


The path of the java installation should be recognised and you shouldn't encounter that issue again

Hope that helps.
My System SpecsSystem Spec
11 Jul 2012  
ComputerN00b

Windows 7 Home Premium 64bit
32 posts
 
 

H all I was wondering im sure you've all seen the video tutorials where you change your java run time parameters but it never works Ive changed mine correctly as far as I no Ive restarted its still there and I open up minecraft no affect I don't get it is there a way to fix this please help !!!
My System SpecsSystem Spec
.


11 Jul 2012  
solarmystic

Windows 7 x64 Professional SP1
2,173 posts
Geordieland, Tyne and Wear
 
 

Quote   Quote: Originally Posted by ComputerN00b View Post
H all I was wondering im sure you've all seen the video tutorials where you change your java run time parameters but it never works Ive changed mine correctly as far as I no Ive restarted its still there and I open up minecraft no affect I don't get it is there a way to fix this please help !!!
You need to make a new thread in the gaming subforum to discuss this issue; it's off-topic and unrelated to the OP's main query which has been answered.
My System SpecsSystem Spec
Reply

 Help with allocating more memory to Minecraft problems?



Thread Tools



Similar help and support threads for: Help with allocating more memory to Minecraft
Thread Forum
How do I add memory to Minecraft Gaming
Solved Allocating memory Performance & Maintenance
Memory not allocating correctly -> Crashing on Win 7 64bit. Performance & Maintenance
Help with allocating more memory to Minecraft Gaming
How to prevent Hard Drive re-allocating Names ? General Discussion


All times are GMT -5. The time now is 04:51 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd