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

[corretto8] java fails with 'No such file or directory' #3448

Open
gavindidrichsen opened this issue Aug 18, 2020 · 0 comments
Open

[corretto8] java fails with 'No such file or directory' #3448

gavindidrichsen opened this issue Aug 18, 2020 · 0 comments
Labels

Comments

@gavindidrichsen
Copy link
Contributor

gavindidrichsen commented Aug 18, 2020

Although corretto8, corretto, and corretto11 build, their executables are broken. Something like the following for corretto8 is observed:

[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]#

Note that the live versions of corretto8 and corretto11 work:

[5][default:/src:0]# hab pkg install core/corretto8
» Installing core/corretto8
☁ Determining latest version of core/corretto8 in the 'stable' channel
☛ Verifying core/corretto8/8.202.08.2/20200405000401
...
...
✓ Installed core/corretto8/8.202.08.2/20200405000401
★ Install of core/corretto8/8.202.08.2/20200405000401 complete with 1 new packages installed.
[6][default:/src:0]# hab pkg exec core/corretto8/8.202.08.2/20200405000401 -- 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)
[7][default:/src:0]# 

[3][default:/src:1]# hab pkg install core/corretto11
» Installing core/corretto11
☁ Determining latest version of core/corretto11 in the 'stable' channel
↓ Downloading core/corretto11/11.0.2.9.3/20200405194018
 ...
...
✓ Installed core/corretto11/11.0.2.9.3/20200405194018
★ Install of core/corretto11/11.0.2.9.3/20200405194018 complete with 1 new packages installed.
[4][default:/src:0]# hab pkg exec core/corretto11/11.0.2.9.3/20200405194018 java -version
openjdk version "11.0.2" 2019-01-15 LTS
OpenJDK Runtime Environment Corretto-11.0.2.9.3 (build 11.0.2+9-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.2.9.3 (build 11.0.2+9-LTS, mixed mode)
[5][default:/src:0]# 

Whereas the live version of corretto does not work:

[1][default:/src:0]# hab pkg install core/corretto
» Installing core/corretto
☁ Determining latest version of core/corretto in the 'stable' channel
☛ Verifying core/corretto/11.0.8.10.1/20200715192651
...
...
[2][default:/src:0]# hab pkg exec core/corretto/11.0.8.10.1/20200715192651 java -version
✗✗✗
✗✗✗ No such file or directory (os error 2)
✗✗✗
[3][default:/src:1]# 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant