Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running on RaspberryPi with Temurin 17 #4

Open
antonjs opened this issue Aug 14, 2022 · 2 comments
Open

Running on RaspberryPi with Temurin 17 #4

antonjs opened this issue Aug 14, 2022 · 2 comments

Comments

@antonjs
Copy link

antonjs commented Aug 14, 2022

Lest anyone else run into this issue, running LXStudioIDE (at least in non-headless mode) on a Raspberry Pi running Rasbian and temurin-17-jdk crashes with a segmentation fault while compiling something in the processing libraries.

The fix is to run the non-default 64-bit build of Rasbian on the Pi, and use the linux-aarch64 rather than linux-arm native processing libraries (set the native symlink in processing-4.0b8 appropriately).

Not sure if this happens in headless mode, though I'd guess perhaps not since the processing libraries aren't loaded.

@mcslee
Copy link
Member

mcslee commented Aug 16, 2022

Thank you for providing notes this! I will get this information added on the Wiki. Let me just make sure I've got the details straight:

The fix is to run the non-default 64-bit build of Rasbian on the Pi,

Is there an official link or reference to which exact build you've used? Are these correct?

https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit
https://downloads.raspberrypi.org/raspios_arm64/images/

For the Temurin 17 JDK I assume you're using the Linux-aarch64 build, not arm, correct?

Screen Shot 2022-08-16 at 1 23 51 PM

@bbulkow
Copy link

bbulkow commented Nov 6, 2022

I did the following.

I found a PI4 lying around the house.

installed 64-bit Raspberian without graphics (because headless art install) using the Imager (because it has the fancy gear icon where you can set the hostname, username/password, wifi, turn on SSH, without needing keyboard & mouse)

I added the Adoptium repos as per this page - just make sure you're running root before you copy and paste -

https://adoptium.net/installation/linux

Then just sudo apt install temurin-17-jdk and since the sources are added, updates will occur

As this is a "special purpose" machine, I didn't install java before this, so didn't need to mess with Alternatives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants