![]() Java(TM) SE Runtime Environment (build 1.8.0_111-b14) Lets find out if we have the right version jdk1.8.0_111]# java -version *+ 1 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/javaĢ /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/javaĮnter to keep the current selection, or type selection number: 3 There are 3 programs which provide ‘java’. In my case, it’s jdk1.8.0_111]# alternatives –config java Run the command below to pick the version of java that you want. Tar xzf temp]# tar xzf temp]# cd jdk1.8.0_111]# alternatives –install /usr/bin/java java /temp/jdk1.8.0_111/bin/java 2 Saving to: “jdk-8u111-linux-圆4.tar.gz” – which is available under the /temp directory that I created earlier. HTTP request sent, awaiting response… 200 OK HTTP request sent, awaiting response… 302 Moved Temporarily ![]() Run the script below to download the tar temp]# wget –no-cookies –no-check-certificate –header “Cookie: gpw_e24=http%3A%2F%2Foraclelicense=accept-securebackup-cookie” “ OpenJDK 64-Bit Server VM (build 24.121-b00, mixed temp]# First, create a directory to hold your java ~]# mkdir /temp
0 Comments
Leave a Reply. |