Browse Source

Fix: /etc/profile 文件名写错

原本的export JAVA_HOME=/usr/java/jdk1.8.0_391 这行写成了jdk-1.8.0_391,导致java command not found
master^2^2
高宇菲 1 year ago
parent
commit
0bf33b9ee1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      CICD-ucloudUhub.md

+ 1
- 1
CICD-ucloudUhub.md View File

@ -156,7 +156,7 @@ vi /etc/profile
在文件末尾添加 在文件末尾添加
``` ```
export JAVA_HOME=/usr/java/jdk-1.8.0_391
export JAVA_HOME=/usr/java/jdk1.8.0_391
export PATH=$JAVA_HOME/bin:$PATH export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib
``` ```

Loading…
Cancel
Save