![]() ![]() To setup Java environment variables, add the following lines to /etc/profile.d/java. Then confirm that correct alternatives are in play: $sudo alternatives -install /usr/bin/javaws javaws /opt/jdk1.8.0_101/bin/javaws 2 $sudo alternatives -install /usr/bin/javac javac /opt/jdk1.8.0_101/bin/javac 2 ![]() $sudo alternatives -install /usr/bin/jar jar /opt/jdk1.8.0_101/bin/jar 2 $sudo alternatives -install /usr/bin/java java /opt/jdk1.8.0_101/bin/java 2 Free java 1.8 64-bit download software at UpdateStar - The Java SE Runtime Environment contains the Java virtual machine, runtime class libraries, and Java application launcher that are necessary to run programs written in the Java programming language. Next, use command update-alternatives to tell system where java and its executables are installed: You should now move it to a proper folder: $wget -no-cookies -no-check-certificate -header "Cookie: gpw_e24=http%3A%2F%2Foraclelicense=accept-securebackup-cookie" "" You can either download Oracle JVM by using CA's account from Oracle website to your computer and upload it to the target computer using FTP etc., or use wget to put it there directly.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |