linux java openjdk 安装配置

    xiaoxiao2021-03-25  32

    yum install java-1.7.0-openjdk java-1.7.0-openjdk-devel -y vim /etc/profile export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64 export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar  export PATH=$JAVA_HOME/bin:${PATH} export JAVA_HOME export PATH export CLASSPATH  source /etc/profile
    转载请注明原文地址: https://ju.6miu.com/read-50286.html

    最新回复(0)