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
According the steps to build the java image, then docker run -it [name] javac, "docker: Error response from daemon: Container command 'javac' not found or does not exist..", what's wrong?
The text was updated successfully, but these errors were encountered:
'update-alternatives --set javac $JAVA_HOME/bin/javac' doesn't work.
According others resource, 'sudo apt-get install openjdk-7-jre' only installs the Java Runtime Environment, which contains the implemetion of 'java' command but not the 'javac'.
So running 'sudo apt-get install openjdk-7-jdk' installs the Java Development Environment.
According the steps to build the java image, then
docker run -it [name] javac
, "docker: Error response from daemon: Container command 'javac' not found or does not exist..", what's wrong?The text was updated successfully, but these errors were encountered: