"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?
'JDK-11 installed and JAVA_HOME set' --> f'JDK-{_REQUIRE_JDK} installed and JAVA_HOME set' instead.
py5_tools.reference.PY5_DIR_STR for syntax highlighting (instead of module.PY5_ALL_STR)?
Note (if/where applicable) that importing py5 will start the JVM, but importing py5_tools will not.
"py5 can check if
JAVA_HOME
exists, and if not, see whatjpype.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."jpype.getDefaultJVMPath()
so it isn't necessary to setJAVA_HOME
?'JDK-11 installed and JAVA_HOME set'
-->f'JDK-{_REQUIRE_JDK} installed and JAVA_HOME set'
instead.py5_tools.reference.PY5_DIR_STR
for syntax highlighting (instead ofmodule.PY5_ALL_STR
)?Note (if/where applicable) that importingpy5
will start the JVM, but importingpy5_tools
will not.