最近在制作docker镜像的时候,发现在/etc/profile设置了JAVA_HOME并export到Path之后,实际运行过程中还是会报错java not found的错误。
配置信息如下:
export JAVA_HOME=/us
2022-11-18