Search code examples
javawindows-server-2008odac

Java Runtime Environment was not found at bin\javaw.exe


When I tried to install ODAC component in Windows Server 2008 machine, it thrown below error.

"Java Runtime Environment was not found at bin\javaw.exe. Hence the Oracle Universal Installer cannot be run. Please visit http://www.javasoft.com and install JRE version 1.4 or higher and try again"

I found javaw.exe in C:\Program Files\Java\jre1.8.0_25\bin

I searched in google and added the value in PATH of Environment Variable as below

C:\program Files\Java\jre1.8.0_25\bin; //not worked

C:\progra~1\Java\jre1.8.0_25\bin; //not worked

Please let me know how to fix this issue.


Solution

  • While I was copying ODAC setup file to server, it didn't copied completely. The setup file is only 30 MB in server where as the original one is 290MB. Server is not copying big size files properly. So, I downloaded the component from internet and executed the exe file. Its working fine now. Thank you all for your comments.