minecraft setup java intellij code example
Example: intellij java setup
Open IntelliJ IDEA
Close all open project windows
The IntelliJ Welcome screen will be displayed
Add required SDKs
Click on Configure > Project Defaults > Project Structure
Select SDKs
Add Java Development Kit
Click + > JDK
Note: Press Cmd+Shift+. to show hidden files in the file chooser dialog.
Navigate to the JDK location. E.g., /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk on OSX.
Select the JDK folder
Add Android SDK
Click + > Android SDK
Note: Press Cmd+Shift+. to show hidden files in the file chooser dialog.
Navigate to the Android SDK location. E.g., for Homebrew installations, use /usr/local/Cellar/android-sdk/<sdk-tools-version>
Select the Android SDK version folder and accept the defaults presented
Click OK