>>>I have Java installed on my machine but cannot remember d/loading it or >>>where >>>I got it from....How do I tell which version it is...ie ibm, netscape, >>>blackdown etc?/ >>java -version > Ta for the reply but this is what I get.... > [EMAIL PROTECTED] twager]$ java -version > bash: java: command not found > [EMAIL PROTECTED] twager]$
Try: $ locate java Locate shows all files of which the name contains the string 'java'. Browse through the list to see whether you can spot a directory which contains the Java executable. As a last measure, cd into /usr and type: $ find . -name java -print which could take some time. Sun installs its JRE and SDK in /usr/java, so list that directory first. If you do find a file, you can see if and which package it belongs with: $ rpm -qf /usr/java/j2sdk1.4.1_01/bin/java j2sdk-1.4.1_01-fcs $ When you found it, it's probably useful to add it to your path. Add the following line in your /etc/profile: export PATH=$PATH:/usr/java/j2sdk1.4.1_01/bin or whatever your path is to the java binaries. HTH Bart -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list