This discussion is archived
9 Replies Latest reply: Nov 6, 2012 7:20 AM by 972815 RSS

Unable to install OLITE 10.3.0.3.0 on Windows XP

537386 Newbie
Currently Being Moderated
Hi Everyone,

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:

JAVA15_HOME=D:\Installations\FMW11g\jdk160_21
JAVA_HOME=D:\Installations\FMW11g\jdk160_21
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;D\Installations\FMW11g\jdk160_21\bin

But still it stops with the same error.

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.

Regards
Pavan
  • 1. Re: Unable to install OLITE 10.3.0.3.0 on Windows XP
    winnie.hu Newbie
    Currently Being Moderated
    Hi Pavan,

    You need to install your JDK under the System's default folder, like C:\Program Files\Java\jdk1.6.0_21, then set JAVA_HOME to there.

    Winnie Hu
    Oracle Berkeley DB and Oracle Lite Development
    winnie.hu at oracle dot com

    Edited by: winnie.hu on Apr 19, 2011 12:19 AM
  • 2. Re: Unable to install OLITE 10.3.0.3.0 on Windows XP
    537386 Newbie
    Currently Being Moderated
    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:

    JAVA15_HOME=C:\Program Files\Java\jre6
    JAVA_HOME=C:\Program Files\Java\jre6
    JRE_HOME=C:\Program Files\Java\jre6
    Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Progra~1\Java\jre6\bin

    and tried this too

    JAVA15_HOME=C:\Progra~1\Java\jre6 (8.3 file naming convention)
    JAVA_HOME=C:\Progra~1\Java\jre6
    JRE_HOME=C:\Progra~1\Java\jre6
    Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Progra~1\Java\jre6\bin

    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.

    Regards
    Pavan
  • 3. Re: Unable to install OLITE 10.3.0.3.0 on Windows XP
    winnie.hu Newbie
    Currently Being Moderated
    Hi Pavan,

    Since the OUI needs to check JDK from registry->HKEY_LOCAL_MACHINE->SOFRWARE->JavaSoft->Java Development Kit, so make sure it's not empty.


    Winnie Hu
    Oracle Berkeley DB and Oracle Lite Development
    winnie.hu at oracle dot com
  • 4. Re: Unable to install OLITE 10.3.0.3.0 on Windows XP
    537386 Newbie
    Currently Being Moderated
    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


    Regards
    Pavan
  • 5. Re: Unable to install OLITE 10.3.0.3.0 on Windows XP
    537386 Newbie
    Currently Being Moderated
    Hi,

    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.

    Regards
    Pavan
  • 6. Re: Unable to install OLITE 10.3.0.3.0 on Windows XP
    winnie.hu Newbie
    Currently Being Moderated
    Hi Pavan,

    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.

    Winnie Hu
    Oracle Berkeley DB and Oracle Lite Development
    winnie.hu at oracle dot com
  • 7. Re: Unable to install OLITE 10.3.0.3.0 on Windows XP
    960531 Newbie
    Currently Being Moderated
    So if my java isn't in default directory(which i dont like because of the space character)i can't install olite? Isn't there a way to make the install look at custom path(JAVA_HOME for example)?
  • 8. Re: Unable to install OLITE 10.3.0.3.0 on Windows XP
    rxtaylor Newbie
    Currently Being Moderated
    Hi,

    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.

    regards

    Richard

    Edited by: rxtaylor on Sep 7, 2012 12:07 PM
  • 9. Re: Unable to install OLITE 10.3.0.3.0 on Windows 7
    972815 Newbie
    Currently Being Moderated
    Hi,

    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.

    Thanks
    Baiju

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points