Of course, the first thing we'll need to do is make sure we have Java, and an IDE so we can create Java EE programs. You installed Java in term 1, so that shouldn't require too much effort. Installing the Eclipse IDE is equally painless.
We'll be using Eclipse for Enterprise Java Developers - simply download and save it onto your computer, then run the file to start the installation.
When prompted, select "Eclipse IDE for Enterprise Java Developers".
During installation, you'll be asked to select the version of Java you want to use. For the field "Java 11+ VB" you can pull open the list and select a version you have installed on your system. Choose the most recent version that is greater than or equal to Java 14.
Once you've selected your Java version, you can click the Install button.
If prompted to accept licenses and user agreements, check the "Remember accepted licenses" checkbox so you don't have to do this every time there's an update.
Once the installation is complete, click the LAUNCH button.
When you start Eclipse, you're prompted to choose a workspace. A workspace is a collection of projects (a project is usually one application). You can have several workspaces if you wish: For example, I have a workspace where I test all the little exercises and assignments I want you to try. I also have a separate workspace that I use to make teaching videos. I have yet another workspace for actual projects that I'm working on.
You can probably get by in this course just fine with a single workspace, but some students like to have a workspace for practice exercises and a separate workspace for assignments. Having separate workspace is more organized, however using a single workspace will be easier if you think you're going to be spending a lot of time looking up past projects/exercises to see how to do something.
Regardless of what you decide to do today, you can always add a new workspace at any time. To start with today, your workspace should be located where you put all your documents and files for all of your courses, such as prog32758/projects or java3/projects.
Choose the workspace location. For convenience, you might wish to check the box "Use this as the default and do not ask again". You can easily switch workspaces from inside Eclipse at any time by selecting File > Switch Workspace.
Once Eclipse is running, we need to add Spring Tools so that we can write Spring Boot applications:
Once you've restarted Eclipse, we can do one last setup item to make things a bit easier when you want to search for dependencies to add to your project (something you'll do a lot): Go to Window > Preferences.
Scroll down to the "Maven" item and select it.
In the main part of the window, locate the check box "Download repository index updates on startup", then click on the "Apply and Close" button.
Now restart Eclipse one more time.
That's all! Once you have restarted Eclipse, you're ready to start coding some basic Enterprise Java applications with Spring Boot! There are quite a few other technologies we're going to need (Thymeleaf, Lombok, Postman, MySql) but we will add those as we need them.