Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle Intaller JRE hangs on RH 7.x
LordStinkyŠ wrote:
> When i run the installerit just doe this
>
> glen_at_product Disk1]$ ./runInstaller
> [glen_at_product Disk1]$ Initializing Java Virtual Machine from
> ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre
> . Please wait...
>
> and just hangs left it for over 20hours til i had to kill -9 it
>
Has to do with 2 things:
- Jave
- c library versions (RH6.2 installs in a jiffy!).
This worked for me, installing 8.1.7.4 on RH7.3:
(assuming you got mount poinst as you like, and
group and user set up - my user is oracle)
Changed oracle environment (in /home/oracle/.bash_profile):
ORACLE_BASE=/usr/u01; export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/product/8.1.7; export ORACLE_HOME ORACLE_SID=orcl; export ORACLE_SID
Some documents explain to set CLASSPATH and LD_LIBRARY_PATH; some Oracle Metalink docu explicily state these should *NOT* be set. I didn't and it worked.
I did set NLS_LANG, tho:
NLS_LANG=American_America.WE8ISO8859P1; export NLS_LANG
Installed Java Runtime:
1) Login as root and use a web browser to go to http://www.blackdown.org
2) Click on the downloads link.
3) Pick an FTP site that is geographically near you.
4) The file to look for is jdk118_v3-glibc-2.1.3.tar.bz2.
Do NOT download a newer version as it may not work.
5) Download this file to /usr/local.
6) Open a terminal window. Extract the file and create a symbolic link
so the Oracle Installer can find it. Run the following commands:
tar xvjf jdk118_v3-glibc-2.1.3.tar.bz2 ln -s /usr/local/jdk118_v3 /usr/local/java
LD_ASSUME_KERNEL=2.2.5; export LD_ASSUME_KERNEL to make java work...
Try to run xclock; should result in a graphical clock. This tests if X environment is ok. If OK:
run ./runInstaller as per instructions
If asked for the Java installation diry, respond /usr/local/java as above link
hth, Frank Received on Sat Jun 08 2002 - 13:46:19 CDT