I installed Linux RedHat 7.3 on a PC Pentium 4 1.7 GHz, but when I run Installer Oracle 8.1.6, it said that the Installer cannot find the JRE, even though I had installed jdk118_v3-glibc-2.1.3.tar.bz2 before. What can I do now?
If you had installed a JDK previously, does that mean that you installed it prior to putting Redhat 7.3 on? If so, perhaps you should check your CLASSPATH environment variable to make sure it it correct and can "see" the correct path for file locations.
If that doesn't help, all I can tell you is to make sure to follow the pre-install directions from the Install Guidelines on setting up the oracle ID with 'ksh' as default shell and dba, oinstall groups, etc. Make sure you have set up the following ENV variables in the .profile file and make sure they are invoked (logging off/on oracle is the brute force way):
export ORACLE_BASE=/usr/u01/app/oracle export ORACLE_HOME=$ORACLE_BASE/product/184.108.40.206 export ORACLE_SID=xxxx export THREADS_FLAG=nativeThe THREADS_FLAG=native setting can make a difference in a 9i install (but I'm not sure about 8.1.6). In a 9i install this setting when incorrect causes the runInstaller to return "no jre found in $ORACLE_HOME/oracle.swd.jre" for the dbca, netmgr and the intelligent agent.
In theory, you shouldn't have to install anything as I believe the Oracle install comes with a jre. Again, I think that's correct, but it may be for 9i only.
Also, make sure you set the DISPLAY per the Install directions before invoking the 'runInstaller'.
The things I list here come out of the install guide so if you haven't been following that to the letter, I'd suggest you download a copy and follow it. If you've been following it and are still getting this error, it may be time to file an iTAR.
For More Information
- Dozens more answers to tough Oracle questions from Karen Morton are available.
- The Best Oracle Web Links: tips, tutorials, scripts, and more.
- Have an Oracle or SQL tip to offer your fellow DBAs and developers? The best tips submitted will receive a cool prize. Submit your tip today!
- Ask your technical Oracle and SQL questions -- or help out your peers by answering them -- in our live discussion forums.
- Ask the Experts yourself: Our SQL, database design, Oracle, SQL Server, DB2, metadata, object-oriented and data warehousing gurus are waiting to answer your toughest questions.
Dig Deeper on Oracle on Linux
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.