Getting Started with SpringSource Tool Suite

Home

Deprecated

Now available Getting Started: IDE & Projects

The SpringSource‘s developer team gave us a powerful IDE known such SpringSource Tool Suite or STS, where it is based on one of the most used IDE available for Java. Yes, Eclipse. The purpose of SpringSource Tool Suite is make easier our development work in building Spring-powered enterprise applications.

Consider this simple but detailed tutorial to be used like a basis for other advanced tutorials. In this tutorial you are going to learn how get and install SpringSource Tool Suite.

Step 01: Getting SpringSource Tool Suite

Proceed to open your favorite Web Browser and go to SpringSource Tool Suite Download. The last or current version available while I am writing this tutorial is 2.8.1.RELEASE.

Again, I am going to work with Linux Fedora Core 15, and with Java SE Development Kit 6 Update 29. Therefore I going to select springsource-tool-suite-2.8.1.RELEASE-e3.7.1-linux-gtk-installer.sh. Once downloaded this file proceed to do a checksum. It is out of the scope of this tutorial. Below an image about the STS’s download page for a better understanding.

Figure 01: SpringSource Tool Suite download page

Step 02: Creating directories for installation

I going to use the follow root directory, it is /home/Section1/whiteroom/springsource/spring-sts. In this directory I going to create two new directories named 2.8.1 and workspace-2.8.1 respectively. In the root directory proceed to move our installer or script springsource-tool-suite-2.8.1.RELEASE-e3.7.1-linux-gtk-installer.sh. For a better understanting you can see the follow image that represent the final result of these instructions.

Figure 02: Customized directories to install SpringSource Tool Suite

Step 03: Installing SpringSource Tool Suite

Proceed to open your First Terminal and move to /home/Section1/whiteroom/springsource/spring-sts and execute the follow command: chmod +x springsource-tool-suite-2.8.1.RELEASE-e3.7.1-linux-gtk-installer.sh . Then we are able to execute our installer or script. Therefore execute the script in this way ./springsource-tool-suite-2.8.1.RELEASE-e3.7.1-linux-gtk-installer.sh.

Once executed the script you must see the follow image

Figure 03: SpringSource Tool Suite’s Installation Process Step 01

Proceed to do click in the button Next. The next image is about the license.

Figure 04: SpringSource Tool Suite’s Installation Process Step 02

Accept the terms of the license and proceed to do click in the button Next. Now we must indicate the installation path.

Figure 05: SpringSource Tool Suite’s Installation Process Step 03

I going to use /home/Section1/whiteroom/springsource/spring-sts/2.8.1. Proceed to do click in the button Next. You could receive the follow message.

Figure 06: SpringSource Tool Suite’s Installation Process Step 03

Just do click in the button Yes. The follow image is about what packages could be installed.

Figure 07: SpringSource Tool Suite’s Installation Process Step 04

Just keep all the checkbox checked and proceed to do click in the button Next. Now we should indicate the JDK path, but perhaps it is already loaded from our .bash_profile file. Be free if you want indicate other.

Figure 08: SpringSource Tool Suite’s Installation Process Step 05

Proceed to do click in the button Next. The next image is about the installation process itself for some packages.

Figure 09: SpringSource Tool Suite’s Installation Process Step 06

Once completed the installation of these packages like show in the next image.

Figure 10: SpringSource Tool Suite’s Installation Process Step 06

Proceed to do click in the button Next. Therefore the installation process is over. Keep the checkbox selected.

Figure 11: SpringSource Tool Suite’s Installation Process Step 07

Proceed to do click in the button Finish. The next image before to load our IDE is for indicate where should be our workspace.

Figure 12: SpringSource Tool Suite’s workspace location

I going to use /home/Section1/whiteroom/springsource/spring-sts/workspace-2.8.1. Keep the checkbox selected. Proceed to do click in the button OK. Finally our SpringSource Tool Suite‘s welcome page is loaded.

Figure 12: SpringSource Tool Suite’s welcome page

The Next tutorial is about how create a simple Web application with SpringSource Tool Suite. Such example be useful for coming advanced tutorials. Be ready!

Home

About these ads

4 thoughts on “Getting Started with SpringSource Tool Suite

  1. hi, Manuel

    I have successfully installed springsource . But now I have no idea how to launch springsource. I cannot find it on ubuntu’s application menu. Could you give some hints?

    • Hello Angela

      I dont work with Ubuntu yet, I am interested to learn it for server purposes

      About your problem, in your directory installation, perhaps should be some .sh file, just execute it

      Let me know your advance

  2. Hi,
    I have installed the Spring tool suite after recently discovering it and using it on a training course – however when i import the exercise from the training course – they will not run because of missing ‘imports’ – one of which is
    import org.springframework.web.servlet.mvc.AbstractController

    I have downloaded the spring framework separeately (did’nt know i had to do this or if this was unessecary) but if i reference the jar’s in the spring framework download then my projects work – although i have to do this on a project by project basis – my question is 1) do i need to reference the spring framework or should this just be part of the STS 2) If i need to reference the srping fw, how can i do it on a global level for all projects to avoid having to do it on a per project basis
    Thanks
    Steve

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s