Skip to content

Commit 2e919d5

Browse files
pyranotahcourdent
andauthored
add docs for java on windows worker (#1030)
* nit: fix set_progress docs * docs for java on windows worker Signed-off-by: pyranota <[email protected]> --------- Signed-off-by: pyranota <[email protected]> Co-authored-by: Henri Courdent <[email protected]>
1 parent ce8da80 commit 2e919d5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/misc/17_windows_workers/index.mdx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,24 @@ You can also check other installation methods in uv`s [official documentation](h
128128
# Replace these variables with your specific configuration
129129
$env:NU_PATH="C:\..\..\nu.exe"
130130
```
131+
### Java executor
132+
133+
1. **Install Java**: Ensure you have installed Java. You can use any Java version, but OpenJDK-22 is recommended and tested by Windmill.
134+
- Start PowerShell and verify you have working `java` and `javac`:
135+
```powershell
136+
java --version && javac --version
137+
```
138+
139+
2. **Install Coursier**:
140+
- Open PowerShell and fetch .jar:
141+
```powershell
142+
Start-BitsTransfer -Source https://github.com/coursier/launchers/raw/master/coursier -Destination coursier
143+
```
144+
145+
3. **Set environment variables**:
146+
- Add the following environment variables (replace the placeholders with your specific values):
147+
```powershell
148+
# Replace these variables with your specific configuration.
149+
# Make sure you provide **full** path!
150+
$env:COURSIER_PATH="C:\..\..\coursier"
151+
```

0 commit comments

Comments
 (0)