I am trying to install OLite DB 10.3.0.3 on Windows XP. After clicking setup.exe and launching the OUI, the OUI checks for some pre-reqs and throws the following error:
"JDK is not installed on machine"
I tried to set the following environment variables:
Then tried to comment out the dependencies in the products.xml as follows (trying to check if this is a bug for JDK version check):
<!--DEP NAME="oracle.jdk" VER="10.1.0.3.0" PLAT="ALL_PLATFORMS" HOME_IDX="-1"/-->
It didnt help.
Can you please let me know whats the issue here ? Thanks in advance.
Thanks Winnie Hu. Issue is resolved now. I have installed JDK 1.6 in C:\Program Files\Java and added env variables JAVA_HOME, JAVA15_HOME (same value as JAVA_HOME) and path to %JAVA_HOME%\bin and then restarted the OUI and it worked.
OUI is NOT picking up the values of JAVA_HOME and JAVA15_HOME at runtime I guess and still looking for installation of Java in C:\Program Files\Java. May some hard-coded value for Java Home in OUI or a bug in OUI.
It's not a bug, it's just the mechanism of OUI that it will check the JDK from registry. You can also ignore setting JAVA_HOME or JAVA15_HOME, these two environment variables are required to be set on Linux platform rather than Windows. But PATH needs to be set to include %JAVA_HOME%\bin.
The key points on Windows platform for installing Mobile Server are:
1. Make sure the registry includes JDK (not JRE).
2. Make sure PATH includes %JAVA_HOME%\bin.
Oracle Berkeley DB and Oracle Lite Development
winnie.hu at oracle dot com
I tend to modify the location of the JDK during install to something other that 'Program Files' and find I get no issues on install i.e.
When installing I choose a path something like c:\java\java16
After this I do not encounter an error in the Installer for Lite as it finds the JDK without issue.
Note for patching purposes it makes life a whole lot easier too specifying a directory without spaces for JDK as when the Repository is being upgraded it requires the JDK directory to be specified on the command line.
Any of you guys got resolved the problem, please help me.
I am unable to install OLITE 10.3.0.3.0 on windows 7 64 bit PC. It is throwing the error message "JDK not installed on machine".
I have tried all the options discussed in this forum, but nothings has solved the problem.