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
#1. PostPosted:
Commander
Commander
Global Moderator
Status: Offline
Joined: Apr 25, 2010 EcKo has been a member for over 4 years 4 Year Member
Posts: 6,472
Reputation Power: 376
Motto: I'm A Machinima Partner Youtube Me XxEcKoxSoldierxX - 125,000+ Subscribers! Join My Minecraft Server IP: MC.ECKOXCRAFT.COM
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.



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.



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
View user's profile
The Following 1 User Say's Thank You to EcKo For This Useful Post: DLT (01-30-2012)
#2. PostPosted:
TTG Senior
TTG Senior
Status: Offline
Joined: Dec 31, 2011 Horrid has been a member for over 2 years 2 Year Member
Posts: 1,235
Reputation Power: 66
Been looking for this all over the internet.

Thanks.

<3
View user's profile
  00
#3. PostPosted:
Commander
Commander
Global Moderator
Status: Offline
Joined: Apr 25, 2010 EcKo has been a member for over 4 years 4 Year Member
Posts: 6,472
Reputation Power: 376
Motto: I'm A Machinima Partner Youtube Me XxEcKoxSoldierxX - 125,000+ Subscribers! Join My Minecraft Server IP: MC.ECKOXCRAFT.COM

MrDripzeh wrote:

Been looking for this all over the internet.

Thanks.

<3


You're no the only one the freeze on MC is annoying.
View user's profile
  00
#4. PostPosted:
TTG Senior
TTG Senior
Status: Offline
Joined: Dec 31, 2011 Horrid has been a member for over 2 years 2 Year Member
Posts: 1,235
Reputation Power: 66
Oh god, im screwed. ERROR.

View user's profile
  00
#5. PostPosted:
Commander
Commander
Global Moderator
Status: Offline
Joined: Apr 25, 2010 EcKo has been a member for over 4 years 4 Year Member
Posts: 6,472
Reputation Power: 376
Motto: I'm A Machinima Partner Youtube Me XxEcKoxSoldierxX - 125,000+ Subscribers! Join My Minecraft Server IP: MC.ECKOXCRAFT.COM

MrDripzeh wrote:

Oh god, im screwed. ERROR.



I have no idea what you've done there o_O
View user's profile
  00
#6. PostPosted:
TTG Senior
TTG Senior
Status: Offline
Joined: Dec 31, 2011 Horrid has been a member for over 2 years 2 Year Member
Posts: 1,235
Reputation Power: 66
Got it working now, had to tweak a little.

Thanks bro.
View user's profile
  00
#7. PostPosted:
TTG Master
TTG Master
Status: Offline
Joined: Oct 02, 2011 Moxi has been a member for over 2 years 2 Year 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.



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.



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
View user's profile
  00
#8. PostPosted:
One Hit Wonder
One Hit Wonder
Status: Offline
Joined: Jun 22, 2012 skyfreak273 has been a member for over 2 years 2 Year 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.
View user's profile
  00


 
 Jump to:   

You are viewing our Forum Archives. To view or take place in current topics click here.