1. Download JDK1.8:
Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2. Unzip:
sudo mkdir/usr/lib/jvm$ sudo tar zxvf jdk-8u25-linux-i586.tar.gz-c/usr/lib/jvm$ cd/usr/lib/jvm$ sudo mv jdk1.8.0_25 Java
3. Setting variables
sudo vim ~/.bashrcexport java_home=/usr/lib/jvm/java export JRE_HOME=${JAVA_HOME}/JRE export Classpath=.:${java_home} /lib:${jre_home}/lib Export Path=${java_home}/bin: $PATH
4. Configure the default JDK
sudo update-alternatives--install/usr/bin/java java/usr/lib/jvm/java/bin/java sudo update-alternatives--insta Ll/usr/bin/javac javac/usr/lib/jvm/java/bin/javac sudo update-alternatives--install/usr/bin/jar jar/usr/li B/jvm/java/bin/jar sudo update-alternatives--install/usr/bin/javah javah/usr/lib/jvm/java/bin/javah sudo Update-alternatives--INSTALL/USR/BIN/JAVAP JAVAP/USR/LIB/JVM/JAVA/BIN/JAVAP 300
5. Implementation
sudo update-alternatives--config java
6. Test the JDK:
$ Java-versionjava Version "1.8.0_25"
7. Execution pycharm.sh:
? ~./pycharm-community-4.0.4/bin/pycharm.sh
Deepin linux2014.2 under Installation PYCHARM4 Community Edition