migration toolkit failed at java loader
Posted by: chwan keng ng
Date: May 28, 2009 08:59PM

Hi,

I am new to MySQL and would like to try to migrate a database from informix to MySQL but I ran into problem loading migration tool kit
- initialized runtime system -> OK
- initialized java loader -> failed
Error message: "An error occured during the initialization of the runtime system. Please make sure you have the Java Runtime Environment (JRE) 5.0 Update 8 installed."

Infor:
OS: XP sp2
MySQL: 5
MySQL MT: 1.1.5rc

Any advice? Thanks

More info:
========= GRT =========

C:\Program Files\MySQL\MySQL Tools for 5.0>grtsh
MySQL Generic Runtime Environment 2.0.12

Type 'help' or '?' for help. Type 'quit' to exit the shell.
Lua Shell initialized.

Scanning for struct definitions in ./xml ...
Registered 15 struct definition files.
Initializing Builtin modules...
Initializing Java loader...
ERROR: The JRE 1.4 cannot be found.
Please make sure the Sun JRE 1.4 is installed correctly.
Verify the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.4\RuntimeLib

** (process:5492): WARNING **: Error initializing Java module loader (10012).
Initializing Python loader...
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
Initializing Lua loader...
Scanning for Lua plugins in ./lua ...
Registered 16 modules.

========= java version =========
C:\>java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)

========= reg key =========
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
"CurrentVersion"="1.6"
"Java6FamilyVersion"="1.6.0_13"
"BrowserJavaVersion"="1.6.0_13"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.4]
"MicroVersion"="0"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.6]
"JavaHome"="C:\\Program Files\\Java\\jre6"
"RuntimeLib"="C:\\Program Files\\Java\\jre6\\bin\\client\\jvm.dll"
"MicroVersion"="0"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.6.0_05]
"JavaHome"="C:\\Program Files\\Java\\jre1.6.0_05"
"MicroVersion"="0"
"RuntimeLib"="C:\\Program Files\\Java\\jre1.6.0_05\\bin\\client\\jvm.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.6.0_05\MSI]
"INSTALLDIR"="C:\\Program Files\\Java\\jre1.6.0_05\\"
"SYSTRAY"="1"
"EULA"="0"
"IEXPLORER"="1"
"MOZILLA"="0"
"JAVAUPDATE"="1"
"AUTOUPDATECHECK"="1"
"JU"="1"
"OEMUPDATE"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.6.0_13]
"JavaHome"="C:\\Program Files\\Java\\jre6"
"MicroVersion"="0"
"RuntimeLib"="C:\\Program Files\\Java\\jre6\\bin\\client\\jvm.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.6.0_13\MSI]
"JU"="1"
"OEMUPDATE"=""
"MODE"="C"
"FROMVERSION"="NA"
"KERNEL"=""
"PRODUCTVERSION"="6.0.130"
"INSTALLDIR"="C:\\Program Files\\Java\\jre6\\"
"SYSTRAY"="1"
"EULA"="0"
"IEXPLORER"="1"
"MOZILLA"="1"
"JAVAUPDATE"="1"
"AUTOUPDATECHECK"="1"
"AUTOUPDATEDELAY"=""
"ImageCkSum"="591146257"
"FullVersion"="1.6.0_13-b03"

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.