GithubHelp home page GithubHelp logo

Comments (9)

tabreturn avatar tabreturn commented on June 2, 2024 1

Thanks! It might be that JRE isn't installing properly, or maybe not to the JAVA_HOME path. I'll investigate ...

from thonny-py5mode.

tabreturn avatar tabreturn commented on June 2, 2024

Thanks for the report. Which version of Thonny are you running?

from thonny-py5mode.

caluap avatar caluap commented on June 2, 2024

3.3.7
Screen Shot 2022-06-15 at 09 58 59

from thonny-py5mode.

caluap avatar caluap commented on June 2, 2024

Thank you!

from thonny-py5mode.

villares avatar villares commented on June 2, 2024

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.

villares avatar villares commented on June 2, 2024

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.

tabreturn avatar tabreturn commented on June 2, 2024

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.

villares avatar villares commented on June 2, 2024

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.

tabreturn avatar tabreturn commented on June 2, 2024

Just got a MacBook Pro M2. This commit, which will be in the next release, should solve the problem --

7208092

No idea if this breaks M1 support ...

from thonny-py5mode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.