tabreturn / thonny-py5mode

A py5 plug-in for Thonny
Do What The F*ck You Want To Public License
23 stars 8 forks source link

Variable JAVA_HOME not detected automatically #51

Closed claudefalbriard closed 1 month ago

claudefalbriard commented 8 months ago

I've succeeded to install and use the thonny-py5mode library, but only once I've modified the JAVA_HOME variable, which is written in the "Options" window. Its value is visible with an: echo $JAVA_HOME at the terminal command prompt. It would be much easier for beginners if a startup, or install script would detect and processes the existing variable.

villares commented 7 months ago

Hi @claudefalbriard, thanks for opening this issue. Could you please state for the record the Thonny version, plugin-version and OS you are working on? I'd like to try some debugging when we have the time, because the plug-in was supposed to write the right information. Can you replicate de initial circumstances and show the wrong value? Cheers!

claudefalbriard commented 7 months ago

Enclosed you find the version information of my system. The issue reported refers to the detection of an already installed JAVA JDK using the JAVA_HOME variable. All other install steps worked OK.

Linux Version with lsb_release -a Description: Ubuntu 17.10, Release: 17.10, 64-bit

Conda version: conda 4.6.14

echo $JAVA_HOME /home/claude/java/jdk-17

java --version (with an already existing installation) openjdk 17.0.2 2022-01-18 OpenJDK Runtime Environment (build 17.0.2+8-86) OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)

Python 3.9.5 64-bit
Thonny 3.3.7

pip show py5 Name: py5, Version: 0.10.0a0

villares commented 4 months ago

Cheers @claudefalbriard !

Can you please check echo $JAVA_HOME inside the shell opened by Thonny on the "Open System Shell..." menu? It is a shell with special configurations made by Thonny and if it works we can close this issue.

villares commented 1 month ago

Hi @claudefalbriard ! I'm inclined to close this, can you confirm things are working for you on Ubuntu?

The proposed installation sequence is:

claudefalbriard commented 1 month ago

Dear Alexander, Thanks for addressing this fix to the ARM64 (=Raspberry) architecture.Currently I find myself without hardware resources in the laboratory tothus simulating the installation process. My Raspberry 3B is in use,in addition to being limited in memory. For productive Py5 environmentsI would recommend the Pi4 or Pi5 models.regards,Claude

)

On Sunday, July 21, 2024, 2:28:01 PM GMT-3, Alexandre B A Villares ***@***.***> wrote:   

Hi @claudefalbriard ! I'm inclined to close this, can you confirm things are working for you on Ubuntu?

The proposed installation sequence is:

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

villares commented 1 month ago

OK, I'll close this for now, and if you find issues in the future we can open a new one!