Closed yuujinleee closed 3 years ago
Theres piazza question related to #2 https://piazza.com/class/km1t4q5ekt33t4?cid=16
Hey guys.
Issue #2.1 closed
#this is dockerfile
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
and also I added the locale settings in dockerfile for the platform encoding.
#this is inside the container
root@5fffdf1cde6c:~/project# mvn -version
Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 11.0.10, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: ko_KR, platform encoding: UTF-8
OS name: "linux", version: "4.19.121-linuxkit", arch: "amd64", family: "unix"
The link I referred to (just for the record, you dont have to view it): https://www.edureka.co/community/71310/java-should-point-environment-variable-defined-correctly
Issue #2.2 temporary closed
For the convenience I will remove(put the # on) the java command in run.sh for now. You can check it in the latest commit on master.
++ theres Build Failure (maven compiling) issue in run.sh but I will post it as a new issue (#4).
When
root@1ed18ee799fe:~/project# sh run.sh
inside the docker container,ENV JAVA_HOME
issue in dockerfile?referred doc : https://felixgondwe.medium.com/set-java-home-on-ubuntu-docker-container-e302a7aa45ad
Should java command in the run.sh be modified? it takes only 1 case of inputs