xsysys
asked on
Missing or Incorrect version of the JDK while installing Oracle Lite Mobile server
Hi,
While installing Mobile server of Oracle DBLite, it says the following error message.
Missing or Incorrect version of the JDK.
The installer could not find the correct version of the JDK installed in your system. Mobile server requires JDK 1.4.1 or higher. Please install JDK 1.4.1 before continuing the installation.
I installed JDK 1.4.2. But still it refers the older version of JDK 1.3.1.1.0a which I can see when I say Next after getting the above error message and check the Already Installed Products List.
Can anyone help me...
Regards,
Chella
While installing Mobile server of Oracle DBLite, it says the following error message.
Missing or Incorrect version of the JDK.
The installer could not find the correct version of the JDK installed in your system. Mobile server requires JDK 1.4.1 or higher. Please install JDK 1.4.1 before continuing the installation.
I installed JDK 1.4.2. But still it refers the older version of JDK 1.3.1.1.0a which I can see when I say Next after getting the above error message and check the Already Installed Products List.
Can anyone help me...
Regards,
Chella
unset JAVA_HOME ?
what is the output from
java -version
what is your environment variable PATH ?
what is the output from
java -version
what is your environment variable PATH ?
ASKER
Hi,
The following is the exe I downloaded to install JDK 1.4.2
j2re-1_4_2_08-windows-i586 -p.exe
The JDK is installed in the path: C:\Program Files\Oracle\jre\1.4.2
I could see the same in the Registry also.
HKEY_LOCAL_MACHINE\Softwar e\Javasoft \Java Runtime Environment\1.4.2_08\
I checked the JavaHome Key data. It shows C:\Program Files\Oracle\jre and
RuntimeLib keys shows C:\Program Files\Oracle\jre\bin\clien t\jvm.dll
I added C:\Program Files\Oracle\jre\1.4.2 in the environment variable path also.
Still I am facing the same problem - Missing or Incorrect version of the JDK.
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- --------
When I browsed I got the following information to change the oraparam.ini to mention the correct JRE_LOCATION
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- -----
[Oracle]
DISTRIBUTION=TRUE
SOURCE=../stage/products.j ar
LICENSE_LOCATION=
JRE_LOCATION=../stage/Comp onents/ora cle.swd.jr e/1.3.1.1. 0a/1/DataF iles/Expan ded
OUI_LOCATION=../stage/Comp onents/ora cle.swd.ou i/2.2.0.12 .0/1/DataF iles/Expan ded
JRE_MEMORY_OPTIONS=" -mx48m"
DEFAULT_HOME_LOCATION=\ora cle\ora92
DEFAULT_HOME_NAME=OraHome9 2
NO_BROWSE=/net
NLS_ENABLED=TRUE
BOOTSTRAP=TRUE
OUI_VERSION=2.2.0.12.0
I updated the oraparam.ini which is present in the path: D:\10g_w32_dblite\install\ win32\ as follows:
[Oracle]
DISTRIBUTION=TRUE
SOURCE=D:\10g_w32_dblite\s tage\produ cts.jar
LICENSE_LOCATION=
JRE_LOCATION=C:\Program Files\Oracle\jre\1.4.2
OUI_LOCATION=D:\10g_w32_db lite\stage \Component s\oracle.s wd.oui\2.1 .0.10.0\1\ DataFiles\ Expanded
JRE_MEMORY_OPTIONS=" -mx48m"
DEFAULT_HOME_LOCATION=
DEFAULT_HOME_NAME=OUIHome
NO_BROWSE=/net
NLS_ENABLED=TRUE
BOOTSTRAP=FALSE
OUI_VERSION=2.1.0.10.0
OUI_VERSION=2.1.0.10.0
And started the Mobile server installation. But still I am getting the same error.
While doing the installation, if I choose the Custom type and say "Show all components including Required dependencies", it shows Java Runtime Environment 1.3.1.1.0a as the Required dependency which cannot be deselected or changed.
I am not sure from where this information comes from? When I checked the products.jar file I could see something refered to Java Runtime Environment 1.3.1.1.0a as follows:
Components/oracle.swd.jre/ 1.3.1.1.0a /1/resourc es/CompID. properties
If I tried to edit this file with the help of Notepad, while doing the installation it says the products.jar file is corrupted.
Can you help me where I am going wrong?
The following is the exe I downloaded to install JDK 1.4.2
j2re-1_4_2_08-windows-i586
The JDK is installed in the path: C:\Program Files\Oracle\jre\1.4.2
I could see the same in the Registry also.
HKEY_LOCAL_MACHINE\Softwar
I checked the JavaHome Key data. It shows C:\Program Files\Oracle\jre and
RuntimeLib keys shows C:\Program Files\Oracle\jre\bin\clien
I added C:\Program Files\Oracle\jre\1.4.2 in the environment variable path also.
Still I am facing the same problem - Missing or Incorrect version of the JDK.
--------------------------
When I browsed I got the following information to change the oraparam.ini to mention the correct JRE_LOCATION
--------------------------
[Oracle]
DISTRIBUTION=TRUE
SOURCE=../stage/products.j
LICENSE_LOCATION=
JRE_LOCATION=../stage/Comp
OUI_LOCATION=../stage/Comp
JRE_MEMORY_OPTIONS=" -mx48m"
DEFAULT_HOME_LOCATION=\ora
DEFAULT_HOME_NAME=OraHome9
NO_BROWSE=/net
NLS_ENABLED=TRUE
BOOTSTRAP=TRUE
OUI_VERSION=2.2.0.12.0
I updated the oraparam.ini which is present in the path: D:\10g_w32_dblite\install\
[Oracle]
DISTRIBUTION=TRUE
SOURCE=D:\10g_w32_dblite\s
LICENSE_LOCATION=
JRE_LOCATION=C:\Program Files\Oracle\jre\1.4.2
OUI_LOCATION=D:\10g_w32_db
JRE_MEMORY_OPTIONS=" -mx48m"
DEFAULT_HOME_LOCATION=
DEFAULT_HOME_NAME=OUIHome
NO_BROWSE=/net
NLS_ENABLED=TRUE
BOOTSTRAP=FALSE
OUI_VERSION=2.1.0.10.0
OUI_VERSION=2.1.0.10.0
And started the Mobile server installation. But still I am getting the same error.
While doing the installation, if I choose the Custom type and say "Show all components including Required dependencies", it shows Java Runtime Environment 1.3.1.1.0a as the Required dependency which cannot be deselected or changed.
I am not sure from where this information comes from? When I checked the products.jar file I could see something refered to Java Runtime Environment 1.3.1.1.0a as follows:
Components/oracle.swd.jre/
If I tried to edit this file with the help of Notepad, while doing the installation it says the products.jar file is corrupted.
Can you help me where I am going wrong?
I bet its picking up the java machine installed in ---
<<< I checked the JavaHome Key data. It shows C:\Program Files\Oracle\jre and
RuntimeLib keys shows C:\Program Files\Oracle\jre\bin\clien t\jvm.dll >>>
<<< I checked the JavaHome Key data. It shows C:\Program Files\Oracle\jre and
RuntimeLib keys shows C:\Program Files\Oracle\jre\bin\clien
ASKER
Hi,
Some more information regarding the installation of Oracle Lite Mobile Server
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ----
I tried to continue the installation with the Error / Warning message 'Missing or Incorrect version of the JDK.' It proceeds with that. But I am facing one more problem.
It says that the Mobile Server is installed successfully. But when it tries to install the Mobile Server Repository it completes the installation 95% and it hangs. If you check it in the taskbar it says it is running but never ends.
If you search 'repwizard.bat stops at 95%' in the Net you will get more information (the same problem is discussed in Oracle forums n number of times).
I tried but I am unable to succeed.
Can anyone help me?
Regards,
Chella
Some more information regarding the installation of Oracle Lite Mobile Server
--------------------------
I tried to continue the installation with the Error / Warning message 'Missing or Incorrect version of the JDK.' It proceeds with that. But I am facing one more problem.
It says that the Mobile Server is installed successfully. But when it tries to install the Mobile Server Repository it completes the installation 95% and it hangs. If you check it in the taskbar it says it is running but never ends.
If you search 'repwizard.bat stops at 95%' in the Net you will get more information (the same problem is discussed in Oracle forums n number of times).
I tried but I am unable to succeed.
Can anyone help me?
Regards,
Chella
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
check for environment variables or path for java
regards