Comments (9)
Thanks! It might be that JRE isn't installing properly, or maybe not to the JAVA_HOME path. I'll investigate ...
from thonny-py5mode.
Thanks for the report. Which version of Thonny are you running?
from thonny-py5mode.
from thonny-py5mode.
Thank you!
from thonny-py5mode.
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'}
from thonny-py5mode.
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`
from thonny-py5mode.
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).
from thonny-py5mode.
Cheers @caluap !
My friend @ericof managed py5 in his M1 Mac, can you give it another go? Maybe you could ask Erico for help...
from thonny-py5mode.
Just got a MacBook Pro M2. This commit, which will be in the next release, should solve the problem --
No idea if this breaks M1 support ...
from thonny-py5mode.
Related Issues (20)
- When py5 auto-completion is active, other imported modules won't auto-complete/list methods
- Add translations for py5 menu items
- Plug-in cannot import stackprinter on Windows HOT 3
- Crtl+Alt+K shortcut for opening enclosing folder still has some code editor behavior HOT 1
- Add an 'examples' feature (to download and open example sketches)
- Consider classpath support feature HOT 2
- Portable support enhancement ideas HOT 7
- Look at adding black formatter? HOT 2
- Maybe a py5 installation issue... HOT 11
- pyde extension support HOT 1
- Forget the sketch window position after restarting HOT 1
- thonny-py5mode plugin installs incompatible JDK runtime HOT 9
- These paths don't look right? HOT 1
- Plugin fails to load on Raspberry Pi HOT 8
- Not able run sketches on thonny py5 mode HOT 3
- Not being able to run a sketch HOT 1
- Variable JAVA_HOME not detected automatically HOT 3
- Backend load failure on MacOS HOT 1
- JAVA_HOME environment variable HOT 5
- jdk-install might be failing to make available a JDK on Apple Silicon Macs HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thonny-py5mode.