For more tutorials, see the bottom of this page minecraft server controls the Tutorials page. O performance in comparison to desktop computers.
Hosting and playing on the same machine is also possible, if your computer is powerful enough. Use a wired network instead, such as Ethernet. Running by the instructions below should not put you at any risk, but this is a wiki which everybody is allowed to edit, and we don’t know about your system configuration, so we cannot guarantee you’ll be out of danger. For your security, you should only use the most recent version of Java. This will perform an automatic version check from your browser.
However, the Google Chrome browser does not run Java content and therefore cannot check Java through this browser. Open a command window and enter the command java -version. If a version number is reported, then check the Java website to see what the most recent version number is. If you want older versions, find their links at their respective pages. It will write configuration files in the folder, and quit immediately.