LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-22-2002, 09:27 PM   #1
OrganicX
Member
 
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, 10:46 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

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

Cheers,

Finegan
 
Old 08-23-2002, 08:59 AM   #3
OrganicX
Member
 
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, 09:18 AM   #4
khutze
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, 07:09 PM   #5
CoolScan3
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
http://java.sun.com 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)
 
  


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


All times are GMT -5. The time now is 04:11 PM.

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