This is for a 64bit system:
Download Oracle’s JDK7 RPM package for 64bit Linux. The filename should be “jdk-7-linux-x64.rpm”.
Then as root:
zypper install jdk-7-linux-x64.rpm cd /usr/java/jdk1.7.0/bin for bin in *; do update-alternatives --install /usr/bin/$bin $bin $(pwd)/$bin 20000; done
easy variant
edit pycharm.sh change JDK=”/usr/java/jdk1.7.0″
Hi,
A did exactly what is write above, however a could not install Pycharm, I got this error:
No JDK found to run PyCharm. Please validate either PYCHARM_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation.
Please could your help?
Try adding this line to your ~/.bashrc file:
export JAVA_HOME=/usr/java/jdk1.7.0
Log out and log in again and try this in a terminal:
echo $JAVA_HOME
It should show: “/usr/java/jdk1.7.0”
Then run PyCharm.