Re: Migration Toolkit failed after I installed JRE 1.5
Posted by: Michael G. Zinner
Date: June 19, 2005 03:58PM

Another possibility is to start the Migration Toolkit with the argument -jvm.

MySQLMigrationTool.exe -jvm "path_to_jvm.dll"

But still, the problem is strange. What I do is

//try to locate the JVM .dll
*error= get_java_runtimelib_filename("1.4", &runtimelib_filename);
if (*error == MYX_GRT_JAVA_NOT_FOUND)
*error= get_java_runtimelib_filename("1.5", &runtimelib_filename);

So I look for 1.4 before 1.5 and for each version I scan all release registry entries and take the one with the highest release number.

Could you open the GRT shell from the main menu Tools > GRT Environment Shell and execute the following command?


It will display the version the tool uses, "Java 1.4.2_08 Sun Microsystems Inc." in my case.

I just found an issue in the code that finds out the best release entry. It was not considering the 3rd version number. E.g. when you have 1.4.1_12 and 1.4.2_08 it would have prefered the 1.4.1_12. This is now fixed. I wonder if that could have caused the problems.


Michael Zinner, Team Lead, Developer Tools

Are you MySQL certified?

Edited 1 time(s). Last edit at 06/19/2005 04:04PM by Michael G. Zinner.

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.