0% found this document useful (0 votes)
102 views

Installing The Spring Tools Suite

This document provides instructions for installing the Spring Tool Suite, setting environment variables, and installing Apache Maven on Windows. It describes downloading and unpacking the Spring Tool Suite zip file, configuring Tomcat and servers in STS, setting environment variables through the system properties window, downloading and unpacking Apache Maven, checking the JAVA_HOME variable, and updating the PATH variable to include Maven's bin folder.

Uploaded by

Diana Hartan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
102 views

Installing The Spring Tools Suite

This document provides instructions for installing the Spring Tool Suite, setting environment variables, and installing Apache Maven on Windows. It describes downloading and unpacking the Spring Tool Suite zip file, configuring Tomcat and servers in STS, setting environment variables through the system properties window, downloading and unpacking Apache Maven, checking the JAVA_HOME variable, and updating the PATH variable to include Maven's bin folder.

Uploaded by

Diana Hartan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Spring Persistence Guides -https://www.baeldung.

com/persistence-with-spring-series

Spring Tutorial -https://www.tutorialspoint.com/spring/

Spring - MVC Framework Tutorial


-https://www.tutorialspoint.com/spring/spring_web_mvc_framework.htm

https://spring.io/tools

Installing the Spring Tools Suite

The Spring Tool Suite is an Eclipse-based development environment that is customized


for developing Spring applications. In order to install the Spring Tools Suite for Eclipse
follow the next steps:

1. Download the latest release, for example spring-tool-suite-4-4.8.0.RELEASE-e4.17.0-


win32.win32.x86_64.zip
2. Unpack the binary archive spring-tool-suite-4-4.8.0.RELEASE-e4.17.0-
win32.win32.x86_64.zip to the folder you want to install, for example d:\tools\sts-
4.8.0.RELEASE
3. Launch the application SpringToolSuite4.exe located in d:\tools\sts-
4.8.0.RELEASE\bin and perform the following additional configurations to add installed
Tomcat 8.5 in STS servers configuration:

 Go to Window -> Show View -> Other -> Server -> Servers
 In the Servers panel click on No servers available... in order to add support for
Tomcat 8.x in STS 4
 Select Apache->Tomcat v8.5 server
 Select folder where Tomcat is unpacked, for example d:\tools\apache-tomcat-8.5.59

How to set an Environment Variable


1. Load the System Properties or press WIN + Break keys.
2. Find the Advanced Tab in the Properties Window. Click Environmental Variables.
3. Scroll down in the System variables and edit or add the variable

Installing the Apache Maven


Apache Maven is a build automation tool used primarily for Java projects. In order to
install the Apache Maven follow the next steps:

1. Download the latest release, for example apache-maven-3.6.3-bin.zip. The version you


download may be newer.
2. Unpack the binary archive apache-maven-3.6.3-bin.zip to the folder you want to install,
for example d:\tools\apache-maven-3.6.3.
3. Check if JAVA_HOME point to location where JDK is installed.

C:\Users\Admin>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.8.0_261

4. Set the MAVEN_HOME environment variable to d:\tools\apache-maven-3.6.3 (location


where Maven is unpacked).
5. Update the PATH environment variable to include the folder where mvn.cmd is stored:

set PATH=%PATH%;%MAVEN_HOME%\bin
You can check if Maven is correct installed opening a Command Prompt Console and
running the following command:
C:\Users\Admin>mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\MG\tools-2020\apache-maven-3.6.3\bin\..
Java version: 1.8.0_261, vendor: Oracle Corporation, runtime: C:\Program
Files\Java\jdk1.8.0_261\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

You might also like