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

BUGFIX: MSF-25904 Using C9S and java 8 for LCM Bricks #1951

Conversation

hung-nguyen-hoang
Copy link
Contributor

No description provided.

@ghost
Copy link

ghost commented Nov 8, 2023

@ghost
Copy link

ghost commented Nov 9, 2023

@ghost
Copy link

ghost commented Nov 9, 2023

@ghost
Copy link

ghost commented Nov 9, 2023

@ghost
Copy link

ghost commented Nov 9, 2023

@ghost
Copy link

ghost commented Nov 9, 2023

@ghost
Copy link

ghost commented Nov 9, 2023

@ghost
Copy link

ghost commented Nov 10, 2023

@ghost
Copy link

ghost commented Nov 10, 2023

@ghost
Copy link

ghost commented Nov 13, 2023

RUN alternatives --install /usr/bin/java java /usr/lib/jvm/java-1.8.0-openjdk/bin/java 1
RUN update-alternatives --set java /usr/lib/jvm/java-1.8.0-openjdk/bin/java
RUN export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk

Copy link
Contributor

@tqtu tqtu Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I encounter some errors when using these commands in the barebone images:

sh-5.1# alternatives --install /usr/bin/java java /usr/lib/jvm/java-1.8.0-openjdk/bin/java 1
sh-5.1# update-alternatives --set java /usr/lib/jvm/java-1.8.0-openjdk/bin/java
sh-5.1# export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
sh-5.1# java
sh: java: command not found
sh-5.1# keytool
sh: keytool: command not found
sh-5.1# 

Please consider if the LCM ruby will have the same errors.

@ghost
Copy link

ghost commented Nov 13, 2023

@ghost
Copy link

ghost commented Nov 13, 2023

@ghost
Copy link

ghost commented Nov 13, 2023

@ghost
Copy link

ghost commented Nov 13, 2023

@ghost
Copy link

ghost commented Nov 13, 2023

@ghost
Copy link

ghost commented Nov 13, 2023

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.

2 participants