CodingNomads online_java_labs

This project contains a variety of textbook examples and labs focused on Java fundamentals.

Getting Started

To get started with this project please follow these instructions:

1) If you have not already installed Git - please do so: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
2) $ git clone https://github.com/rdesmond/online_java_labs.git
3) Open IntelliJ IDE and choose "Import Project" or "New" -> "Project From Existing Sources"
4) Navigate to the root folder of the project you just cloned. You should see the "src" folder and the README.md
5) Click "Open"
6) Select "Create project from existing sources" radio button, then "next"
7) Leave the name as is, click "next"
8) If you are asked to overwrite the .iml file, select "Yes" then "next"
9) Click "next" again - do not uncheck box
10) In the "Libraries" section, just click "next"
11) In the "Module Structure" section, just click "next"
12) If the Java 8 SDK does not automatically load - click the "+" and navigate to "/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home" or the appropriate directory containing the Java "Home" directory then click "next"
13) click "Finish"
14) Once loaded, you will see the directory structure on the left. Downclick on "Online_Java_Labs" to expand it. Also downclick on the "src" folder, then again "conditions_loops" and again on "examples".
15) Double click on any file to open it.
16) If the Java file contains a main() method, you can right click on the file and select "run" to run the code within the main()

Prerequisites

Install Java 8 JDK 8 (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
Install IntelliJ IDE Community Edition (https://www.jetbrains.com/idea/download)
Install Git (https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)