You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2022. It is now read-only.
In summary, java -version is producing the following output:
[5][default:/src/corretto8:100]# /hab/pkgs/core/corretto8/8.265.01.1/20200818151532/bin/java -version
bash: /hab/pkgs/core/corretto8/8.265.01.1/20200818151532/bin/java: No such file or directory
[6][default:/src/corretto8:127]#
when it should be producing something like:
[5][default:/src/corretto8:100]# /hab/pkgs/core/corretto8/8.202.08.2/20200405000401/bin/java -version
openjdk version "1.8.0_202"
OpenJDK Runtime Environment Corretto-8.202.08.2 (build 1.8.0_202-b08)
OpenJDK 64-Bit Server VM Corretto-8.202.08.2 (build 25.202-b08, mixed mode)
The text was updated successfully, but these errors were encountered:
The cause is that the plan's regex failed to select its binaries for patchelf injection. The file type of the binaries used to be application/x-executable but has become application/x-pie-executable. Even though the hab build succeeded, nevertheless the executables failed to work as described above.
The fix was to amend the regex in the plan.sh as follows:
This is a placeholder for the issue raised against core-plans. See habitat-sh/core-plans#3448.
In summary,
java -version
is producing the following output:The text was updated successfully, but these errors were encountered: