
NET 4 (1) 8024401C (1) Active Directory (1) Apache (1) Apache2 (1) aspnet_regiis (1) BackupExec (1) bash (3) boot (1) CentOS (12) Centos 7 (1) Chrome Error (1) CLI tool (1) Cyberthreats (1) Date (1) Debian (1) delete (1) Disk (1) disown (1) DNS (2) Domain Password Sync (1) Domain Trust Relationship (1) editor (1) Excel (1) Findstr (1) free tools (1) Global Catalog (1) Google Apps (2) GREP for Windows (1) HTTPS (1) IIS (1) InnoDB (1) java (2) keystore (2) keytool (2) ldapsearch (1) linux (17) logout (1) mail (1) Malware (1) MSI internal error (1) MySQL (1) NFS (1) nohup (1) ODBC (1) Office 2010 (1) openssl (2) P12 (1) permissions (1) PFX (1) Postfix (2) postsuper (1) PowerShell (1) RedHat (12) RegEx (1) nf (1) Rewrite module (1) RHEL 7 (1) root password (1) RPM (5) Rpmdb (1) Search (1) secure apache (1) Shell (2) Single User Mode (1) Size Limit exceeded (1) SSL (1) Symbolic Link (1) Tips (6) tomcat (1) UBUNTU (1) ulimit (1) unlock (1) vbe6ext.By default, Java JDK is installed in /usr/java/ directory. Set the Java environment variables using following commands Most of Java based application’s uses environment variables to work. Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) Configuring Environment Variables

Java(TM) SE Runtime Environment (build 1.8.0_131-b11) # alternatives -set javac /opt/jdk1.8.0_131/bin/javac Check Installed Java Version Check the installed Java version on your system using following ~# java -version # alternatives -set jar /opt/jdk1.8.0_131/bin/jar # alternatives -install /usr/bin/javac javac /opt/jdk1.8.0_131/bin/javac 2 We also recommend to setup javac and jar commands path using alternatives # alternatives -install /usr/bin/jar jar /opt/jdk1.8.0_131/bin/jar 2 There are 3 programs which provide 'java'.Įnter to keep the current selection, or type selection number: 4Īt this point JAVA 8 has been successfully installed on your system. # alternatives -install /usr/bin/java java /opt/jdk1.8.0_131/bin/java 2

alternatives command is available in chkconfig package.

Install Java with Alternatives After extracting archive file use alternatives command to install it. # wget -no-cookies -no-check-certificate -header "Cookie: gpw_e24=http%3A%2F%2Foraclelicense=accept-securebackup-cookie" ""

To Install Java 8 in Ubuntu and LinuxMint read This Article.ĭownloading Latest Java Archive Download latest Java SE Development Kit 8 release from its official download page or use following commands to download from shell. Read the instruction carefully before downloading Java from Linux command line. This article will help you to Install JAVA 8 (JDK/JRE 8u131) or update on your system.
