LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-22-2002, 10:12 PM   #1
linuxRules
Member
 
Registered: May 2002
Distribution: Rehdat 7.3
Posts: 49

Rep: Reputation: 15
javac


Hello All. I recently instatalled Redhat linux 7.3 on my Pc.
When I open up an xterm session and type in "javac"
its not recognized. Do I have to set something up ?
Thanks!
 
Old 05-22-2002, 11:10 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Yep, you need java installed on your system, the kaffe suite that comes with RH and many other distros claims to be a comprehensive collection of java source, honestly it only provides a virtual machine which I had no idea how to get around, so go to http://java.sun.com and download the latest SDK, before installing it make sure you get rid of kaffe, in a terminal type
rpm -q kaffe
if it returns a package name with the version and release numbers uninstall it as root
rpm -e kaffe
then you can safly installed downloaded java sdk which as of now in 1.4 version. If you have further question regarding installation of java and configuring the system to use java search these forums this question was answered many times.
 
Old 05-23-2002, 02:45 AM   #3
Brion
Member
 
Registered: May 2002
Location: Belgium
Distribution: LinuxFromScratch
Posts: 85

Rep: Reputation: 15
actually, u might wanna try the latest SDK from www.blackdown.org. i've been using their SDK for a while now and never had problems with it, plus i've heard that the blackdown java is the most performant java for linux.
 
Old 05-23-2002, 08:45 AM   #4
jISV
Member
 
Registered: Feb 2002
Location: England
Distribution: MDK8.2
Posts: 128

Rep: Reputation: 15
Of course, whichever sdk you decide to use, you'll have to setup some environment variables, such as:
JAVA_HOME
PATH
CLASSPATH - if you want.
Perhaps you already know this, so I'll leave it there.

BTW, if you are doing java stuff, you should download ANT and let it do all the hard work for you It's a great little tool.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
javac and jikes tuxulux Linux - Newbie 3 01-23-2005 08:38 PM
javac not working nedian123 Programming 1 12-15-2004 11:19 AM
javac zaicheke Programming 2 10-05-2004 11:46 PM
javac rehadt 9.0 confuzzled Linux - Software 11 07-21-2004 02:08 AM
javac linuxRules Linux - General 0 05-21-2002 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:36 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
Open Source Consulting | Domain Registration