When you query or uninstall an installed package, don't include the '.rpm'. Ex. `rpm -ivh j2sdk-1.4.1_01-fcs.rpm` installs java. `rpm -q emacs` tells me 'j2sdk-1.4.1_01-fcs' is installed. `rpm -e j2sdk` uninstalls java. You can also query an rpm file that isn't installed. Ex. `rpm -qpi j2sdk-1.4.1_01-fcs.rpm` gives me a description of the package. I used the j2sdk-1_4_1_01-linux-i586.bin package from Sun. It installed all the files in /usr/local/j2sdk1.4.1_01. Then I had to place '/usr/local/j2sdk1.4.1_01/bin' on my path. Bart >>> > I have tried that, but it insists that its not installed. When I try to > uninstall the rpm (rpm -e package.rpm), it also says its not installed. > When I try to install it (rpm -i package.rpm), it says its already > installed. Needless to say, I'm having a big can of WTF opened on me. > > On Wed, 2003-08-13 at 07:12, Bart Garst wrote: > > You could try asking rpm where all the files went. > > > > rpm -ql packagename | less > > > > Then you can verify that the java command is on your path. > > > > Bart > > > > >>> > > I have recently installed the Linux java RE rpm from Sun's website, or > > at least I thought I did. after trying to run a java program I've > > written, the command "java" could not be found. I tried the "which > > java" command, which told me java was not installed. I made my way to > > /usr/java, where the RE and SDK packages had all sorts of binary files > > and system libraries. Unfortunately, I don't know where they all go, > > although I thought the rpm would have taken care of that. A friend of > > mine said I should install java "from scratch," but I don't know where > > to start. Any suggestions? > > > > + David Huerta > > > > --------------------------------------------------- > > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > > To subscribe, unsubscribe, or to change you mail settings: > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > > > > --------------------------------------------------- > > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > > To subscribe, unsubscribe, or to change you mail settings: > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss >