Hi All,
I installed the following from here,
http://java.com/en/download/manual.jsp
and followed here,
http://java.com/en/download/help/5000010500.xml#rpm
what am I doing wrong? Also, how does one find where the rpm installed to? whereis or locate or find or is there a rpm option? Cheers
Mark Sargent.
[coolprogrammer@localhost local]$ sudo /bin/rpm -iv jre-1_5_0_06-linux-i586.rpm Preparing packages for installation... jre-1.5.0_06-fcs [coolprogrammer@localhost local]$ ls Adobe apache2 bin etc games include javarun jre-1_5_0_06-linux-i586.rpm lib libexec man mysql sbin share src [coolprogrammer@localhost local]$ whereis jre-1.5.0_06-fcs jre-1.5: [coolprogrammer@localhost local]$ man rpm [coolprogrammer@localhost local]$ sudo /bin/rpm -i jre-1_5_0_06-linux-i586.rpm package jre-1.5.0_06-fcs is already installed [coolprogrammer@localhost local]$ sudo /bin/rpm -i jre-1.5 error: open of jre-1.5 failed: No such file or directory [coolprogrammer@localhost local]$ sudo /bin/rpm -i jre-1.5.0_06-fcs error: open of jre-1.5.0_06-fcs failed: No such file or directory
Ok, I re-checked my steps,
[coolprogrammer@localhost local]$ sudo /bin/rpm -i jre* package jre-1.5.0_06-fcs is already installed [coolprogrammer@localhost local]$ sudo /bin/rpm -e jre-1.5.0_06-fcs [coolprogrammer@localhost local]$ sudo /bin/rpm -i jre* [coolprogrammer@localhost local]$ sudo /bin/rpm -iv jre-1_5_0_06-linux-i586.rpm Preparing packages for installation... package jre-1.5.0_06-fcs is already installed [coolprogrammer@localhost local]$ ls Adobe apache2 bin etc games include jre-1_5_0_06-linux-i586.rpm lib libexec man mysql sbin share src
Hi All,
I also did a rpm -qa grep,
[coolprogrammer@localhost local]$ sudo /bin/rpm -qa | grep jre* [coolprogrammer@localhost local]$
Cheers.
Mark Sargent
On 4/13/06, Mark Sargent mark@diabro.jp wrote:
Hi All,
I also did a rpm -qa grep,
[coolprogrammer@localhost local]$ sudo /bin/rpm -qa | grep jre* [coolprogrammer@localhost local]$
The Sun java rpm isn't really an rpm. It tosses stuff outside the reach of the standard path in /usr/java. I would very strongly recommend the sun-java-compat rpm from jpackage.org. It will set up your java environment in a functional manner and change the alternates settings such that you can actually use java.
-- Any sufficiently advanced technology is indistinguishable from magic. -Arthur C. Clarke
--- Mark Sargent mark@diabro.jp wrote:
Hi All,
I also did a rpm -qa grep,
[coolprogrammer@localhost local]$ sudo /bin/rpm -qa | grep jre* [coolprogrammer@localhost local]$
Cheers.
Mark Sargent _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
When you say install error you are not being truthfull The rpm did what it was intended to do.
[mike@stanko ~]$ rpm -qi jre Name : jre Relocations: /usr/java Version : 1.5.0_06 Vendor: Sun Microsystems, Inc. Release : fcs Build Date: Thu 10 Nov 2005 22:18:02 GMT Install Date: Fri 17 Feb 2006 16:07:49 GMT Build Host: tiger-linux Group : Development/Tools Source RPM: jre-1.5.0_06-fcs.src.rpmSize : 41498681 License: Sun Microsystems Binary Code License (BCL) Signature : (none) Packager : Java Software jre-comments@java.sun.com URL : http://java.sun.com/ Summary : Java(TM) 2 Platform Standard Edition Runtime Environment Description : The Java 2 Platform Standard Edition Runtime Environment (JRE) contains everything necessary to run applets and applications designed for the Java platform. This includes the Java virtual machine, plus the Java platform classes and supporting files.
The JRE is freely redistributable, per the terms of the included license.
[mike@stanko ~]$ which java /usr/java/jre1.5.0_06/bin/java
You do not have to use sudo just to query the rpm db.
__________________________________________________ Improve the mailing list by performing a simple search before posting and reading the FAQ/etiquette. Protect the integrity of your installation with the yum plugins.
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com