Deepin linux2014.2 under Installation PYCHARM4 Community Edition

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.