![]() |
|
idea.sh
File > New project
Choose project location (by default IdeaProjects
folder)
Add classes to src
folder
Run applications
Shortcut | Action |
---|---|
Ctrl-S | Save current file |
Ctrl-Z | Undo last action |
Ctrl-D | Duplicate line up/down |
Configure shortcuts in File > Settings, in Keymap section
Create a new Java project called Test and copy this code in a class called Test. Run the application to check if everything is OK
public class Test
{
public static void main(String[] args)
{
System.out.println("Hello");
System.out.println("Have a nice day!");
System.out.println("And learn a lot of Java :-)");
}
}