We will be using the IDE called IntelliJ.
Step 1: Click on new project
Step 2: Click on Java
Step 3: Don't click on template, just click next
Step 4: Type in your project name (it will contain all your scripts)
Step 5: Click src> New > Java class
Step 6: Type in your script name
Step 7: Go to project structure
Step 8: Make sure you are using Java 8
Step 9: Click on libraries, then click on the plus button, then click on "Java"
Step