Today while deinstalling Oracle Forms 11g R2, I came across following error.
It says “Java RunTime Environment was not found at…” or in simple works Oracle universal installer couldn’t find java runtime environment even though I have Java installed.
I tried setting the local Java related variable but it didn’t help. The deinstaller keep taking the old location.
After going through Oracle Documentation I found that I can run deinstaller and pass JRE information to deinstaller as follows:
setup.exe -deinstall -jreLoc JRE_LOCATION
So I ran as follows:
C:\Oracle\Middleware\oracle_common\oui\bin\setup.exe -deinstall -jreLoc C:\Java\jdk1.6.0_32\jre
After this, Deinstallation went smoothly
I hope this post will help somebody plus will act as a future reference to me.