01. Download jdk from Oracle website.
02. tar zxvf jdk-7u55-linux-x64.tar.gz
03. sudo mkdir /usr/lib/jdk
04. cp -r jdk1.7.0_55 /usr/lib/jdk
05. sudo vi /etc/profile
+ export JAVA_HOME=/usr/lib/jdk/jdk1.7.0_55
+ export JRE_HOME=/usr/lib/jdk/jdk1.7.0_55/jre
+ export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
+ export CLASSPATH=$CLASSPATH:.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
06. Change the default value.
sudo update-alternatives --install /usr/bin/java java /usr/lib/jdk1.7.0_55/bin/java 300
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jdk1.7.0_55/bin/javac 300
sudo update-alternatives --config java
sudo update-alternatives --config javac
07. Reboot
08. java -version
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
09. Download PyCharm.
10. tar zxvf pycharm-community-3.1.3.tar.gz
11. sh pycharm-community-3.1.3/bin/pycharm.sh