After that, the Run tool window opens at the bottom of the screen. In the editor, click the gutter icon to run the application and select Run 'Main.main()'. Replace the existing code with the following code sample: When the project is created, in the Project tool window ( Alt+1), locate the src | main | java | Main.java file and open it in the editor. If you don't have the necessary JDK on your computer, select Download JDK. If the JDK is installed on your computer, but not defined in the IDE, select Add JDK and specify the path to the JDK home directory. Name the new project.įrom the JDK list, select the latest available Oracle OpenJDK version. Otherwise, from the main menu, select File | New | Project.įrom the list on the left, select New Project. If the Welcome screen opens, click New Project. It also covers the setup required to run a Java application, such as creating a new project, configuring the JDK, and setting up run configurations with various options. This tutorial explains how to quickly run a Java application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |