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

Fix java_home alternative #106

Merged
merged 1 commit into from Dec 29, 2022
Merged

Fix java_home alternative #106

merged 1 commit into from Dec 29, 2022

Conversation

lutkerd
Copy link
Contributor

@lutkerd lutkerd commented Dec 28, 2022

Fix for corretto/corretto-docker#129

Built and tested locally with the headless package and the path is created as expected.

bash-4.2# ls -l /usr/lib/jvm
total 4
lrwxrwxrwx 1 root root   41 Dec 28 19:51 java-17-amazon-corretto -> /etc/alternatives/java-17-amazon-corretto
drwxr-xr-x 7 root root 4096 Dec 28 19:51 java-17-amazon-corretto.x86_64
lrwxrwxrwx 1 root root   21 Dec 28 19:51 jre -> /etc/alternatives/jre
lrwxrwxrwx 1 root root   24 Dec 28 19:51 jre-17 -> /etc/alternatives/jre_17
lrwxrwxrwx 1 root root   32 Dec 28 19:51 jre-17-openjdk -> /etc/alternatives/jre_17_openjdk
lrwxrwxrwx 1 root root   29 Dec 28 19:51 jre-openjdk -> /etc/alternatives/jre_openjdk
bash-4.2# realpath /usr/lib/jvm/java-17-amazon-corretto
/usr/lib/jvm/java-17-amazon-corretto.x86_64

Alternative dir without architecture should be created on headless
package so it always exists and not on devel package.
@lutkerd lutkerd merged commit 88a4cfb into corretto:develop Dec 29, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants