Add the following configuration to execute a script on
# / bin / bash!
JAVA_HOME = / usr / the Java / jdk1.8.0_152
Export the PATH = $ the PATH: $ JAVA_HOME / bin
Solve sh: java: command not found problems
Guess you like
Origin www.cnblogs.com/jimw/p/11126437.html
Recommended
Ranking