Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Apr 27 '10 at 15:41

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

    
=> superuser.com –  T.J. Crowder Apr 27 '10 at 15:37

3 Answers 3

up vote 10 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.