The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sun Java Platform, Standard Edition 6u6 (Java 6 branch) iBot Software Releases - RSS News 0 04-26-2008 01:10 AM
Sun Java Platform, Standard Edition 1.5.0_15 (Java 5 branch) iBot Software Releases - RSS News 0 03-06-2008 02:50 PM
Sun Java Platform, Standard Edition 6u5 (Java 6 branch) iBot Software Releases - RSS News 0 03-06-2008 02:50 PM
Using Subversion, NetBeans IDE, and Sun Java System Web Server With Java ME iBot UNIX and Linux RSS News 0 02-01-2008 02:00 PM
Sun Java Platform, Standard Edition 6u4 (Java 6 branch) iBot Software Releases - RSS News 0 01-14-2008 04:40 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 11-05-2005
Registered User
 

Join Date: Sep 2002
Location: Nashville, TN
Posts: 66
Java- What am I missing???

I have downloaded the J2SDK and the JRE. I have looked all over the 'Net for javac and not found it. I have looked all over my Fedora Core 1 Dell Dimension 2350 and not found a javac file or even a java file. This stuff was in the older versions(Red Hat 9.0, 8.0, and 7.3).

Can anyone help me out? All I want is to try and teach myself some basic Java 2 coding.

Jody
Reply With Quote
Forum Sponsor
  #2  
Old 11-05-2005
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,589
Javac is in the J2SDK in

whereever_you_installed_it/bin
Reply With Quote
  #3  
Old 11-05-2005
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,469
I believe Fedora Core doesn't ship the Sun Microsystems JDK at all. It uses the GCJ from the GNU compiler suite which doesn't implement all of the JDK. So you'll need to download the JDK yourself.

JRE is the runtime environment, not for development, so there will never be a "javac".
Reply With Quote
  #4  
Old 11-06-2005
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,589
Quote:
Originally Posted by cbkihong
I believe Fedora Core doesn't ship the Sun Microsystems JDK at all. It uses the GCJ from the GNU compiler suite which doesn't implement all of the JDK. So you'll need to download the JDK yourself.

JRE is the runtime environment, not for development, so there will never be a "javac".
You are correct, but I think he has done so, or at least that's what I understood from the first post.
Reply With Quote
  #5  
Old 11-07-2005
Registered User
 

Join Date: Sep 2002
Location: Nashville, TN
Posts: 66
I have downloaded both J2SDK and JRE. I will look again in the /bin file of where I installed it, as it is entirely possible that I just missed it. I was unable to find it with a find command.
Reply With Quote
  #6  
Old 11-07-2005
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,469
J2SDK already includes the JRE inside (or you will just be able to compile but not run!), so you should not need to download both. You should find everything you need in the J2SDK bundle.

As reborg said, both "java" and "javac" are in $JDK_HOME/bin. $JDK_HOME is the base of the extracted JDK. In my JDK 5.0, the following executables are in the "bin" directory:

Code:
[testcn@bernardchan java]$ cd jdk1.5.0/bin/
appletviewer   java           jdb            keytool        rmic
apt            javac          jinfo          kinit          rmid
ControlPanel   javadoc        jmap           klist          rmiregistry
extcheck       javah          jps            ktab           serialver
HtmlConverter  javap          jsadebugd      native2ascii   servertool
idlj           java-rmi.cgi   jstack         orbd           tnameserv
jar            javaws         jstat          pack200        unpack200
jarsigner      jconsole       jstatd         policytool
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:42 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0