Skip to content

Commit f940e18

Browse files
authored
feat(windows): reflect requirement for JAVA_HOME with temurin17 (#155)
1 parent 3d6a8a2 commit f940e18

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

content/setup/windows.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Once installed, you might need to add it to your `Path`. First, check if you nee
5555
javac --version
5656
```
5757

58-
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`:
58+
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`:
5959

6060
1. Search for "**Edit the system environment variables**" in Windows Search and select
6161
2. Click on "**Environment variables...**" in the bottom corner
@@ -65,6 +65,18 @@ If you see a version number printed, you are ready to move on to [Installing And
6565
```
6666
C:\Program Files\Eclipse Adoptium\jdk-17.X.X\bin
6767
```
68+
69+
Additionally, some installations may require creating the `JAVA_HOME` environment variable manually:
70+
1. Search for "**Edit the system environment variables**" in Windows Search and select
71+
2. Click on "**Environment variables...**" in the bottom corner
72+
3. Click on **New...** under the "**User variables for...**" section
73+
4. Add the following variable. Ensure you're using the correct JDK path, without the \bin suffix. Example:
74+
```
75+
VARIABLE_NAME: JAVA_HOME
76+
VARIABLE_VALUE: C:\Program Files\Eclipse Adoptium\jdk-17.0.12.7-hotspot
77+
```
78+
79+
You may need to restart your terminal for changes to apply.
6880

6981
### Installing Android Studio
7082

0 commit comments

Comments
 (0)