ubuntu 16.04 安装配置 java pycharm

  1. 下载pycharm和jdk
    https://download.jetbrains.8686c.com/python/pycharm-professional-2016.3.3.tar.gz
    http://10.254.1.82/cache/17/02/oracle.com/94f24c6b67f3e2aaed2a018eb4b2ea5e/jdk-8u121-linux-x64.tar.gz
  2. 安装java

    sudo mkdir /home/Java
    cd ~/下载
    sudo tar -zxvf jdk-8u121-linux-x64.tar.gz -C /home/Java/

    配置系统环境

    sudo gedit /etc/profile

    在文件末尾加入

    export JAVA_HOME=/home/Java/jdk1.8.0_121
    export JRE_HOME= JAVAHOME/jreexportCLASSPATH=.: JAVA_HOME/lib: JAVAHOME/jre/lib: CLASSPATH
    export PATH= JAVAHOME/bin: JAVA_HOME/jre/bin:$PATH

    刷新环境变量

    source /etc/profile

  3. 安装pycharm

    cd 下载
    sudo tar -zxvf pycharm-professional-2016.3.3.tar.gz
    cd pycharm-2016.3.3/bin/
    ./pycharm.sh

    输入注册码

    BIG3CLIK6FeyJsaWNlbnNlSWQiOiJCSUczQ0xJSzZGIiwibGljZW5zZWVOYW1lIjoibGFuIHl1IiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInByb2R1Y3RzIjpbeyJjb2RlIjoiQUMiLCJwYWlkVXBUbyI6IjIwMTctMTEtMjMifSx7ImNvZGUiOiJETSIsInBhaWRVcFRvIjoiMjAxNy0xMS0yMyJ9LHsiY29kZSI6IklJIiwicGFpZFVwVG8iOiIyMDE3LTExLTIzIn0seyJjb2RlIjoiUlMwIiwicGFpZFVwVG8iOiIyMDE3LTExLTIzIn0seyJjb2RlIjoiV1MiLCJwYWlkVXBUbyI6IjIwMTctMTEtMjMifSx7ImNvZGUiOiJEUE4iLCJwYWlkVXBUbyI6IjIwMTctMTEtMjMifSx7ImNvZGUiOiJSQyI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hVxMRNTdVhSm38AknZlD+PTAsWGu9GyLmhti2EnVwGybSD2Dxmhxk3IPCkhKAK+pl0eWYGZWG3tJ9mZ7SowcXLWDFAk0lRJnKGFMTggrWjV8GYpw5bq23VmIqqDLgkNzuoog==

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值