Problem solve Get help with specific problems with your technologies, process and projects.

Installer cannot find JRE after installing Linux

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/ 
export ORACLE_SID=xxxx 
export THREADS_FLAG=native 
The 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

This was last published in April 2003

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.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.