Closed caluap closed 1 year ago
Thanks for the report. Which version of Thonny are you running?
3.3.7
Thanks! It might be that JRE isn't installing properly, or maybe not to the JAVA_HOME path. I'll investigate ...
Thank you!
Thanks for the report @caluap! I think you showed me the contents of the folder pointed by JAVA_HOME and there was something installed there, do I remember it correctly?
I find this MacOS "Contents" hidden folder inside applications a bit confusing (not sure this is the case, here). Is the second path shown in the debug info a valid one?
{'JAVA_HOME environment variable': '/Users/calua/Library/Thonny/jdk-17', 'jvm version': (0, 0, 0), 'default jvm path': '/Users/calua/Library/Thonny/jdk-17/Contents/Home/lib/libjli.dylib'}
Cheers @caluap!
I wonder if you could try setting JAVA_HOME "outside" Thonny, like I did for my Windows batch-file for Portable Thonny... This is from a confusing Oracle documentation:
$ export JAVA_HOME=`/usr/libexec/java_home -v 17`
I encountered issues with Thonny 4.0.1. It seems JDK-17 is unhappy on my M1 machine. So I manually downloaded and extracted JDK-18, then set the path (in Thonny options) manually, and things ran fine. So maybe just requires jdk-install to use JDK-18. I will test and amend it for the next release (if 18 solves the problem).
Cheers @caluap !
My friend @ericof managed py5 in his M1 Mac, can you give it another go? Maybe you could ask Erico for help...
Just got a MacBook Pro M2. This commit, which will be in the next release, should solve the problem --
https://github.com/tabreturn/thonny-py5mode/commit/72080927b7523a3e47a7ad3ea31f0c4c9d2e760c
No idea if this breaks M1 support ...
Hi! I tried installing and running py5, but it isn't able to find the JDK.
There were no error messages during the installation and configuration of the plugin, but when I tried to run a script I got:
The options show that JAVA_HOME is set: