Quite a times, uninstalling Oracle products from a development machine could be quite troublesome, many times with errors difficult to understand. One of the most common errors
One of the most common errors as below
Thread: https://community.oracle.com/thread/2578042?start=0&tstart=0
—————————
Oracle Universal Installer
—————————
The Java RunTime Environment was not found at C:\DOCUME~1\v859971\LOCALS~1\Temp\OraInstall2013-09-05_01-10-08PM\jre\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.
A Discussion about the same here:
Here is a quick workaround to address such situations
Copy the latest jre installation to a path without spaces
to, eg: C:\jre6
Switch to the folder where you have the “setup.exe”
C:\WINDOWS\system32>d:
D:\>cd D:\WebLogic\Middleware\oracle_common\oui\bin
Check what are the switches supported by the “setup.exe”
D:\WebLogic\Middleware\oracle_common\oui\bin>setup.exe -jreLoc C:\jre6 –help
Now, start uninstall process by starting the “setup.exe” with required switches
D:\WebLogic\Middleware\oracle_common\oui\bin>setup.exe -jreLoc C:\jre6 –deinstall
The setup GUI should start without throwing further errors now!
Once the components are uninstalled, you can uninstall weblogic server from “Oracle Weblogic” context menu, and the operation(s) should be smooth!
for Windows7bugs
while deinstalling oracle_common this error pops up:
Error:
“The home C:\Oracle\Middleware\oracle_common cannot be deinstalled as it contains references to other homes”
You have to uninstall all other products installed in the same home.