sabato 29 novembre 2014

From zero to enterprise Java: setting up the development environment

Let's set up the developmente environment, starting from an empty machine:
  • go to java.sun.com 
    • click Java SE 8 Update 25 and then on Java download on top
    • accept the license
    • in the download section, click on the version which is compatible with your operating system (on a 64 bit Windows: jdk-8u25-windows-x64.exe)
    • start the download


  • when the download ends, click on the file and open/execute it (on Windows it's an exe file so it'll start installing)
    • accept the license and choose the location
  • go to www.netbeans.org
    • click on download in the top right corner
    • choose se download button at the botton of the JavaEE column
    • wait for the download to end
    • start the executable
    • accept the license, don't install  Glassfish and Tomcat, don't install JUnit, say yes to look for updates
    • choose an installation location and check that the JDK that it picks is the one you just installed
  • go to www.wildfly.org
    • click on downloads at the top and choose the most recent version available in the zip format (http://download.jboss.org/wildfly/8.2.0.Final/wildfly-8.2.0.Final.zip)
    • wait for the download to end
    • unzip the archive in a folder of your choice
    • edit  <directory wildfly>\bin\standalone.conf.bat, uncomment the row that starts with set "JAVA_HOME= and write the path of the JDK you just installed (e.g.: set "JAVA_HOME=T:\Program Files\Java\jdk1.8.0_25")
    • run the command <directory wildfly>\bin\standalone.bat
  • open a web browser and go to http://localhost:8080 and check that the Wildfly welcome screen shows up

Total Commander: http://www.ghisler.com/download.htm
Notepad++: http://notepad-plus-plus.org/download (portable: http://portableapps.com/apps/development/notepadpp_portable)

Nessun commento:

Posta un commento