Results 1 to 19 of 19

Thread: Minecraft Java 7 Error Fix

  1. #1
    Remlap's Avatar Lag Slayer
    Join Date
    Jul 2008
    Location
    Florida
    Posts
    5,564

    Default Minecraft Java 7 Error Fix

    Hey guys, I'm here with a quick script that will fix a bug with Java 7 for minecraft. As of the latest Java 7 update it won't allow the minecraft jar to connect to minecraft with ipv4, so you won't even get the loading screen you will get a failed to connect error. The error looks like this:
    Spoiler Alert, click show to read: 
    <html><body><font color="#808080"><br><br><br><br><br><br><br><center>Failed to update news<br>java.net.SocketException: Invalid argument: connect</center></font></body></html>

    To fix this you can add this to your minecraft.exe shortcut: -Djava.net.preferIPv4Stack=true

    Or you can just download this .bat file and place it in the same place as your minecraft.exe and run the .bat file.
    Last edited by Remlap; January 18, 2012 at 08:42 AM.

  2. #2
    Magister Militum Flavius Aetius's Avatar δούξ θρᾳκήσιου
    Join Date
    Mar 2010
    Location
    Rock Hill, SC
    Posts
    16,318
    Tournaments Joined
    1
    Tournaments Won
    0

    Default Re: Minecraft Java 7 Error Fix

    ... I don't even have Java, and I run minecraft, but thanks!

  3. #3

    Default Re: Minecraft Java 7 Error Fix

    Quote Originally Posted by Magister Militum Flavius Aetius View Post
    ... I don't even have Java, and I run minecraft, but thanks!
    That's...impossible.
    Under the Patronage of Leonidas the Lion|Patron of Imperator of Rome - Dewy - Crazyeyesreaper|American and Proud

  4. #4
    Magister Militum Flavius Aetius's Avatar δούξ θρᾳκήσιου
    Join Date
    Mar 2010
    Location
    Rock Hill, SC
    Posts
    16,318
    Tournaments Joined
    1
    Tournaments Won
    0

    Default Re: Minecraft Java 7 Error Fix

    I have adobe flash. I dont know how it works on my computer, but I don't have java installed. That's why I can't play runescape.

  5. #5
    Remlap's Avatar Lag Slayer
    Join Date
    Jul 2008
    Location
    Florida
    Posts
    5,564

    Default Re: Minecraft Java 7 Error Fix

    Quote Originally Posted by Magister Militum Flavius Aetius View Post
    I have adobe flash. I dont know how it works on my computer, but I don't have java installed. That's why I can't play runescape.
    Minecraft is a java based program and requires java to run.

  6. #6
    Magister Militum Flavius Aetius's Avatar δούξ θρᾳκήσιου
    Join Date
    Mar 2010
    Location
    Rock Hill, SC
    Posts
    16,318
    Tournaments Joined
    1
    Tournaments Won
    0

    Default Re: Minecraft Java 7 Error Fix

    Hmmm... yet id ont have java. I used to have a "Free" Version (it was crappy, i do not reccomend pirated copies) before I got my legal version, and that required java. But it didn't work because my computer didnt have java.

    I still dont have java and my legal version works fine.

  7. #7

    Default Re: Minecraft Java 7 Error Fix

    I don't think you understand. You need Java for Minecraft to run. There is no exception.
    Under the Patronage of Leonidas the Lion|Patron of Imperator of Rome - Dewy - Crazyeyesreaper|American and Proud

  8. #8

    Default Re: Minecraft Java 7 Error Fix

    It is the very programming language that the program runs on. Without Java you're computer would look at Minecraft and simply not understand what the hell that garbage is.

  9. #9
    Magister Militum Flavius Aetius's Avatar δούξ θρᾳκήσιου
    Join Date
    Mar 2010
    Location
    Rock Hill, SC
    Posts
    16,318
    Tournaments Joined
    1
    Tournaments Won
    0

    Default Re: Minecraft Java 7 Error Fix

    ...I know java_script, i just dont know how it runs, let me look around in my computer...

  10. #10
    Magister Militum Flavius Aetius's Avatar δούξ θρᾳκήσιου
    Join Date
    Mar 2010
    Location
    Rock Hill, SC
    Posts
    16,318
    Tournaments Joined
    1
    Tournaments Won
    0

    Default Re: Minecraft Java 7 Error Fix

    Lol i do have java nvmnd i must have missed it going over the program files (i have 2 program files folders)

  11. #11

    Default Re: Minecraft Java 7 Error Fix

    Sir I must thank you I have been looking for a fix for this problem for 3 months and your .bat file fixed it perfectly I sincerely thank you.

  12. #12

    Default Re: Minecraft Java 7 Error Fix

    This is going to sound like a retarted question but could you please explain how to add the script to the shortcut?

  13. #13
    Remlap's Avatar Lag Slayer
    Join Date
    Jul 2008
    Location
    Florida
    Posts
    5,564

    Default Re: Minecraft Java 7 Error Fix

    Same process as that is in this guide: http://www.twcenter.net/forums/showthread.php?t=468644

  14. #14

    Default

    Could u tell me a step by step on where and how to put the .bat file please. I really have no clue where it goes.

    As well when i double click the .bat it's saying that java is not recongnized as an internal or external command, operable program or bath file.
    Last edited by Remlap; July 31, 2012 at 03:23 AM.

  15. #15
    Remlap's Avatar Lag Slayer
    Join Date
    Jul 2008
    Location
    Florida
    Posts
    5,564

    Default Re: Minecraft Java 7 Error Fix

    Are you sure that you have java installed? You place the .bat in the same folder as your minecraft.exe

  16. #16

    Default Re: Minecraft Java 7 Error Fix

    This any different for a Mac?

  17. #17
    Remlap's Avatar Lag Slayer
    Join Date
    Jul 2008
    Location
    Florida
    Posts
    5,564

    Default Re: Minecraft Java 7 Error Fix

    No idea, don't own a mac however the command line should be the same. I have used the same commands on linux before.

  18. #18

    Default Re: Minecraft Java 7 Error Fix

    Lag slayer it doesn't work the batch file and with the copy and paste thing i dont know what to do

  19. #19

    Default Re: Minecraft Java 7 Error Fix

    I downloaded the .bat file, put it the same place as my minecraft.exe, still nothing changed. I can get into the loading screen, but I can't join mulitplayer servers or create single player world.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •