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

ARM 32bits build #131

Open
petrvecera opened this issue Jan 5, 2023 · 4 comments
Open

ARM 32bits build #131

petrvecera opened this issue Jan 5, 2023 · 4 comments

Comments

@petrvecera
Copy link

petrvecera commented Jan 5, 2023

First - thank you very much for the docker file! It's pretty cool! :)

Would it be possible to build also arm/32bits version?

Because most of the RaspberryPI OS are running on 32b (it has wider support than 64b)

Thank you
🙏

@jlesage
Copy link
Owner

jlesage commented Jan 6, 2023

The problem is that, to my knowledge, there is no 32-bit ARM Java support for Alpine Linux.

it has wider support than 64b

You are talking about the hardware or software ? I agree that the 32bit OS is running on all Raspberry hardware, which is not the case for the 64bit version. But on the software side, It seems that the 64bit version has more/better support.

@petrvecera
Copy link
Author

Yeah 64bit are better. But I tried 64bit recently on rasp and had major issues with missing packages and libraries which were not yet created for 64bit.

I managed to build it locally on 32bit ARM. But it was stuck in the updater loop, first updater run for ~5 minutes, than verification. And that got stuck. After restart updated was stuck in infinite loop.

@jlesage
Copy link
Owner

jlesage commented Jan 6, 2023

Java 8 for ARM32 in Alpine repository is running in interpreter mode only, meaning that it is slow as hell and not really usable...

@AlexeiScherbakov
Copy link

AlexeiScherbakov commented Feb 28, 2023

  1. Don't use docker if you have less 4G memory on Raspberry PI
  2. Use 64-bit mode if you have 4G or more on Arm

If you have less than 4G you must install JDownloader as regual app. Some years ago I use this script for installing Java on 32-bit ARM. It was BellSoft Java 12

sudo apt-get install dirmgr
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-keys 32E9750179FCEA62
wget https://download.bell-sw.com/java/12.0.1/bellsoft-jdk12.0.1-linux-arm32-vfp-hflt.deb
sudo apt-get install ./bellsoft-jdk12.0.1-linux-arm32-vfp-hflt.deb
sudo update-alternatives --config javac
sudo update-alternatives --config java

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