thonny-py5mode icon indicating copy to clipboard operation
thonny-py5mode copied to clipboard

Use py5/jpype to check/set JAVA_HOME

Open tabreturn opened this issue 3 years ago • 0 comments

"py5 can check if JAVA_HOME exists, and if not, see what jpype.getDefaultJVMPath() returns? If that is not version >= 17, jpype will not be able to start py5. Instead of failing, check in the location where the Python JDK library puts the installs. If Java 17 is found there, py5 can direct jpype to that location. If it isn't found, display a suitable error message."

Call jpype.getDefaultJVMPath() so it isn't necessary to set JAVA_HOME?

tabreturn avatar Jul 05 '22 05:07 tabreturn