mojira.dev
MC-227814

Local LAN does not autodetect

I can connect manually by typing the IP and port but the auto detect feature is broken.

 

I suspect it might be related to the Java 16 upgrade, which I'm really curious to see the reasons for but I cannot find that anywhere?

Related issues

Comments

migrated

This issue is a cause with the client not being able to detect the server. The server appears to be broadcasting itself fine as the workaround only need be applied to clients connecting from other PCs. LAN connections worked fine in 1.16.5, but stopped working with 1.17.0.  Running windows 10 home.

The workaround I've found for this issue is to install OpenJDK 16 and set the client to use javaw.exe:

  1. open minecraft lanucher

  2. select Installations tab

  3. edit Latest Release

  4. expand More Options

  5. under Java Executable, click browse

  6. select javaw.exe, which is found at C:\java\jdk-16.0.1\bin\javaw.exe in my case

  7. save and launch

  8. select multiplayer

  9. lan server now shows in list

 

migrated

Thank you, Tim! Your comment helped and more importantly - it worked. 

We have two PCs in the house, playing on LAN together. We had to do this on both of them and then it worked.

violine1101

Thank you for your report!
We're tracking this issue in MC-98598, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

migrated

Hi, I'm having trouble with the same issue but am unable to locate the javaw.exe file. Can anyone help?

migrated

Nevemind, I just realised you said download it, apologies!

migrated

Still having trouble locating it!

 

migrated

Depends on where you put it when you install it. Here's some instructions or search for "how to install openjdk 16" https://java.tutorials24x7.com/blog/how-to-install-openjdk-16-on-windows

migrated

i installed openjdk 16 but in my command prompt it doesn't show that its recognizing openjdk, I followed every step

migrated

(Unassigned)

Unconfirmed

(Unassigned)

1.17

Retrieved