I have installed Thonny 4.0-beta3-py38portable on Windows and installed thonny-py5mode (that means py5, jdk-17) YAY!
Note: There was a red warning message in the console about the plugin being unable to load, and I had to restart Thonny again after the plugin downloaded the JDK, then it disappeared.
https://github.com/py5coding/py5generator/discussions/88
I have installed Thonny 4.0-beta3-py38portable on Windows and installed thonny-py5mode (that means py5, jdk-17) YAY! Note: There was a red warning message in the console about the plugin being unable to load, and I had to restart Thonny again after the plugin downloaded the JDK, then it disappeared.