Skip to content

Commit

Permalink
Add javaInstallation.md
Browse files Browse the repository at this point in the history
  • Loading branch information
damithc committed Sep 29, 2024
1 parent f0aa3f4 commit f969d40
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Tutorials, how-to guides, getting-started guides, ...
* [**Checkstyle**](tutorials/checkstyle.html)
* [**Codecov**](tutorials/codecov.html)
* **Java**:
* **Installation**
* **[Installation](javaInstallation.html)**
* [**:fab-apple: Mac**](tutorials/javaInstallationMac.html)
* [**:fab-windows: Windows**](tutorials/javaInstallationWindows.html)
* [**JAR files**](tutorials/jar.html)
Expand Down
2 changes: 1 addition & 1 deletion tutorials/ab3TracingCode.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Before we proceed, ensure that you have done the following:
{{ dg_ref }} Read the [**_Architecture_ section** of the DG](https://se-education.org/addressbook-level3/DeveloperGuide.html#architecture) (no need to read the other sections yet).
1. **Set up your AB3 project** (i.e., the one you cloned to your computer) in Intellij IDEA, and confirm the setup is correct by doing the following two checks:
* Run `./gradlew run` -- AB3 app should launch, and you should be able to interact with it.<br>
If this step doesn't go as expected, ensure the default Java version is set correctly (more info: [:fab-apple: Mac](javaInstallationMac.html) | [:fab-windows: Windows](javaInstallationWindows.html)). {texts="['2.1', '2.2', '2.3']"}
If this step doesn't go as expected, ensure the default Java version is set correctly, as given in [here](javaInstallation.html). {texts="['2.1', '2.2', '2.3']"}
* Run AB3 using Intellij UI (i.e., use the {{ icon_run_green }} button to run `src\main\java\seedu\address\Main.java`) and ensure the app launches.<br>
If the first check worked but this check doesn't, ensure you have set Intellij to use the correct JDK version (more info: [here](intellijJdk.md)).
1. **Learn basic debugging features of Intellij IDEA** given [here](intellijDebugger.md):
Expand Down
11 changes: 11 additions & 0 deletions tutorials/javaInstallation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{% set title="Java Installation Guides" %}
<frontmatter>
title: "{{ title }}"
pageNav: 2
</frontmatter>

# {{ title }}

* [**:fab-apple: Mac**](tutorials/javaInstallationMac.html) -- If you are on a Mac and you anticipate using JavaFX in your projects, you are using the precise JDK specified in this guide.
* [**:fab-windows: Windows**](tutorials/javaInstallationWindows.html)
* %%**:fab-linux: Linux**: coming soon ...%%

0 comments on commit f969d40

Please sign in to comment.