Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install the FreeMind app (i know x2) on Ubuntu 9.10 but unsure I have Java. So, how can I verify that it is on my system?

share|improve this question

migrated from Apr 27 '10 at 15:41

This question came from our site for professional and enthusiast programmers.

=> – T.J. Crowder Apr 27 '10 at 15:37
up vote 9 down vote accepted

Just type in "java -version" in a terminal window and it'll tell you what version, if any, you've got installed.

share|improve this answer
If this succeeds but the program still doesn't work, make sure you are using the needed Java using update-java-alternatives. The package sun-java6-jre will work for most everything. – yuvi Apr 27 '10 at 15:40
Entered and received the following. java version "1.6.0_0" OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu3) OpenJDK Client VM (build 14.0-b16, mixed mode, sharing) Sweet! Thanks – damx Apr 27 '10 at 16:05
# java -version
share|improve this answer
how did the 7 votes difference occur with 2 identical answers? :) – Bozho Apr 27 '10 at 15:50
Prob since he answered first. But I still appreciate it. Thanks Bozho! – damx Apr 27 '10 at 16:07

You just type on terminal

$ java -version

and if it gives something along the following, Java is installed.

java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
OpenJDK Server VM (build 24.65-b04, mixed mode)
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .