开发环境配置 (ubuntu)

/opt

/opt/binray_file # 存放 源二进制文件 通过软链接 到 /opt 目录

通过 update-alternatives 配置

➜  /opt sudo update-alternatives --display java
java - auto mode
  link best version is /opt/jdk1.8/bin/java
  link currently points to /opt/jdk1.8/bin/java
  link java is /usr/bin/java
/opt/jdk1.7/bin/java - priority 300
/opt/jdk1.8/bin/java - priority 400

results matching ""

    No results matching ""