An error is reported when I want to install a MySQL migration plugin today:
MySQL generic runtime environment 2.0.12 type 'help' or '? 'For help. type 'quit' to exit the shell. lua shell initialized. registered 12 struct definition files. initializing native loader... initializing Java loader... error: the JRE 1.4 or newer cannot be found. please make sure the Sun JRE 1.4 or newer is installed correctly. verify the following registry key: HKEY_LOCAL_MACHINE \ SOFTWARE \ javasoft \ Java Runtime Environment \ 1.4 \ runtimelib error initializing Java module loader (10012 ). please check. \ Java and. \ Java \ Lib directories. initializing Lua loader... initializing Python loader... registered 5 builtin modules. registered 13 Lua modules./
Later, I repaired the registry according to the online tutorial.:[HKEY_LOCAL_MACHINE \ SOFTWARE \ javasoft \ Java Runtime Environment \ 1.4] "runtimelib". The file for importing the registry is as follows:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE \ SOFTWARE \ javasoft \ Java Runtime Environment \ 1.4]
"Runtimelib" = "d :\\ program files (x86) \ Java \ jre6 \ bin \ Client \ JVM. dll"
But the problem still cannot be solved. Finally, I suddenly thought that the MySQL migration toolkit installed in my current system is i586, that is, 32-bit, And the JRE of the current system is x64, that is, 64-bit, I think it may be because the two are incompatible. Later I downloaded the 32-bit JRE: jre-6u30-windows-i586.exe online. The final problem is solved.