Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Help with allocating more memory to Minecraft


11 Jul 2012   #1

Windows 7 Ultimate 32bit.
 
 
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   #2

Windows 7 x64 Professional SP1
 
 

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.

Name:  Capture1.PNG
Views: 10
Size:  17.5 KB


3) Click on Environment Variables

Name:  Capture2.PNG
Views: 12
Size:  20.1 KB


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)

Name:  Capture3.PNG
Views: 8
Size:  21.1 KB


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.


Name:  Capture4.PNG
Views: 12
Size:  22.8 KB


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   #3

Windows 7 Home Premium 64bit
 
 

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   #4

Windows 7 x64 Professional SP1
 
 

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




Thread Tools



Similar help and support threads for2: Help with allocating more memory to Minecraft
Thread Forum
Re-allocating partitions Hardware & Devices
How do I add memory to Minecraft Gaming
Solved Help with allocating 2nd hard drive. Hardware & Devices
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

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 12:51 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33