how to build and run java in intellij code example Example: intellij run java file Strg + Shift + F10