Java- What am I missing???


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Java- What am I missing???
# 1  
Old 11-05-2005
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
# 2  
Old 11-05-2005
Javac is in the J2SDK in

whereever_you_installed_it/bin
# 3  
Old 11-05-2005
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".
# 4  
Old 11-06-2005
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.
# 5  
Old 11-07-2005
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.
# 6  
Old 11-07-2005
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

 
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Red Hat

Yum - resolving missing dependencies that are not missing

I am trying to install VirtualBox on RHEL 5 but I need the 32 bit version for 32 bit Windows. When I run yum I get the following: sudo yum localinstall /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el6-1.i686.rpm Loaded plugins: fastestmirror Setting up Local Package... (13 Replies)
Discussion started by: gw1500se
13 Replies

2. SuSE

How to resolve missing missing dependencies with opensuse 11.3 and 12.3?

Hello, This is a programming question as well as a suse question, so let me know if you think I should post this in programming. I have an application that I compiled under opensuse 12.2 using g77-3.3/g++3.3. The program compiles and runs just fine. I gave the application to a colleague who... (2 Replies)
Discussion started by: LMHmedchem
2 Replies
Login or Register to Ask a Question