Tuesday 14 July 2015

Oracle 11g 64 bit Installation Unable to install Oracle 11g Release 2 x64 on Win7 Enterprise Edition 64bit

Unable to install Oracle 11g Release 2 x64 on Win7 Enterprise Edition 64bit


I have Service Pack 1 for the OS mentioned in the subject line.

I downloaded the zip files from here. The only oddball thing I did is I followed the See All link and downloaded the win64_11gR2_database_1of2.zip file from where See All takes me. For win64_11gR2_database_2of2.zip, I just clicked on File 2.

When I run setup.exe as an Administrator, a command window comes up, telling me that it's checking for having at least 256 colors, etc., and that it's preparing to launch Oracle Universal Installer from the appropriate directory.

After a delay (45 seconds?), the command window goes away, and I get a wait cursor for a short while...

Then a small Java (Swing?) type of Error dialog shows up, with the titlebar saying "Applicaion", the Stop-sign style red icon, and the message "java.lang.NullPointerException" with an OK button. I click on OK, and that's it, it quits.

I have also tried to run cmd.exe as Administrator, then go to the directory where setup is, and run:
setup -jreLoc "C:\Program Files\Java\jre6"

This gives me the same command window popping up that tells me about having more than 256 colors and Preparint to launch Oracle Universal Installer...etc., with the same delay time, etc.

But in this case, I get a normal, Windows-style error dialog with the following message:
The Java RunTime Environment was not found at "C:\Program Files\Java\jre6"\bin\javaw.exe. Hence, the Oracle Universal Installer cannot be run.
Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again.

However, javaw.exe does in fact exist in C:\Program Files\Java\jre6\bin\

What do I do?

I am using JRE 1.6.0_45 64-bit, though I tried 1.6.0_38 and 1.6.0_24, to no avail.