A bunch of enhancements (to split into several issues/tasks)
tabreturn opened this issue · 1 comments
tabreturn commented
"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 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.- ...