Hi, I have downloaded, J2sdk from java.sun.com site. There are 2 of them one ends with rpm and the other ends eith bin. In order to install jdk on my linux box, which one should I install and how to install it?(what command should I use to install it) ./jkd(fileName).bin did not work; moreove I also tried the one which ends with rpm too. Thank you in advance Garandi
In order to run the .bin installer, you first need to give the file execution rights: chmod a+x *.bin
I usually use the .bin installer. The other option, the .rpm file, has been packaged in the RPM format which is a package management "standard" some of the Linux distributions use. RPM allows you to keep track of what's installed on your Linux, upgrade individual packages, or uninstall them.
RPM is quite easy to use (just say "rpm -i myfile.rpm" and it'll install, rpm -e myfile" and it'll uninstall) but sometimes you'd like to get more control over where the installed pieces go in your filesystem.