mojira.dev

Sam P

Assigned

No issues.

Reported

No issues.

Comments

Update - I found a fix for me! I've been able to play for several hours and log on several times.

It's related to BillyGalbreath's comment above.

I run an exe minecraft launcher - this is the one you get off the official site (and the one that's up-to-date, supposedly.) The problem is not in the launcher, but as he said - the version of java the launcher uses. It refers to a really old version and I suspect the launcher installs this version (instead of using your later, up-to-date version).

The bug itself appears to be a JAVA bug - not a bug with minecraft, and so the fix (I believe) is to either:
a) Use a .JAR minecraft launcher
b) Force the .exe launcher to use your version of JAVA.

If you use an .exe minecraft launcher and you have this bug, try this:

1. Download the latest version of Java from their website
2. Go to your program files folder (by default, it should be C:\Program Files (x86)\Java\ )
3. Find the folder of the latest version you installed, and copy it's location to your clipboard
2. Open up your minecraft .exe launcher
3. Click "Edit Profile" (or edit the profile of the one you want to fix)
4. Under "Java Settings (Advanced)", check "executable" to enable you to edit it
5. Replace the beginning of the file path (up to bin) - it will look something like this C:\Program Files\Java\jre1.8.0_111\bin\javaw.exe
6. Hit "Save Profile".

Worked for me as normal after this.

If that doesn't work, try downloading the .JAR launcher as BillyGalbreath suggests - you can get it from minecraft.net - once you've logged in, hit "Download", "Download the Game", and then on the right, under "Download Minecraft for Windows", click on "Try an Alternative Download" and there will be a link to the JAR launcher there.

  • When I rebooted the launcher I noticed it kept trying to use the old version - so try restarting your machine if you get this too.

  • I use the steam launcher to integrate minecraft with steam and noticed this happening again, when I removed the shortcut and re-added it, I solved the issue.

Note for developers/ Mods

To try and reproduce:

  • Have the latest .exe launcher installed on windows, check the 'executable' path and make sure it has an old version of java (Java 8 build 25 was what I had)

  • Log into an official realm

  • You should be disconnected after 30 seconds with the JavaIOException listed in this ticket.

I presume a fix for this issue is to ensure the .exe launcher uses a later version of java by default, (1.8.0_111 worked ok for me using the latest version).

The JAR launcher doesn't appear to have this issue.

Hope this helps somebody!

Also works on Linux Mint 15 Xfce edition - 64 bit w/ 64 bit Java 7 installed.