Skip to content

Commit 329af89

Browse files
authored
Update README.md
mention sdkman for unix systems explain why java 8 support is kept, but prefer latest lts jdk
1 parent 808cb4f commit 329af89

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ SPDX-License-Identifier: MIT
1111
**Requirements**
1212

1313
- **Java JDK**: Java 8 or newer installed and `JAVA_HOME` configured.
14+
- If your are on a Unix system (MacOS/Linux), [SDKMAN](https://sdkman.io) is a great tool for managing JDKs.
15+
- Also perfer the latest LTS JDK (currently 25) as it has newer features and fixes.
16+
- Java 8 support is kept, because it is hard to find a decive without support for it.
1417

1518
**Quick start — Terminal**
1619

@@ -65,9 +68,10 @@ java -jar build/libs/JavaAppTemplate-all.jar
6568
**Troubleshooting**
6669

6770
- If Gradle complains about Java version, ensure `JAVA_HOME` points to a supported JDK and that `java -version` shows the same.
71+
- If you are using SDKMAN run `sdk current java`.
6872
- On Windows, prefer PowerShell or Git Bash for the provided scripts; ensure `gradlew.bat` is executable.
6973
- If you get missing dependency errors, run `./gradlew --refresh-dependencies`.
7074

7175
**Files**
7276

73-
See the main entry point at `src/main/java/dev/project516/JavaAppTemplate/Main.java`.
77+
See the main entry point at `src/main/java/dev/project516/JavaAppTemplate/Main.java`.

0 commit comments

Comments
 (0)