0% found this document useful (0 votes)
5 views6 pages

Week 1 Lecture 2

The document outlines the setup of a development environment for a course focused on Java and Spring Boot, emphasizing the need to install Java JDK 11 and Eclipse 2022-06. It provides detailed instructions for configuring Eclipse and installing necessary tools, including Spring Tools, while ensuring that no other JDK versions are present. Additionally, it includes guidance on building a simple 'Hello World' Spring Boot web application.

Uploaded by

danthebard
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views6 pages

Week 1 Lecture 2

The document outlines the setup of a development environment for a course focused on Java and Spring Boot, emphasizing the need to install Java JDK 11 and Eclipse 2022-06. It provides detailed instructions for configuring Eclipse and installing necessary tools, including Spring Tools, while ensuring that no other JDK versions are present. Additionally, it includes guidance on building a simple 'Hello World' Spring Boot web application.

Uploaded by

danthebard
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

CSC365 Week 1 Lecture 2

Development Environment.........................................................................................................................2
Java JDK 11..................................................................................................................................................2
Eclipse..........................................................................................................................................................2
Configuring Eclipse......................................................................................................................................2
Determine Java Version...............................................................................................................................3
Uninstall Java JDK........................................................................................................................................3
Install Java JDK 11........................................................................................................................................4
Install Eclipse...............................................................................................................................................4
Install Spring Tools.......................................................................................................................................5
Configure Your Eclipse IDE...........................................................................................................................5
Build a Spring Boot Web Application – Hello World Demo..........................................................................5
Development Environment
One of the most important parts of this course is making sure that your development environment is
setup properly. We need to ensure that we only have Java JDK 11 installed. We do not want any other
JDK installed alongside this one because it can cause problems. We also want to install Eclipse 2022-06.
This version is very stable, and it will provide the foundation for developing our applications. Finally, we
need to modify the environment so that it is configured optimally for our applications.
I will provide instructions for different operating systems where applicable. Once we move into the IDE, I
will be creating videos using Windows 10 since this is the most popular OS. Be sure to use ctrl-click on
the video links to launch the videos (this might be command click on Mac OS).

Java JDK 11
Java is a very popular programming language. You may have taken Java in your college career. If you
have not, you are completely fine. We will not dive into full blown Java applications. Instead, we will use
small Java methods to help process web requests. You do not need to be a Java guru to be in this course.

Eclipse
Eclipse is a popular IDE (Integrated Development Environment). We will use this IDE to build our
applications. You may be tempted to use other IDEs to build out your applications. This is okay, but I
warn you that sticking with Eclipse from the beginning is going to be best. We will use Eclipse to build
Spring MVC/Spring Boot web applications. IDEs like Visual Studio Code do not currently support building
Spring MVC web applications. Starting with a different IDE and then moving back to Eclipse (once we get
to server-side development), might make things more difficult for you. If your alternate IDE supports
Spring MVC (like IntelliJ), then it would be fine to use that IDE.

Configuring Eclipse
We have a few configuration pieces in Eclipse that we will want to modify. This will make your life easier
as you build your solutions. I will guide you through the steps you need to take in order to configure
your IDE optimally.
Determine Java Version
The first thing we need to do is to determine which version of Java we have installed (if any at all).

Launch Video

Launch Video

Launch Video

Uninstall Java JDK


If you have another version of Java installed (other than Java JDK 11), then you must uninstall all other
versions and install JDK 11. Do NOT user a newer version of the JDK. The videos below will help you
understand how to uninstall previous versions of .

Launch Video

Launch Video
Launch Video

Install Java JDK 11


The next step is to make sure that you have the Java JDK 11 software installed on your computer. The
videos below will guide you.

Launch Video

Launch Video

Launch Video

Install Eclipse
It is time to install the Eclipse IDE on our computer. The videos below will guide you through the
process. The video will ask that you download 2020-03. I would like you to install 2022-12 instead.
Windows - https://www.eclipse.org/downloads/download.php?file=/oomph/epp/2022-12/R/eclipse-inst-jre-win64.exe
Linux - https://www.eclipse.org/downloads/download.php?file=/oomph/epp/2022-12/R/eclipse-inst-jre-linux64.tar.gz
Mac - https://www.eclipse.org/downloads/download.php?file=/oomph/epp/2022-12/R/eclipse-inst-jre-mac64.dmg

Here is a video of the 2022-12 installation, along with Spring Tools 4 installation, and a sample project setup:
https://web.microsoftstream.com/video/0dd873d5-0dd6-412d-aaa5-03133f20e564

Launch Video
Launch Video

Launch Video

Install Spring Tools


Since we will be building Spring MVC applications (eventually), we need to ensure that the Spring Tools
are installed in our Eclipse IDE. The video below will guide you through the steps. From this point on, I
will be providing videos in Windows 10 (since we are in the Eclipse IDE only). The video shows how to
download Spring Tools 3. You will, however, install Spring Tools 4 since you installed Eclipse 2022-06.

Launch Video

Configure Your Eclipse IDE


Since we will be working with Spring Boot and Java, I would like you to make some modifications to the
default Java EE perspective. We will be:

 Adding a Spring Boot Dashboard for managing our embedded Tomcat Web Server
 Adding a Package Explorer View
 Deleting the Project Explorer View
 Linking files with the Eclipse Editor
 Changing our Package Presentation to Hierarchical View

All these changes may not make complete sense now. We will discuss their application in future videos,
though.

Launch Video
Build a Spring Boot Web Application – Hello World Demo
I don’t know that I will ever get tired of “Hello World” examples. Here is yet another Hello World
example for you. This video below will provide the steps necessary to build a Spring Boot Web
Applications.

Launch Video

You might also like