Skip to content

Commit

Permalink
Merge pull request #39 from tpenn/chapter1-edits
Browse files Browse the repository at this point in the history
Chapter1 edits
  • Loading branch information
gildedgardenia authored Sep 7, 2023
2 parents 151b2a0 + a0b9624 commit 831c92f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 14 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 18 additions & 9 deletions content/intro-and-setup/java-web-dev-projects/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ originalAuthor: Sally Steuterman # to be set by page creator
originalAuthorGitHub: gildedgardenia # to be set by page creator
reviewer: Kimberly Horan # to be set by the page reviewer
reviewerGitHub: codinglikeagirl42 # to be set by the page reviewer
lastEditor: # update any time edits are made after review
lastEditorGitHub: # update any time edits are made after review
lastMod: # UPDATE ANY TIME CHANGES ARE MADE
lastEditor: Terri Penn # update any time edits are made after review
lastEditorGitHub: tpenn # update any time edits are made after review
lastMod: 2023-08-31T10:16:27-05:00 # UPDATE ANY TIME CHANGES ARE MADE
---

## Initial Setup
Expand Down Expand Up @@ -62,18 +62,27 @@ assignment of this unit.
1. If you're asked about other settings for your project. Select the *Next*
button every time to accept the default options.
1. When your project is ready, you'll see a page that looks like the image
below. Click on the area in the top left labelled *Project*.
below. Click on Load, if you are prompted to load the Gradle Build Scripts.

![Screenshot of IntelliJ window of your fork of `java-web-dev-projects`](figures/IntelliJWindow.png?classes=border)

1. Clicking on *Project* opens a side panel, displaying the file structure of
the project you have just set up.
1. You should see the file structure of the project you have just set up. If
you do not, click on the folder icon in the upper left corner.

1. Double-clicking on the *Hello* file opens it in the workspace to the right.
1. Navigate down *datatypes/datatype-examples/src/main/java/org.launchcode*
and double-click on the *HelloMethods* file. This will open it in the
workspace to the right.

1. To run the *Hello* program, click on the green arrow next to the class
definition and select *Run 'Hello.main()'* from the dropdown menu.
1. To run the *HelloMethods* program, click on the green arrow next to the class
definition and select *Run 'HelloMethods.main()'* from the dropdown menu.

After a few seconds, you should see a new window appear with your program's
output.

{{% notice blue "Note" "rocket" %}}
You may have a message saying the Project JDK is not defined. Click on
'Setup SDK' and select the Java 17 version.
{{% /notice %}}

With that, you’re ready to go!

Expand Down
10 changes: 5 additions & 5 deletions content/intro-and-setup/setup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ originalAuthor: Sally Steuterman # to be set by page creator
originalAuthorGitHub: gildedgardenia # to be set by page creator
reviewer: Kimberly Horan # to be set by the page reviewer
reviewerGitHub: codinglikeagirl42 # to be set by the page reviewer
lastEditor: # update any time edits are made after review
lastEditorGitHub: # update any time edits are made after review
lastMod: # UPDATE ANY TIME CHANGES ARE MADE
lastEditor: Terri Penn # update any time edits are made after review
lastEditorGitHub: tpenn # update any time edits are made after review
lastMod: 2023-08-29 # UPDATE ANY TIME CHANGES ARE MADE
---

For the entirety of this course, we will be coding in Java. Besides installing Java on your machine, you must also add some support technologies to
Expand All @@ -18,7 +18,7 @@ allow you to run and edit Java code.
## Java Development Kit

Installing Java means downloading a package of software called the **Java Development Kit**,
or **JDK**, for short. The JDK contains software the tools needed to develop and
or **JDK**, for short. The JDK contains the software tools needed to develop and
run Java code, namely the Java compiler, **javac**, and the
**Java Virtual Machine (JVM)**.

Expand Down Expand Up @@ -58,7 +58,7 @@ Be sure to select your Operating System from the tab options.

The figure above shows options for downloading Java 17.

- **Mac users**: we recommend the `.dmg` option
- **Mac users**: we recommend the `.dmg` option. The ARM64 option is preferred if you have a recent Mac with an Apple Silicon processor (M1, M2, M...), otherwise choose the x64 option for Macs with an Intel processor.
- **Windows users**: we recommend the `.exe` option

To install, you must first select *Accept License Agreement*.
Expand Down

0 comments on commit 831c92f

Please sign in to comment.