Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-22-2002, 08:27 PM   #1
Registered: Aug 2002
Posts: 105

Rep: Reputation: 15
Java and C

Im new to Linux and have been able to write some small C programs. Im not sure if I have java on it, how can I find out?
Old 08-22-2002, 09:46 PM   #2
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 59
You almost definately don't have the Java runtime environment or J2sdk, either of which you can download from


Old 08-23-2002, 07:59 AM   #3
Registered: Aug 2002
Posts: 105

Original Poster
Rep: Reputation: 15
I have redhat 7.3 and it comes with suns java platform standard edition v.1.3.1

I didnt install my linux, someone else did, so Im not sure if I have that on or not.
Old 08-23-2002, 08:18 AM   #4
LQ Newbie
Registered: Jul 2002
Posts: 13

Rep: Reputation: 0
maybe try
rpm -qa | grep java
look for all installed rpm packages with string java
in it and print results to screen
Old 08-23-2002, 06:09 PM   #5
LQ Newbie
Registered: Aug 2002
Location: Cheshire, England
Distribution: Mandrake 8.2
Posts: 3

Rep: Reputation: 0
Try /usr/bin/java -version
or simply java -version

if it comes back with

Kaffe Virtual Machine
Copyright (c) 1996-2000
Transvirtual Technologies, Inc. All rights reserved
Engine: Just-in-time v3 Version: 1.0.6 Java Version: 1.1

or perhaps Blackdown 1.1.8 or even IBM 1.1.8 then its time to visit to download the latest J2SE which is now v1.4
note since this is 40Mb this is for people with broadband connections.

Actually 1.1 versions are okay for learning basic java , 1.2 was a significant upgrade incorporating the swing user interface amongst other things, 1.3 wasn't as big a leap as 1.2, but 1.4 is another big leap introducing many new features.

for the record

/usr/local/j2sdk1.4.0/bin/java -version
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)


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
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
Java Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 03:04 AM
Web start java not working (java works fine) powadha Debian 5 06-05-2004 12:57 PM
Updated Java... now java apps dont work zidane2010 Linux - Software 6 05-04-2004 08:02 PM
2 Questions: java calling system commands? PERL vs Java? randomx Programming 28 11-28-2003 08:24 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:34 PM.

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