This content has been marked as final. Show 9 replies
Hi Winnie Hu,
Thanks for the reply. Do we need to install JDK or is it fine if we have just the jre ? I tried with jre, but ended with same error:
and tried this too
JAVA15_HOME=C:\Progra~1\Java\jre6 (8.3 file naming convention)
But it didnt help. Not sure why do we need to install it in the system folder only. It should work from anywhere logically :) but gave a try.
Hi Winnie Hu,
I checked it already. I have them set:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
CurrentVersion -- REG_SZ -- 1.6
BrowserJavaVersion -- REG_SZ -- 1.6.0_15
Java6FamilyVersion -- REG_SZ -- 1.6.0_15
RuntimeLib -- C:\Program Files\Java\jre6\bin\client\jvm.dll
JavaHome -- C:\Program Files\Java\jre6
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.
Thanks for the help.
Glad to see that your problem got solved.
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.
Edited by: rxtaylor on Sep 7, 2012 12:07 PM