LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-28-2008, 09:36 AM   #1
homer_3
Member
 
Registered: May 2008
Posts: 87

Rep: Reputation: 15
How to check Java version


I'm trying to figure out what version of Java is installed on a Linux box I connect to. The admin of the system is out on vacation so I can't ask him When I say version, I'm not referring to 1.4 vs 1.5 but Sun Java vs another type.
 
Old 05-28-2008, 10:08 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,074

Rep: Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377
Type in "java --version" at the command prompt.
 
Old 05-28-2008, 10:12 AM   #3
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 544

Rep: Reputation: 40
I dont know what distro you are using so i will take a few blind shots...

You could try rpm -q *java*
that should give you some clue

Also there should be a package manager on the main menu or under the admin menu

last hope is to go to www.java.com
on the main page there is a "do i need java" link that will detect your java version....
 
Old 05-28-2008, 10:12 AM   #4
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 544

Rep: Reputation: 40
http://www.java.com/en/download/inst...tect=jre&try=1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check OS version souman Linux - Software 5 06-21-2013 12:29 AM
java -version, bash: java: command not found kirman Programming 4 03-19-2008 11:13 PM
check kde version emarri Red Hat 15 03-10-2006 05:46 AM
how 2 check RH version? est Red Hat 2 02-28-2005 01:17 AM
XFree86 version check? Infernal211283 Linux - Newbie 3 02-21-2005 01:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration