$ wget https://download.java.net/openjdk/jdk10/ri/jdk-10_linux-x64_bin_ri.tar.gz
--2019-01-25 16:05:56-- https://download.java.net/openjdk/jdk10/ri/jdk-10_linux-x64_bin_ri.tar.gz
..
Saving to: ‘jdk-10_linux-x64_bin_ri.tar.gz’
$ tar -xvf ./jdk-10_linux-x64_bin_ri.tar.gz
$ ls jdk-10/
bin conf include jmods legal lib man release
/ opt
$ /opt/jdk-10/bin/java -version
openjdk version "10" 2018-03-20
OpenJDK Runtime Environment 18.3 (build 10+44)
OpenJDK 64-Bit Server VM 18.3 (build 10+44, mixed mode)
Ci-dessous le binaire
Obtenez-le avec wget et placez-le dans / opt
# ls /opt/apache-maven-3.6.0/
bin boot conf lib LICENSE NOTICE README.txt
$ cat /etc/profile.d/java.sh
# Settign Java & Maven
export PATH=$PATH:/opt/apache-maven-3.6.0/bin/:/opt/jdk-10/bin/
export JAVA_HOME=/opt/jdk-10/
/opt/apache-maven-3.6.0/conf/setting.xml
<proxies>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>proxyuser</username>
<password>proxypass</password>
<host>proxy.xxxx.co.jp</host>
<port>8000</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
</proxies>
Recommended Posts