Skip to content

Latest commit

 

History

History
97 lines (97 loc) · 3.05 KB

hello-ide.md

File metadata and controls

97 lines (97 loc) · 3.05 KB

Hello IDE

Skill Using an IDE
Value +5 Levels

Objective

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)

Materials

  1. Netbeans, Eclipse, IntelliJ, or Atom
  2. Java SE JDK
  3. Your PATH and JAVA_HOME variables set

Methods

  1. Install the Java SE SDK
  2. Install one of the following IDE's

  3. 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
    Note that, when using Atom, there does not appear to be a package for automatically compiling, building, and running your application, so you might have to do so using java and javac in the terminal. You can install the package, platform-ide-terminal, in order to use the terminal directly within Atom.
  4. Insert the HelloWorld code into the main project file. Make sure the name of your class matches the name of your file.
  5. Press the build command.
  6. Press the compile command
  7. Press the execute command
  8. Note that in most cases, your IDE will combine these three steps into a single button press and manage the process for you
  9. 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!

Conclusion

You have just earned +5 Levels for learning to use an IDE!