Question: how to play with your friends in minecraft java edition?
Answer: You can either download the server file needed to set up your own server from Minecraft.net or connect to another person's server. To connect to another player's server, log into Minecraft, select Multiplayer from the main menu, click the Add Server button, and enter the IP or web address of that server.