Time for action – installing and initiating Eclipse WTP

Next, we will download and install Eclipse WTP. We will then initiate it and establish a path for the required Eclipse workspace.

  1. We will direct our browser to the following URL, on which we will be able to download the Juno version of Eclipse WTP:

    http://www.eclipse.org/downloads/

  2. Once there, we will select our operating system on the corresponding selector.
  3. Finally, depending on our architecture, we will download either the 32-bit or 64-bit version as shown in the following screenshot:
    Time for action – installing and initiating Eclipse WTP
  4. We will now install Eclipse, and in order to do so we will need to uncompress the file we just downloaded on a folder of our choice.

    As a result, we will obtain a new folder named eclipse. From now on, the full filesystem path to this folder will be referred to as [ECLIPSE_HOME].

  5. We are now ready to start Eclipse. To do so, we will need to follow the instructions corresponding to our operating system:
    • On a Linux environment:
      1. Open a terminal and type the following command:
          shell> cd [ECLIPSE_HOME]
        
      2. Start Eclipse:
          shell> ./eclipse
        
    • On a Windows environment:
      1. Open a terminal and type the following command:
          shell> cd [ECLIPSE_HOME]
        
      2. Start Eclipse:
          shell> eclipse.exe
        
  6. Once Eclipse has started, it will present us with a dialog box where we will be asked for the path to our workspace. We will use the path proposed by default and add -prd5_book to the end of the string, as can be seen in the following screenshot. We will call this folder [WORKSPACE_HOME]:
    Time for action – installing and initiating Eclipse WTP

    Note

    The workspace is a directory that will contain the projects we create on Eclipse as well as the metadata that defines them. It is also possible to create links to projects on other locations.

  7. We will click on the OK button to continue.

What just happened?

We went to Eclipse's download area and, according to our operating system and architecture, proceeded to download the Eclipse WTP Juno version. We then uncompressed this file and used a console to initiate Eclipse. Finally, we configured the path to our workspace.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset