Skip to content

add docs for java on windows worker #1030

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

21 changes: 21 additions & 0 deletions docs/misc/17_windows_workers/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,24 @@ You can also check other installation methods in uv`s [official documentation](h
# Replace these variables with your specific configuration
$env:NU_PATH="C:\..\..\nu.exe"
```
### Java executor

1. **Install Java**: Ensure you have installed Java. You can use any Java version, but OpenJDK-22 is recommended and tested by Windmill.
- Start PowerShell and verify you have working `java` and `javac`:
```powershell
java --version && javac --version
```

2. **Install Coursier**:
- Open PowerShell and fetch .jar:
```powershell
Start-BitsTransfer -Source https://github.com/coursier/launchers/raw/master/coursier -Destination coursier
```

3. **Set environment variables**:
- Add the following environment variables (replace the placeholders with your specific values):
```powershell
# Replace these variables with your specific configuration.
# Make sure you provide **full** path!
$env:COURSIER_PATH="C:\..\..\coursier"
```
Loading