problems installing sun java compiler for mandrake 10.0
i tried to install java sun compiler in mandrake 10.0. there r 2 files available to dload.....
1> RPM in self-extracting file (j2sdk-1_4_2_05-linux-i586-rpm.bin, 33.60 MB)
2> self-extracting file (j2sdk-1_4_2_05-linux-i586.bin, 34.70 MB)
i dloaded both the files.
at first, i typed the command
then rpm file got extracted n i installed tht rpm using rpm -iv option
. Message appears as package installed successfully. but after tht i tried java, javac n javap command......but the commands were not found. then i went into the
j2sdk/bin direcory....all the commands were listed there......tried to run those command again from tht directory....again the same error...."commnd not found".......but when i typed./java it was giving me all the options to use java........after all this i uninstalled the package using control center....
next try....after successfully uninstalling the prev package....i typed
./j2sdk-1_4_2_05-linux-i586.bin n it extracted all the packages....
again the same error displayed when i tried to run java command.......i went to the j2sdk/bin directory ...commands were listed there....but in tht directory also same error got displayed......
n i also set the classpath variable using in both attempts
in my prev installed mandrake 10.0 when i run the self extracted file...it worked.....then wats the prob.....i m not able to figure it out....plz someone help me.....
n guys also tell me how to use gcc compiler for java
Last edited by ranger225; 09-13-2004 at 07:16 AM.