Skip to content

Reflect requirement for JAVA_HOME with temurin17 #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion content/setup/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Once installed, you might need to add it to your `Path`. First, check if you nee
javac --version
```

If you see a version number printed, you are ready to move on to [Installing Android Studio](#installing-android-studio), otherwise you will need to add the JDK binaries to your system environment `Path`:
If you see a version number printed, you may skip this step. Otherwise, you will need to add the JDK binaries to your system environment `Path`:

1. Search for "**Edit the system environment variables**" in Windows Search and select
2. Click on "**Environment variables...**" in the bottom corner
Expand All @@ -65,6 +65,18 @@ If you see a version number printed, you are ready to move on to [Installing And
```
C:\Program Files\Eclipse Adoptium\jdk-17.X.X\bin
```

Additionally, some installations may require creating the `JAVA_HOME` environment variable manually:
1. Search for "**Edit the system environment variables**" in Windows Search and select
2. Click on "**Environment variables...**" in the bottom corner
3. Click on **New...** under the "**User variables for...**" section
4. Add the following variable. Ensure you're using the correct JDK path, without the \bin suffix. Example:
```
VARIABLE_NAME: JAVA_HOME
VARIABLE_VALUE: C:\Program Files\Eclipse Adoptium\jdk-17.0.12.7-hotspot
```

You may need to restart your terminal for changes to apply.

### Installing Android Studio

Expand Down