I currently have Java 7 Update 7, both the 64 and 32 bit versions.
When I run Minecraft like normal, it will bring me to the login screen however none of the Minecraft News will be displayed. Instead it will be all grey with this code in the upper left hand corner:
<html><body><font color="#808080"><br><br><br><br><br><br><br><center>Failed to update news<br>java.net.SocketException: Permission denied: connect</center></font></body></html>
I can still login but when I try to join a multiplayer server I get the error:
Failed to login: java.net.SocketException: Permission denied: connect
I have tried researching this issue online and somewhere along the road I found this guy saying I should make a .bat file named "minecraft" in my .minecraft folder which contains this code:
When I run this .bat file it will run command prompt which will launch the Minecraft Client and I am able to see the MC news as well as play on servers.
The only problem is that I also like to play Tekkit, and I'm not able to login to the Tekkit client with Java 7. After speaking with my friends many of them claim that they use Java 7 without a problem for both Minecraft and Tekkit.
It's also notable that I can use Java 6 update 35 with no problem for both Minecraft and Tekkit, and I don't need to run the .bat file for it to work.
I have tried uninstalling and re-installing countless times and really need some guidance. I appreciate anyone willing to try and help, because it would be nice to be able to use the latest versions of Java without a hassle.
The only problem is that I also like to play Tekkit, and I'm not able to login to the Tekkit client with Java 7. After speaking with my friends many of them claim that they use Java 7 without a problem for both Minecraft and Tekkit.
From everything that you posted, it definitely sounds like you are affected by the Java 7 IPv6 issue. Whether or not you are affected by this issue depends on some part of your computer configuration. Whenever Java 7 decides that your computer 'supports' IPv6, it only uses that and does not fall back to IPv4 automatically. I think that I've read some people saying that if you edit your network interface properties to disable IPv6 support on them, then this problem goes away.
I'm not too enamored of that option because some day, you'll forget that you did that, and the world is definitely moving (slowly so slowly*) to IPv6.
* It's been over 15 years since I worked on products that were diligently adding IPv6 support. Those products were end of lifed a long time ago and probably weres never deployed in an IPv6 environment...
Thank you for your reply, your answer has led me to do more research which seems to confirm that what your saying is correct.
Now I'm faced with the issue, would it be better to downgrade to Java 6, or should I try to tackle the task of disabling IPv6 (which I know very little about)?
I appreciate that you have diagnosed my problem, if you could provide me with a little insight on the best way to solve this problem that would be greatly appreciated.
Oracle is still maintaining security patches for Java 6 last I checked (until Feb 2013 according to java.com), but they have made its download a little harder to get to. Nevertheless, uninstalling Java 7 and installing Java 6 is not that hard. If you have a 64bit OS use Internet Explorer 64bit to visit java.com and it will offer you a 64bit download.
I currently have Java 7 Update 7, both the 64 and 32 bit versions.
When I run Minecraft like normal, it will bring me to the login screen however none of the Minecraft News will be displayed. Instead it will be all grey with this code in the upper left hand corner:
I can still login but when I try to join a multiplayer server I get the error:
I have tried researching this issue online and somewhere along the road I found this guy saying I should make a .bat file named "minecraft" in my .minecraft folder which contains this code:
When I run this .bat file it will run command prompt which will launch the Minecraft Client and I am able to see the MC news as well as play on servers.
The only problem is that I also like to play Tekkit, and I'm not able to login to the Tekkit client with Java 7. After speaking with my friends many of them claim that they use Java 7 without a problem for both Minecraft and Tekkit.
It's also notable that I can use Java 6 update 35 with no problem for both Minecraft and Tekkit, and I don't need to run the .bat file for it to work.
I have tried uninstalling and re-installing countless times and really need some guidance. I appreciate anyone willing to try and help, because it would be nice to be able to use the latest versions of Java without a hassle.
Thanks,
Xrocker
From everything that you posted, it definitely sounds like you are affected by the Java 7 IPv6 issue. Whether or not you are affected by this issue depends on some part of your computer configuration. Whenever Java 7 decides that your computer 'supports' IPv6, it only uses that and does not fall back to IPv4 automatically. I think that I've read some people saying that if you edit your network interface properties to disable IPv6 support on them, then this problem goes away.
I'm not too enamored of that option because some day, you'll forget that you did that, and the world is definitely moving (slowly so slowly*) to IPv6.
* It's been over 15 years since I worked on products that were diligently adding IPv6 support. Those products were end of lifed a long time ago and probably weres never deployed in an IPv6 environment...
Thank you for your reply, your answer has led me to do more research which seems to confirm that what your saying is correct.
Now I'm faced with the issue, would it be better to downgrade to Java 6, or should I try to tackle the task of disabling IPv6 (which I know very little about)?
I appreciate that you have diagnosed my problem, if you could provide me with a little insight on the best way to solve this problem that would be greatly appreciated.
Thank you,
Xrocker30