Alpine Linux java No such file or directory
0
votes
0
answers
996
views
when trying to install nodejs from a tar.gz and java, maven with sdkman on an alpine linux distro and running java or maven I get a message saying for java:
> /root/.sdkman/candidates/java/current/bin/java: No such file or
> directory.
for mvn:
> /root/.sdkman/candidates/maven/current/bin/mvn: exec: line 238:
> /root/.sdkman/candidates/java/current/bin/java: not found .
I understand that it could be a compatibility issue since java is compiled with glibc and alpine is based on a glibc variant called musl-libc.
So, I wanted to know of a solution other than having to download the code for these components and recompiling them with compatibility for musl.
by the way, the architecture of the Alpine is x86_64. Thanks in advance.
Asked by Félix
(3 rep)
Jul 21, 2022, 03:56 PM