1. Download Oracle JDK Source code
Individual decompression under/USR/LOCAL/JDK
2. Add a system path
Individuals create a new jdk.sh in/etc/profile.d/
The contents are as follows:
```
#!/bin/bash
#
Export java_home=/usr/local/jdk1.8.0_65
Export Jre_home= $JAVA _home/jre
Export class_path=.: $JAVA _home/lib: $JRE _home/lib
Export path= "$PATH: $JAVA _home/bin"
```
Be sure to check your local. ZSHRC or. bashrc files like this. There is no PATH, here I was zsh the configuration file pits, and finally found
. ZSHRC give me a local reset PATH
3. Download the Eclipse source code
Also unzip to/usr/local/eclipse
Finally, in order to find the Eclipse launch icon in the Program menu bar
Create a new Eclipse.desktop file in/usr/share/applications/
The contents are as follows
```
[Desktop Entry]
Name=eclipse
Type=application
Exec=/usr/local/eclipse/eclipse
Terminal=false
icon=/usr/local/eclipse/icon.xpm
comment=integrated Development environment
Nodisplay=false
Categories=development;ide;
Name[en]=eclipse
```
4. Start Eclipse,enjoy It
Linux installation Eclipse