Skill | Using an IDE |
Value | +5 Levels |
To create, edit, compile, and run a Java project from within an Integrated Development Environment (Netbeans, Eclipse, IntelliJ, or Atom with the java-ide, atom-ide-ui, git-plus, and git-time-machine packages installed)
- Netbeans, Eclipse, IntelliJ, or Atom
- Java SE JDK
- Your PATH and JAVA_HOME variables set
- Install the Java SE SDK
-
Install one of the following IDE's
- Open your IDE and create a new console project. How this is done
will vary with each IDE. If you find yourself stuck at this point,
you'll have to consult the documentation or ask me or another
student for help. Remember that if you are going to use Atom as an
IDE you should install the following packages from the packages
menu:
- java-ide
- atom-ide-ui
- git-plus
- git-time-machine
- Insert the HelloWorld code into the main project file. Make sure the name of your class matches the name of your file.
- Press the build command.
- Press the compile command
- Press the execute command
- Note that in most cases, your IDE will combine these three steps into a single button press and manage the process for you
- Save your project once you have successfully run the program. Congratulations! You now have a workflow for writing Java Applications from within a professional integrated development environment!
You have just earned +5 Levels for learning to use an IDE!