Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: 8.1.7.0.1 + Redhat 7.2 + /bin/jre not found
From: Kyle Hailey (oraperf_at_yahoo.com)
Subject: solution to errors on Oracle 8.1.7 & Redhat 7.1 install
This is the only article in this thread
View: Original Format
Newsgroups: comp.databases.oracle.server
Date: 2001-10-25 11:30:01 PST
Here is the simple solution to a problem I had and found reported on various web sites but with out any solutions.
Problem:
Installing oracle 8.1.7 on Redhat 7.1, when running "runInstaller" , I
get the error:
The Java RunTime Environment was not found at/bin/jre. Hence, the Oracle Universal Installer cannot be run. Please visit http://www.javasoft.com and install JRE version 1.1.8 or higher and try again.: No such file or directory
Notice that there is no space between "at" and "/bin/jre". Changing enviroment variables and such I recieved different characters here, often getting compose characters.
Solution:
This install was done off a CDROM where I had the untared Oracles
LINUX distrubution. When I untared the distribution on to the local
disk as opposed to the CDROM, everything worked. I think this error
also comes from installing off remotely mounted drives. I didn't look
into details of why it is happening. I did copy the CDROM locally.
That didn't work. I tried chmod -R 755 * on the files I had copied off
the CDROM but that didn't work as well. Only when I untared the
original distribution locally did it work. My main care is having a
solution, so I didn't pursue farther why it happened.
Here is my whole procedure for installing Redhat 7.1 & Oracle 8.1.7
The only trick for installing Redhat 7.1 LINUX was to pick 2 button mouse, since I have a 2 button mouse, other wise cut and paste didn't work. Otherwise Linux was a snap.
After installing LINUX, install these pacakges (the "compat" packages are necessary for Oracle, the others are services for ftp,telnetd,ssh & samba)
OFF CD 1 /mnt/cdrom/RedHat/RPMS
rpm -ivh samba-2.0.7-36.i386.rpm rpm -ivh xinetd-2.1.8.9pre14-6.i386.rpm rpm -ivh telnet-server-0.17-10.i386.rpm rpm -ivh openssh-server-2.5.2p2-5.i386.rpm rpm -ivh wu-ftpd-2.6.1-16.i386.rpm rpm -ivh /mnt/cdrom/RedHat/RPMS/compat-glibc-6.2-2.1.3.2.i386.rpm;
OFF CD 2 rpm -ivh /mnt/cdrom/RedHat/RPMS/compat-egcs-6.2-1.1.2.14.i386.rpm; rpm -ivh /mnt/cdrom/RedHat/RPMS/compat-libs-6.2-3.i386.rpm;
Now, run
ntsysv
and choose
smb
wu-ftp
telnetd
ssh
in order be able to telnet, ssh, ftp into the machine and use samba
an example a samba mount of a Win2K disk onto the LINUX machine
smbmount "\\\\rem005047\\quest" /quest -o username=kyle_hailey smbmount "\\\\HPPAV\\khailey" /kyle -o username=administrator
Installing Oracle
Set these enviroment variables
unset LANG
export LD_ASSUME_KERNEL=2.2.5
export LDEMULATION=elf_i386_glibc21
export GCC_EXEC_PREFIX=/usr/i386-glibc21-linux/lib/gcc-lib/
and it should work.
From Oracle download
linux81701.tar
from
otn.oracle.com
the direct link is (not sure if this works in direct)
http://otn.oracle.com/software/products/oracle8i/htdocs/linuxsoft.html
Untar this onto a local drive and it should work the first time through. I spent ages trying to install Oracle from a CDROM I made of the untared file. Crazy, it wouldn't install, but installs fine off a local drive. ( I was trying to save disk space since I ran out of space the first install) The error off the CDROM was like "java environment not found, /bin/jre not found"the CDROM was like "java environment not found, /bin/jre not found"
after untaring the Oracle distib
tar xvf linux81701.tar
cd Disk1/install/linux
./runInstaller
Classic bugs that shouldn't happen with the above are
/bin/jre not found
jre spins on CPU but nothing happens
relink errors that -lclntsh not found and lots of compiler
warnings
Best Wishes
Kyle Hailey
oraperf.sourceforge.net
Shankar wrote:
> Hi everybody,
>
> i have seen couple of postings here with following error on 8.1.7.0.1 EE
> installation /Redhat Linux 7.2, but none seems to help me out.
>
> /tmp/Disk1/runInstaller
> The Java RunTime Environment was not found at bin/jre. Hence, the Oracle
> Universal Installer cannot be run.
> Please visit http://www.javasoft.com and install JRE version 1.1.8 or
> higher and try again.
> : No such file or directory
>
> This error seems to be so strange, though i have jdk118_v3 installed and
> have them in my PATH,
>
> [oracle$ which java
> /usr/local/jdk118_v3/bin/java
> [oracle$ which jre
> /usr/local/jdk118_v3/bin/jre
> [oracle$ java -version
> java version "1.1.8"
> [oracle$ jre
> Java(tm) Runtime Loader Version 1.1.8
> Usage: jre [-options] classname [arguments]
>
> also, i've followed the step by step instructions given in below
> articles and still can't get installer to invoke.
>
> http://staff.in2.hr/denis/oracle/817install_rh72_en.html
> http://www.idevelopment.info
>
> any pointers would be greatly appreciated.
>
> Thanks
> Shan
Received on Tue Oct 15 2002 - 21:20:55 CDT