From c5fe75552a78584f317a54d8fa3890279a723384 Mon Sep 17 00:00:00 2001 From: pyranota Date: Mon, 3 Mar 2025 12:27:55 +0300 Subject: [PATCH 1/2] nit: fix set_progress docs --- docs/advanced/19_explicit_progress/index.mdx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/advanced/19_explicit_progress/index.mdx b/docs/advanced/19_explicit_progress/index.mdx index 83ba66e5e..811ca6349 100644 --- a/docs/advanced/19_explicit_progress/index.mdx +++ b/docs/advanced/19_explicit_progress/index.mdx @@ -38,13 +38,13 @@ def main(): set_progress(25) # ... Second heavy task - set_progress(25) + set_progress(50) # ... Third heavy task - set_progress(25) + set_progress(75) # ... Fourth heavy task - set_progress(25) + set_progress(99) ``` @@ -60,16 +60,16 @@ export async function main() { setProgress(25) // ... Second heavy task - setProgress(25) + setProgress(50) // ... Third heavy task - setProgress(25) + setProgress(75) // ... Fourth heavy task - setProgress(25) + setProgress(99) // .. } ``` - \ No newline at end of file + From d19d92bb08b6853c7b458a3ab7c56be1969b9dc4 Mon Sep 17 00:00:00 2001 From: pyranota Date: Tue, 1 Jul 2025 14:24:04 +0200 Subject: [PATCH 2/2] docs for java on windows worker Signed-off-by: pyranota --- docs/misc/17_windows_workers/index.mdx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/misc/17_windows_workers/index.mdx b/docs/misc/17_windows_workers/index.mdx index 412080679..e97a4067f 100644 --- a/docs/misc/17_windows_workers/index.mdx +++ b/docs/misc/17_windows_workers/index.mdx @@ -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" + ```