How to Find JDK Version on Ubuntu 12.04


Ahaha, this’s the joke of the newbie developer python not used with Java JDK 🙂

I bought Pycharm before and I can’t running my Pycharm, So sad.
Ok, I found reference that my Linux* must installed Java JDK 7 on Pycharm 2.6.2 :), Stupid Developer.

i’m just ensure my Linux already with JDK 7, I must admit, I’m don’t like Java :D.
here for instruction that your Java JDK already on your Linux*. First you must open “TERMINAL”

type the following command to find out JDK version:
java -version
Sample outputs:

java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
OpenJDK Server VM (build 20.0-b12, mixed mode)

To list all installed jdk version under Ubuntu / Debian Linux, enter:
dpkg --list | grep -i jdk

Sample outputs:

ii default-jdk 1:1.6-43ubuntu2 Standard Java or Java compatible Development Kit
ii icedtea-6-jre-cacao 6b24-1.11.4-1ubuntu0.12.04.1 Alternative JVM for OpenJDK, using Cacao
ii icedtea-6-jre-jamvm 6b24-1.11.4-1ubuntu0.12.04.1 Alternative JVM for OpenJDK, using JamVM
ii icedtea-7-jre-jamvm 7u7-2.3.2a-0ubuntu0.12.04.1 Alternative JVM for OpenJDK, using JamVM
ii icedtea-7-plugin 1.2-2ubuntu1.2 web browser plugin based on OpenJDK and IcedTea to execute Java applets
ii openjdk-6-jdk 6b24-1.11.4-1ubuntu0.12.04.1 OpenJDK Development Kit (JDK)
ii openjdk-6-jre 6b24-1.11.4-1ubuntu0.12.04.1 OpenJDK Java runtime, using Hotspot JIT
ii openjdk-6-jre-headless 6b24-1.11.4-1ubuntu0.12.04.1 OpenJDK Java runtime, using Hotspot JIT (headless)
ii openjdk-6-jre-lib 6b24-1.11.4-1ubuntu0.12.04.1 OpenJDK Java runtime (architecture independent libraries)
ii openjdk-7-jre 7u7-2.3.2a-0ubuntu0.12.04.1 OpenJDK Java runtime, using Hotspot JIT
ii openjdk-7-jre-headless 7u7-2.3.2a-0ubuntu0.12.04.1 OpenJDK Java runtime, using Hotspot JIT (headless)
ii openjdk-7-jre-lib 7u7-2.3.2a-0ubuntu0.12.04.1 OpenJDK Java runtime (architecture independent libr

:)).. Still Ordinary.  I don’t want my $99 wasted. hahaha

*Debian Inheritance

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s