I am running Windows 7 Home Premium (64 bit), and using the lastest vanilla version 1.2.5 of the Minecraft client.
If I have the lastest Version 6 of the Java JRE installed (Version 6, Update 32), everything works fine. The client starts up, displays the news page, connects to minecraft.net, and shows me my list of servers.
If I have the latest Version 7 of the Java JRE installed (Version 7, Update 4) almost nothing works. The client starts, but that is it:
The news page is not displayed. What I see looks like the html code for actually display/formatting the page (Something like: (<html><body>
<center>Failed to update news java.net.ConnectException: Connection timed out: connect</center></body></html>").
Connecting to minecraft.net fails. The client then asks if I want to play offline.
If I say 'yes', I get a server page that shows all my servers as offline and I can not join any of them.
Normally I run with the 64-bit version of JRE 6.32, as I have been led to believe that gives the best performance, but the 32-bit version also works.
Neither the 32 or 64 bit version of JRE 7.4 work (same results in each case).
Currently, I have both 6.32 and 7.4 installed (64 bit versions):
If I start up minecraft.exe, it fails as described above. This is because the system picks the 7.4 version of the JRE if you just ask for 'java' or give the system a .jar file.
If I start up the 6.32 java.exe, and explicitly tell it to use the 'jar file' minecraft.exe, everything works perfectly.
Apparently, there is something in the JRE 7.4 that completely locks minecraft.exe from the internet.
(1) Turning off IPv6 in your network adaptor but having Java Version 7 installed still causes the problem.
(2) De-selecting the Jave Version 7 JRE via the Java Control Panal still causes the problem.
It looks like Java Version 7 Update 4 is (virtually unconditionally) trying to use IPv6, whether your adapter supports it or not.
I do not know if it is a bad implementation of the protocol, some kind of timeout or deadlock, a failure of the destination to communicate properly, etc.
One other issue: When you have Java Version 7 Update 4 installed ---
Outlook 2010 (vanilla Microsoft product) will OCASIONALLY crash (ie., you get a 'stopped working' msg followed by a program restart followed by another 'stopped working' msg followed by a complete program exit).
This problem is intermittent. A machine reboot usually fixes it, but it can just 'reappear'. Likewise, once you get it, waiting for a couple of hours before restarting Outlook sometimes fixes it.
All in all, I am just uninstalling Java Version 7. I can live with a workaround for minecraft, but having my primary mail client crash as well is just unacceptable.
This is likely to be the issue that java7 has where it decides to use IPv6 even when it shouldn't.
try something like
java -Djava.net.preferIPv4Stack=true -jar minecraft.exe
Thanks for this, gerbil. For anyone else searching this issue like I was, I ended up making a bat file which I now use to access Minecraft. Just change the file path to wherever your minecraft.exe is located, and make sure to save it as a .bat (all files) so it will be executable:
cd E:\Program Files (x86)\Minecraft\
java -Djava.net.preferIPv4Stack=true -jar minecraft.exe
I am receiving this exact same issue, but I don't understand this solution. I know that there are several files associated with Minecraft that are editable, but I don't have these files (I have only downloaded the minecraft.exe file so far). I've loaded, and re-loaded java, downloaded and re-downloaded the minecraft.exe file and I am stumped - any suggestions?
minecraft is located in %appdata%\.minecraft under your windows profile, and is hidden by default. %appdata% is a windows shortcut, so if you paste it into the address bar of a folder window, it'll take you to the location.
It's Java 7. If it determines that your computer has IPv6 available (don't know how it determines this.. flips a proverbial coin perhaps), then it tries to connect via IPv6.... which doesn't work. and then it does nothing. no fallback to Ipv4
As far as I know this is a problem with Java 7's dual stack support. (Applications that are connecting via hostnames shouldn't need to know whether the underlying connections are Ipv4 or Ipv6.....)
I have just installed Version 7, Update 5 and it causes a different problem with free 0.30: The menu comes up sporadically with every mouse click. It appears to happen randomly on about 50% of clicks, either LMB or RMB, and this includes the click for "Back to game" in the main menu itself! I never had this happen before. This bug has not affected other types of input (keyboard keys.) When it does happen while clicking with the mouse, there is a small chance that the block will be placed or broken before the menu comes up. This is the first time I've ever had any untoward behaviour in Minecraft Classic. Prior to installing 7u5, everything that was supposed to work did.
I have noted no changes in the behaviour of Minecraft 4k, however the buttons are reversed in function (and were before 7u5.)
Follow-up: I have located Java 6u33 download page at http://java.com/en/d...d/manual_v6.jsp and will be testing for changed behaviour in both Minecraft 0.30 and Minecraft 4k in a few minutes.
Follow-up 2: After having some issues uninstalling 7u5 and getting the 6u33 installation to take (previous version 6u31), I found that Minecraft 0.30 and Minecraft 4k (still backwards mouse actions) behaved exactly the same as in 6u31... almost. I noticed that Minecraft 0.30 frame rates were almost triple, w00t! Also, in the process of this testing, I probably built the largest Nether Portal anyone has ever built in Minecraft 4k If anyone is having issues getting back to Java 6, I might be able to help.
<center>Failed to update news java.net.SocketException: Connection reset</center></body></html>
thats the error minecraft launcher gives me.
tried the bat file, still not connecting.
although like pkmasterpwns i dont understand how to incorporate the pause command into the batch file.
updated line to copy and paste please?