You are viewing our Forum Archives. To view or take place in current topics click here.
How To Run Minecraft Using 64 Bit Java - Tutorial
Posted:

How To Run Minecraft Using 64 Bit Java - TutorialPosted:

EcKo
  • 1000 Thanks
Status: Offline
Joined: Apr 25, 201013Year Member
Posts: 6,503
Reputation Power: 386
Status: Offline
Joined: Apr 25, 201013Year Member
Posts: 6,503
Reputation Power: 386
Running Minecraft using 64-bit Java: A tutorial for Windows 7 64-bit edition

Soone of the main problems Ive had to date with playing Minecraft is that the client would freeze and/or crash over and over during a session playing the game. This is even with a new (less than one year) old laptop with an Intel Core i5 processor, 8 GB RAM, Windows 7 64-bit edition, and 1 GB dedicated video memory.

Despite my research and efforts to minimize this (e.g., by making sure my OS and drivers were all up to date, installing Optifine, and updating 32-bit Java to version 7), the freezing and crashing persisted with the vanilla Minecraft client. Recently, however, I made the decision to start running Minecraft in 64-bit Java, and for me, the difference has been like night and daynow, the game runs much more smoothly with NO CRASHES (even on Fancy graphics and Far render distance). I wanted, therefore, to share with you guys how I went about this, since it involves a couple of tweaks to minecraft.exe (the file that you would download if you click the Windows download on Minecraft.net).

Of note, this was all done on a 64-bit Windows operating systemthis won't benefit you if you're running a 32-bit OS, as 64-bit Java cannot run on 32-bit systems. I cant speak for how well this will work with MacOS or with Linux. Also, Ill give the standard disclaimer that your mileage may vary. Please take any necessary precautions with your system and your Minecraft files before trying any of this.

First Step: Download 64-bit Java from Javas website. An easy way to do this is to go into Internet Explorer 64 bit edition and go to [ Register or Signin to view external links. ] . Now, Windows 7 64 bit comes with 2 editions of Internet Explorer32 bit and 64 bit. The 64 bit edition of IE can be found in the Start Menu (go to All Programs); it is designated as Internet Explorer (64-bit). Click on that to open up IE 64-bit. Then, migrate over to java.com and click Downloadsthis should take you to the page where you can download 64-bit Java. Download that and follow the install instructions. Just so you know, you can have both 32 and 64 bit editions of Java co-existing on the same machine (in fact, since most browsers are still 32 bit, you will probably need to keep 32-bit Java on your machine).

Second Step: Now that you have 64 bit Java installed, heres what you do to "point" your Minecraft client toward the "correct" Java install:

2A. Go to where you saved your minecraft.exe file (the executable file you downloaded from Minecraft.net when you first downloaded the game). Right click on the file so you can create a shortcut to the file on your desktop.

[ Register or Signin to view external links. ]

2B. Now, once you have the shortcut created, you need to make a couple of tweaks. Right click on the shortcut and go to Properties. Click the shortcut tab.

--In the line for Target, you will need to enter (or copy/paste) the following text:
"C:\Program Files\Java\jre6\bin\java.exe" -Xmx1024M -Xms512M -cp Minecraft.exe net.minecraft.LauncherFrame

This directs the client to open in 64-bit Java rather than (by default) 32-bit Java.

--In the line for Start in, be sure to enter the folder where you placed Minecraft.exe (for example, C:\users\username\Saved Games...obviously, if the file is in a different location, you will need to find that folder and place that path in the line instead.)

--Click Apply.

[ Register or Signin to view external links. ]

Now that all thats done, you can now click on the shortcut to open up Minecraft using 64-bit Java. Enjoy!


Last edited by EcKo ; edited 1 time in total

The following 1 user thanked EcKo for this useful post:

DLT (01-30-2012)
#2. Posted:
Horrid
  • TTG Senior
Status: Offline
Joined: Dec 31, 201112Year Member
Posts: 1,234
Reputation Power: 66
Status: Offline
Joined: Dec 31, 201112Year Member
Posts: 1,234
Reputation Power: 66
Been looking for this all over the internet.

Thanks.

<3
#3. Posted:
EcKo
  • 1000 Thanks
Status: Offline
Joined: Apr 25, 201013Year Member
Posts: 6,503
Reputation Power: 386
Status: Offline
Joined: Apr 25, 201013Year Member
Posts: 6,503
Reputation Power: 386
MrDripzeh wrote Been looking for this all over the internet.

Thanks.

<3


You're no the only one the freeze on MC is annoying.
#4. Posted:
Horrid
  • TTG Senior
Status: Offline
Joined: Dec 31, 201112Year Member
Posts: 1,234
Reputation Power: 66
Status: Offline
Joined: Dec 31, 201112Year Member
Posts: 1,234
Reputation Power: 66
Oh god, im screwed. ERROR.

[ Register or Signin to view external links. ]
#5. Posted:
EcKo
  • 1000 Thanks
Status: Offline
Joined: Apr 25, 201013Year Member
Posts: 6,503
Reputation Power: 386
Status: Offline
Joined: Apr 25, 201013Year Member
Posts: 6,503
Reputation Power: 386
MrDripzeh wrote
Oh god, im screwed. ERROR.

[ Register or Signin to view external links. ]


I have no idea what you've done there o_O
#6. Posted:
Horrid
  • TTG Senior
Status: Offline
Joined: Dec 31, 201112Year Member
Posts: 1,234
Reputation Power: 66
Status: Offline
Joined: Dec 31, 201112Year Member
Posts: 1,234
Reputation Power: 66
Got it working now, had to tweak a little.

Thanks bro.
#7. Posted:
Moxi
  • TTG Master
Status: Offline
Joined: Oct 02, 201112Year Member
Posts: 875
Reputation Power: 36
Status: Offline
Joined: Oct 02, 201112Year Member
Posts: 875
Reputation Power: 36
EcKo wrote
Running Minecraft using 64-bit Java: A tutorial for Windows 7 64-bit edition

Soone of the main problems Ive had to date with playing Minecraft is that the client would freeze and/or crash over and over during a session playing the game. This is even with a new (less than one year) old laptop with an Intel Core i5 processor, 8 GB RAM, Windows 7 64-bit edition, and 1 GB dedicated video memory.

Despite my research and efforts to minimize this (e.g., by making sure my OS and drivers were all up to date, installing Optifine, and updating 32-bit Java to version 7), the freezing and crashing persisted with the vanilla Minecraft client. Recently, however, I made the decision to start running Minecraft in 64-bit Java, and for me, the difference has been like night and daynow, the game runs much more smoothly with NO CRASHES (even on Fancy graphics and Far render distance). I wanted, therefore, to share with you guys how I went about this, since it involves a couple of tweaks to minecraft.exe (the file that you would download if you click the Windows download on Minecraft.net).

Of note, this was all done on a 64-bit Windows operating systemthis won't benefit you if you're running a 32-bit OS, as 64-bit Java cannot run on 32-bit systems. I cant speak for how well this will work with MacOS or with Linux. Also, Ill give the standard disclaimer that your mileage may vary. Please take any necessary precautions with your system and your Minecraft files before trying any of this.

First Step: Download 64-bit Java from Javas website. An easy way to do this is to go into Internet Explorer 64 bit edition and go to [ Register or Signin to view external links. ] . Now, Windows 7 64 bit comes with 2 editions of Internet Explorer32 bit and 64 bit. The 64 bit edition of IE can be found in the Start Menu (go to All Programs); it is designated as Internet Explorer (64-bit). Click on that to open up IE 64-bit. Then, migrate over to java.com and click Downloadsthis should take you to the page where you can download 64-bit Java. Download that and follow the install instructions. Just so you know, you can have both 32 and 64 bit editions of Java co-existing on the same machine (in fact, since most browsers are still 32 bit, you will probably need to keep 32-bit Java on your machine).

Second Step: Now that you have 64 bit Java installed, heres what you do to "point" your Minecraft client toward the "correct" Java install:

2A. Go to where you saved your minecraft.exe file (the executable file you downloaded from Minecraft.net when you first downloaded the game). Right click on the file so you can create a shortcut to the file on your desktop.

[ Register or Signin to view external links. ]

2B. Now, once you have the shortcut created, you need to make a couple of tweaks. Right click on the shortcut and go to Properties. Click the shortcut tab.

--In the line for Target, you will need to enter (or copy/paste) the following text:
"C:\Program Files\Java\jre6\bin\java.exe" -Xmx1024M -Xms512M -cp Minecraft.exe net.minecraft.LauncherFrame

This directs the client to open in 64-bit Java rather than (by default) 32-bit Java.

--In the line for Start in, be sure to enter the folder where you placed Minecraft.exe (for example, C:\users\username\Saved Games...obviously, if the file is in a different location, you will need to find that folder and place that path in the line instead.)

--Click Apply.

[ Register or Signin to view external links. ]

Now that all thats done, you can now click on the shortcut to open up Minecraft using 64-bit Java. Enjoy!


I'm on Mac right now XD but when I boot windows this will be the first thing I try
#8. Posted:
skyfreak273
  • New Member
Status: Offline
Joined: Jun 22, 201211Year Member
Posts: 1
Reputation Power: 0
Status: Offline
Joined: Jun 22, 201211Year Member
Posts: 1
Reputation Power: 0
I've recently updated my operating system from Windows XP SP3 32bit to Windows 7 64bit earlier this week. I noticed minecraft isn't working (black screen after logging in), and resorted to multiple recommendations found on the internet. When I followed these instructions, I ended up with this notice: [img]https://picasaweb.google.com/lh/photo/rwejRiHJzbo5u-NVZniuQZlILCrjXAnZm89KhhyZtwM?feat=directlink[/img]

None of the "quick and easy" methods have changed anything. I've not installed any mods. I only have one file/application of minecraft on my computer. I've even reformatted my hard drive and re-installed my Windows 7 operating system and all my programs again. Other games, programs, and applications work, just not minecraft (and it's the one I play the most). I am frustrated with this situation, and am willing to try anything.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.