Skip to content

Commit e698798

Browse files
authored
README: Mention the project language level setting
1 parent 7bfb6e7 commit e698798

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ Prerequisites: JDK 11, update Intellij to the most recent version.
1111
1. Click `Open`.
1212
1. Select the project directory, and click `OK`.
1313
1. If there are any further prompts, accept the defaults.
14-
1. Configure the project to use **JDK 11** (not other versions) as explained in [here](https://www.jetbrains.com/help/idea/sdk.html#set-up-jdk).
15-
1. After that, locate the `src/main/java/Duke.java` file, right-click it, and choose `Run Duke.main()`. If the setup is correct, you should see something like the below:
14+
1. Configure the project to use **JDK 11** (not other versions) as explained in [here](https://www.jetbrains.com/help/idea/sdk.html#set-up-jdk).<br>
15+
In the same dialog, set the **Project language level** field to the `SDK default` option.
16+
3. After that, locate the `src/main/java/Duke.java` file, right-click it, and choose `Run Duke.main()` (if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output:
1617
```
1718
Hello from
1819
____ _

0 commit comments

Comments
 (0)