![]() Mv US_export_policy.jar /opt/jdk/jdk1.8.0_05/jre/lib/securitycd /opt/jdk/jdk1.8.0_05/jre/lib/security Mv local_policy.jar /opt/jdk/jdk1.8.0_05/jre/lib/security Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode) Java(TM) SE Runtime Environment (build 1.8.0_05-b13) opt/jdk/jdk1.8.0_05/bin/javac – priority 100Ĭurrent ‘best’ version is ‘/opt/jdk/jdk1.8.0_05/bin/javac’.Īnother easy way to check your installation is: Link currently points to /opt/jdk/jdk1.8.0_05/bin/java Verify that java has been successfully configured by running: ![]() Update-alternatives –install /usr/bin/javac javac /opt/jdk/jdk1.8.0_05/bin/javac 100 Update-alternatives –install /usr/bin/java java /opt/jdk/jdk1.8.0_05/bin/java 100 In our case, the java executable is located under /opt/jdk/jdk1.8.0_05/bin/java . Verify that the file has been extracted into the /opt/jdk directory. Tar -zxf jdk-8u5-linux-圆4.tar.gz -C /opt/jdk The /opt directory is reserved for all the software and add-on packages that are not part of the default installation.Ĭreate a directory for your JDK installation:Īnd extract java into the /opt/jdk directory: ![]() In this section, you will need sudo privileges: ![]() Wget –header “Cookie: oraclelicense=accept-securebackup-cookie” Apt-get install ia32-libs – If this doesn’t install use the new libraries the output suggests.
0 Comments
Leave a Reply. |