- Professional IDEs
- Hello World
- Creating a Full Project in IntelliJ
- IntelliJ IDEA Features
- IntelliJ IDEA Resources
Course not complete or published. Check out our Java Course to get started programming or our Algorithms tutorials to learn more!
Hello World
Collapse Content
Show Content
After installing IntelliJ IDEA, create a "Hello Java" project in it:
- Open IntelliJ IDEA
- Click "Create New Project"
- Name your project and click "Next" and "Finish"
- Create a new Java Class in the sidebar
- Add the Main method to your class. You can use type shortcut
psvm
and press tab to create the Main method. - Type the code System.out.print("Hello Java"); in your Main method.
- Click Build -> Make Project on top to compile your project.
- Right-click the source code and click Run to run your program.