1. Xftp downloaded to the machine compressed into jdk usr directory or opt
2. Check the / opt directory file and extracting archive (tar -zxvf compressed file name)
3. Configure environment variables (vi / etc / profile into the environment interface, i enter write mode, the bottom add the following three lines of code, esc: wq to save and exit)
4. Activate jdk (source / etc / profile), and view the java -version