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
bogdan98nitu

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
solarmystic

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
ComputerN00b

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
solarmystic

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
Thread Forum
Allocating space on new ext. HDD
With a new external HDD ... in Windows Disk Management the status is "Unallocated". When I RClick "Disc2" there are two options ... 1. Dynamic Disc 2. GPT Disk When I RClick the hatched area of Disc 2 there is another option
Hardware & Devices
Re-allocating partitions
Hi guys, nice forum you have over here. I've been directed here for help previously and many of the threads around here have saved my rear multiple times! I thought it's about time I signed up! Previously my machine was dual-booting Windows 7 and Ubuntu. It worked fine with no problems until I...
Hardware & Devices
How do I add memory to Minecraft
Hi all I have seen a couple of tutorials on how to add memory to Minecraft but none of them have worked very effervescently what is the best way I could do this ?
Gaming
Allocating memory
Helo everybody.I have just shrank a volume and now i have : System(C) and Data(E). How can i move 100gb of memory from C(System) to E(Data)? I hope my questions is pretty clear;)
Performance & Maintenance
Memory not allocating correctly -> Crashing on Win 7 64bit.
Hello guys! I've found stuff on these forums to help me out via Google before so thanks for that! I can't really wrap my head around this one though... I've had 4gigs of RAM installed for very long and I was able to work fine with my browser open + Photoshop and Blender in Win XP. I've quite...
Performance & Maintenance
Help with allocating more memory to Minecraft
I have 4GB of RAM and it uses maybe half a gig. I use an extensive amount of mods and I know that it'll lag the game and cause it to crash. 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...
Gaming


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 17:18.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App