Click to See Complete Forum and Search --> : where is javac?


f76
12-21-2002, 11:07 PM
Hi all!
Thanx for the help on other issues.
Now that Mandrake9.0/KDE are working i feel a lot better !

I would like to try some java coding so i got the j2sdk-1_4_1_01-linux-i586-rpm.bin
then i set the permissions to execute
then:
#rpm -iv j2sdk-1_4_1_01-linux-i586-rpm
and it did it!
no error message!! beutiful!
but where is my java????
i tried "javac" and "java" in console but no reaction... i tried looking for it but i dont really no now where to look for executables...

f76
12-22-2002, 01:10 AM
I thought maybe i was mistaken but:

# rpm -vi j2sdk-1_4_1_01-fcs-linux-i586.rpm

Preparing packages for installation...
package j2sdk-1.4.1_01-fcs is already installed

Where are the java files, do i have to path them?

altarace
12-22-2002, 01:55 AM
do this:
rpm -q -a |grep java

that will show you all the packages you have and will grep only the ones with java in their name.you should look for the name of the package you installed.

then

rpm -q -l 'the package name'

that will list all the files in that package . so look for javac in the output and thats where its at

mdwatts
12-22-2002, 08:29 AM
So just use

rpm -ql j2sdk

to list the files/directories installed by the j2sdk rpm package.

If you need to set the Java path, try a forum search for i.e. 'limewire java' and you will find a few threads to help or try the Java installation NHF's in the Programming Section.

f76
12-22-2002, 08:16 PM
Thanx for the help.
I got it done by downloading the non rpm version...
tar -xvzf jdk1_2_2-linux-i386.tar.gz
(well not that version ;) )
as mentioned in the nhf

rpm doesnt work for me... ill have to figure that out some day...
but for now there is red-carpet that is incredible for a newbie like me. I saw a freind so something in command line that was similar to that a while ago...

i just red-carpeted Nedit.. smack! its on the computer. ??
i dont know what to say.




haha i misspelled in my signature: blah i dont care to fix it :p