Installation Guide for Windows

This guide supplies step-by-step instructions for installing the required tools for the course.

Java Development Kit

  1. Navigate to the JDK downloads page.

  2. Be sure to review the Oracle Technology Network License Agreement for Oracle Java SE.

  3. Select the "Windows x64" download option under the "Java SE Development Kit 8u211" heading, as shown in the following image:

    A screenshot displays Java SE Development Kit download options for various operating systems.

  4. Run the installation file.

  5. On the first setup page, select Next.

  6. Choose the installation directory, then select Next.

  7. Choose the installation directory again.

  8. Select Next.

  9. A final window will indicate that you've successfully installed the JDK!

IntelliJ IDEA

  1. Navigate to the IntelliJ IDEA downloads page.

  2. Download the Community edition.

  3. Run the installation file.

  4. On the first setup page, select Next.

  5. Choose the destination folder, then select Next.

  6. Select the "Update PATH variable" option, create the ".java" association, and then select Next.

  7. Select Install to begin the installation.

  8. Choose your preference for when to reboot.

  9. After you reboot, start IntelliJ.

  10. Accept the privacy policy and continue.

  11. Choose whether or not to send usage statistics.

Maven

  1. Download the latest binary ZIP from the Apache Maven downloads page, as shown in the following image:

    A screenshot displays a list of files to download, with the "Binary zip archive" option highlighted.

  2. Unzip the file, and install to C:\opt\apache-maven-3.8.4 (but the file name might vary based on the version you download).

  3. Press the Windows key on your keyboard and search for "Edit the system environment variables". Once that appears in the search screen, click on it, as shown in the following image:

    A screenshot displays search results for "Edit the system environment variables."

  4. You'll then be prompted with the System Properties screen. Navigate into the Advanced tab and select "Environment Variables...", as shown in the following image:

    A screenshot displays the System Properties window, with an arrow pointing to the Environment Variables button.

  5. On the Environment Variables screen, under "User variables for <user>" (where <user> is your username on that computer), click "New...". Name the variable MAVEN_HOME, and set the variable value to the location where you unzipped Maven (for example, C:\opt\apache-maven-3.8.4). Refer to the following image for an example:

    A screenshot displays the New User Variable screen with the provided variable names entered.

  6. On the Environment Variables screen, under "User variables for <user>" (where <user> is your username on that computer), select Path and then select the "Edit..." button in the top section of the screen—as shown in the following image:

    A screenshot displays the Environment Variables window, with Path and Edit highlighted.

  7. In the "Edit environment variable" window, select New.

  8. Your cursor will appear in a new line at the bottom of the variables. Your screen should resemble the following image:

    A screenshot displays the "Edit environment variable" window, with a blank box highlighted.

  9. Paste %MAVEN_HOME%\bin into this box and click OK.

  10. Open a command prompt and run mvn --version to verify successful installation.

MySQL

  1. Navigate to the MySQL Community Downloads page

  2. In the "Select Operating System" dropdown menu, choose Microsoft Windows, as shown in the following image:

    A screenshot displays the MySQL Community Downloads page, with Microsoft Windows selected as the operating system.

  3. Next to "Windows (x86, 32 & 64-bit), MySQL Installer MSI", select "Go to Download Page". On the next page, find the smaller file size for "Windows (x86, 32-bit), MSI Installer", and click the Download button. Refer to the following image for an example:

    A screenshot displays the MySQL Community Downloads page, with the smaller file size option highlighted.

  4. When prompted about signing up for a free Oracle Web account on the next page, select "No thanks, just start my download," as shown in the following image:

    A screenshot displays a prompt to sign up for an Oracle Web account.

  5. Navigate to the folder where the file was downloaded, and double-click it to run the installer. If you get prompted for an update, select Yes. When you reach the page labeled "Choosing a Setup Type", check that "Server only" is selected, and click Next, as shown in the following image:

    A screenshot displays the MySQL Installer window with "Server only" selected.

  6. On the next screen, entitled Download, you'll find your product listed (it should say "MySQL Server", followed by a version number). Click Execute to start the installation process, as shown in the following image:

    A screenshot shows the MySQL Installer window, with the version number displayed.

  7. After you click Execute, the status will be listed as Downloaded. Click Next, as shown in the following image:

    A screenshot displays the MySQL Installer window with the version number displayed.

  8. The MySQL server is now ready for installation. Click Execute to begin the installation, as shown in the following image:

    A screenshot displays the MySQL Installation window, indicating that it's ready to install.

  9. Once the installation status shows as Complete, click Next. Then click Next on the next page, which should indicate "Ready to configure", as shown in the following image:

    A screenshot displays the MySQL Installer indicating "Ready to configure."

  10. On the Type and Networking page, do not change anything. Just select Next to proceed to the Authentication Method page.

  11. On the Authentication Method screen, select "Use Legacy Authentication Method (Retain MySQL 5.x Compatibility)" and click Next, as shown in the following image:

    A screenshot displays the MySQL Installer Authentication Method window.

  12. On the next screen, Accounts and Roles, you'll need to enter a password under Root Account Password, near the top of the screen. Enter "password" in both boxes, as shown in the following image:

    Note: For the purposes of this course, setting your root password to "password" keeps things simple and prevents sensitive passwords from being shared on GitHub when you submit work. It is difficult to change or reset your MySQL root password, so make sure to enter it correctly.

    A screenshot displays the MySQL Installer Accounts and Roles window.

  13. On the Windows Service screen, don't change anything, and click Next. On the Apply Configuration screen, click Execute to apply the changes.

  14. After the configuration is complete, click Finish.

    Note: If you have any issues with the Windows (x86, 32-bit), MSI Installer that is the SMALLER file size, go back and download the LARGER size, following the same steps.

Now you will need to add the MySQL PATH to your environmental variables.

Add the MySQL PATH to the Environmental Variables

  1. First you'll need to copy the MySQL PATH to your clipboard. Open any folder on your computer and select "This PC" in the left-hand navigation bar, then open the C: drive.

  2. Open the Program files folder, then navigate to the MySQL folder.

    Note: Depending on the version of Windows on your computer, MySQL might be inside the Program files (x86) folder.

  3. Double-click the MySQL Server 8.0 folder, and finally, double-click the bin folder. Your window should resemble the following image:

    A screenshot displays the MySQL Server 8.0 bin.

  4. Right-click the address at the top of the screen and select "Copy address as text", as shown in the following image:

    A screenshot displays the MySQL bin address, with "Copy address as text" selected.

  5. Now that you've got the PATH copied to your clipboard, press the Windows key on your keyboard and search for "Edit the system environment variables". Once that appears in the search screen, click on it, as shown in the following image:

    A screenshot displays the search results for "Edit System Environmental Variables".

  6. You'll then be prompted with the System Properties screen. Navigate into the Advanced tab and select "Environment Variables...", as shown in the following image:

    A screenshot displays the System Properties window, with an arrow pointing at Environment Variables.

  7. On the Environment Variables screen, under "User variables for <user>" (where <user> is your username on that computer), click into Path and then click the "Edit..." button in the top section of the screen. It should resemble the following image:

    A screenshot displays the Environment Variables window, with Edit Path selected.

  8. In the "Edit environment variable" window, select New.

  9. Your cursor will appear in a new line at the bottom of the variables. Paste your PATH in this box and click OK. Your screen should resemble the following image:

    A screenshot displays a blank box in which to paste the PATH.

  10. Once you've added the PATH, restart Git Bash completely. You can verify that the installation was correct by typing mysql -V into Git Bash.

  11. The PATH followed by the MySQL version number should be printed to the screen. Once you verify that the MySQL server was correctly installed, you can move on to setting up MySQL Shell.

MySQL Shell on Windows

Important: To use MySQL commands, you'll need to use MySQL Shell. You won't be able to access this shell through your Git Bash terminal—you'll need to use the Windows command prompt.

  1. To open MySQL Shell, press the Windows key and the R key at the same time. This will bring up a dialog window titled Run. Enter cmd in the input, and click OK to open your Windows command prompt.

  2. Once you're there, you'll need to log into MySQL Shell. To do so, enter mysql -u root -p in the Windows command prompt.

    • This tells MySQL Shell that you want to log in with the root user (-u). The -p syntax stands for "password."
  3. Once you enter this command, you'll be prompted for the root password that you created when you installed MySQL.

  4. Enter your password (it should be "password"), and you will be logged into MySQL Shell.

    • From here you will be able to enter MySQL commands. You don't need to do this now, but you can revisit these instructions as you work through this module!
  5. Type the command quit; to exit the MySQL Shell.

MySQL Workbench

  1. Open the MySQL Installer that you used to install the MySQL server.

  2. Select Add, on the right side of the window, as shown in the following image:

    A screenshot displays the MySQL Installer, with Add highlighted.

  3. Select Applications. Next, select MySQL Workbench, then select the top option, and select the top option again. Finally, click the right arrow to add the most recent version of MySQL Workbench to the "Products to Be Installed" list. Click Next to proceed to the next page. Refer to the following image for an example:

    A screenshot displays the MySQL Installer Select Products screen.

  4. On the download page, click Execute to download MySQL Workbench.

  5. Once the download has finished, click Next to move on to the next page.

  6. On the Installation page, click Execute to start the install. After the installation finishes, click Next and then Finish on the next page.

Node.js

  1. Navigate to the Node.js website.

  2. To download the installer, click the green box with the LTS version of Node.js under "Download for Windows". The correct version will be labeled "x.x.x LTS Recommended for Most Users", where "x.x.x" is a combination of numbers. Refer to the following image for an example:

    A screenshot displays the Node.js download options for Windows, with the LTS option highlighted.

  3. After the installer has downloaded, open it to begin the installation process. Follow the prompts by clicking Next in the Setup Wizard, as shown in the following image:

    A screenshot displays an installation window for Node.js, with the Next button highlighted.

    Note: You might be prompted to install tools for native modules. Don't select anything on that page—just select Next.

  4. After you click the checkbox to accept the license agreement, continue clicking Next until the installation screen says "Ready to install Node.js". Click the Install button, as shown in the following image:

    A screenshot displays an installation window for Node.js, with the Install button highlighted.

  5. When the installation is complete, click finish.

Heroku CLI

  1. To install the Heroku CLI on Windows, download the 64-bit installer for Windows.

  2. Open the installer on your machine and follow the prompts to complete the installation. Once the installation is complete, open Git Bash.

  3. To verify that the Heroku CLI was installed, type heroku --version into the command line. You should get a message that resembles the following (but the number might be different depending on your version of the CLI):

    heroku/7.42.6 win32-x64 node-v12.16.2

  4. After you confirm that the Heroku CLI was installed correctly, type heroku login into the command line. You'll be prompted to enter any key to go to the web browser to complete login. The CLI will then log you in automatically.

Postman

  1. Navigate to the Postman downloads page

  2. Select the "Windows 64-bit" button.

    A screenshot displays the Postman downloads page with the Windows 64-bit option highlighted.

  3. Select "Create Free Account" and go through the process of creating an account. When prompted to create a team, select "Continue Without a Team."

You're Done

That's all for the installations! You've set up your computer with everything you need for the first day of class.