Setting Up Your Java Environment

Environment Setup

A Browser

  • We highly recommend Chrome
  • Firefox will work as well

A Command Line Processor

  • Default Mac is called Terminal, or the "Shell"

    • ​Free third-party tool: iTerm

  • Default Windows is Called Command Prompt

Environment Setup

 

1. Install Java:​

 https://www.java.com/en/download/

 

Windows should use the online installation need help?

 

2. Install the JDK 8 (Java Developer Kit 1.8):

https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

**Help Installing the JDK can be found on the next slide**

Help Installing JDK

Windows (video): Watch and follow video Install JDK on Windows

 

Windows (guide): Install JDK on Windows:

https://docs.oracle.com/javase/8/docs/technotes/guides/install/windows_jdk_install.html#A1097936

 

Mac OS X (video): Watch and follow video: Install JDK on Mac OS X


Mac OS X (guide): Install JDK on Mac OS X: https://docs.oracle.com/javase/8/docs/technotes/guides/install/mac_jdk.html#CHDBADCG

lol JDK?

The Java Developer Kit (JDK) is the development environment for Java. It packages together the Java Runtime Environment (JRE), an interpreter (java), and a compiler (javac) among other useful tools.

We'll experience all of these things in more depth further down the road!

Setting up Eclipse

3. Go to: https://www.eclipse.org/downloads/

  • Make sure you're looking at Eclipse IDE for Java Developers
  • Select your operating system and hit download
  • That will be downloaded in a zipped file so you want to unzip and access the file that says eclipse.exe
    • That will be Eclipse
  • Move that folder into a safe place on your computer (Desktop or Documents)

Setting up Spring Boot

Note: this step can be completed later with instructor assistance

 

Follow this guide on installing Spring Boot for Java 8: https://docs.spring.io/spring-boot/docs/current/reference/html/getting-started.html

Next Steps

  • On your Desktop Create a Folder called Java Work or Java Practice
  • Open the eclipse.exe file that is located in the unzipped Eclipse folder
  • When it prompts you to Select Your Workspace hit the Browse Button on the right of the screen and look for the Java Work Folder on your Desktop
  • You should be all good to go to start your first Java Project! 

Git/GitHub

If you do not have a GitHub account, let's create one now at https://github.com/

 

You will have to verify your email address to complete the sign-up process. You can then change your username to something other than your email address. **Please use firstname lastname format if possible**

 

Next, watch this video to get a head start on how to use GitHub. You will be utilizing GitHub often in and outside of class!

https://www.youtube.com/watch?v=iv8rSLsi1xo

HackerRank

If you do not have a HackerRank account, let's create one. https://www.hackerrank.com

 

You will have to verify your email address to complete the sign-up process. You can then change your username to something other than your email address. **Please use firstname lastname format if possible**

Java Environment

By Tech Talent South

Private

Java Environment