java setup

links

jdk setup

  • Download JDK
  • Install/Unzip
  • Add Java to your PATH
  • Test that it works
    • Run “javac -version” in a command line

eclipse setup

  • Download Eclipse Standard 4.4.1
  • Unzip
  • Select your Workspace
    • This is where new projects will be created
  • Open Eclipse Marketplace
    • Install Checkstyle
    • Install JAutoDoc

maven setup

  • Download Maven
  • Install
  • Open "Install New Software" in Eclipse
  • Add M2E Plugin Update Site
    • http://download.eclipse.org/technology/m2e/releases
  • Run the following commands:
    • mvn archetype:generate -DinteractiveMode=false -DarchetypeArtifactId=maven-archetype-quickstart -DgroupId=com.mycompany.app -DartifactId=my-first-app
    • > cd my-first-app
    • > mvn test
  • In Eclipse, File->Import->Maven->Existing Maven Projects, and select the pom file created in the previous steps
Made with Slides.com