Otman El
Otman El

Reputation: 59

install java on linux busy box distro arm32V7

I'm trying to install Java on a linux busybox distro in order to run a java app on arm32 arch (raspberry pi for example).

I downloaded serveral type of jdk11: Official Openjdk, zulu, bellsoft.

I decompressed its and copy all downloaded jdk11 to an ext4 usb key. I use ext4 usb key in order to eliminate symlink error when i copied folders.

Then when i try to run java command in order to get a version java version but nothing happen.

If jdk's are decompressed using a standard user (non root), nothing happen as described before. If i decompress its using a root user, i faced issue: libjli.so: internal error: error while loading shared libraries (may be right access ?).

The error displayed is "./bin/java: error while loading shared libraries: /home/lib/asRoot/jdk-11.0.6/bin/../lib/jli/libjli.so: internal error" when i execute java -version command. libjli is in the path ...

Any hints of how to run JRE for arm32V7 on busybox distro ?

Thanks ...

Upvotes: 1

Views: 829

Answers (1)

Sergey Ponomarev
Sergey Ponomarev

Reputation: 3201

The Eclipse Temurin makes builds of LTS versions for the arm32v7 platform.

Your Linux may be compiled with musl library instead of gnu. Then you can try OpenJDK 8 from Alpine Linux. The OpenWrt is also based on musl so see Java on OpenWrt

Upvotes: 1

Related Questions