If your computer's Java isn't up to date, you may run into issues while hosting your server:   Windows — Go to https://java.com/en/download/installed.jsp in Internet Explorer (other browsers won't work), then click Agree and Continue and follow any on-screen prompts.  Mac — Go to https://java.com/en/download/, click Free Java Download, open the setup file, and follow any setup instructions. This is necessary to have installed on your computer before running any Java commands:  Go to the JDK webpage  Check the "Accept License Agreement" box below the "Java SE Development Kit 8u171" heading. Click the download link to the right of your operating system. Double-click the install file, then follow the on-screen instructions (on a Mac, you'll drag the Java icon onto the "Applications" folder). Go to https://minecraft.net/en-us/download/server in your computer's web browser, then click the minecraft_server.1.12.2.jar link in the middle of the page. Click and drag the downloaded JAR file onto the "Minecraft Server" folder, then drop it there. You can also click the JAR file, press Ctrl+C (Windows) or ⌘ Command+C (Mac), open the "Minecraft Server" folder, and press Ctrl+V (Windows) or ⌘ Command+V (Mac). Open the "Minecraft Server" folder, then double-click the server.jar (or server) file you moved into the "Minecraft Server" folder. Doing so will prompt a few files to appear in the folder. Once you see a text file entitled "eula" appear in the folder, double-click "eula" to open it, then replace the "eula=false" line at the bottom of the document with eula=true. You can then save the changes by pressing Ctrl+S (Windows) or ⌘ Command+S (Mac) and close the document. It will resume running; a pop-up window with the server's progress will appear, and more files will add to the "Minecraft Server" folder. Once you see "Done!" at the bottom of the pop-up window, you can type stop into the bottom text field in the pop-up window and press ↵ Enter. The server will save its progress and quit. This is the safest way to quit the server any time you're done using it.
تأكد أن بيئة جافا محدثة. ثبّت حزمة جافا جى دي كى إن لم تكن مثبتة بالفعل. نزّل ملف الخادم بامتداد جار. انقل ملف الخادم إلى مجلد خادم ماين كرافت. شغّل ملف الخادم. اقبل شروط استخدام الخادم. انقر نقرًا مزدوجًا على ملف الخادم مجددًا. أوقف الخادم بعد انتهاء التشغيل.