Today it took me 3 hours to solve a problem.
I want to migrate Access database to MySQL, installed Java 1.6.2 and MySQL and MySQL Migration Tool.
But after I started MySQL and Migration Tool, it showed below error message
An error occured during the initialization of the runtime system.Please make sure your have the Java Runtime Environment (JRE) 1.4.2 or 5.0 installed
In fact I have JRE 1.6.2 installed.
I tried on 4 computers, same problem.
I tried many methods, found other error messages:
Launching Java VM
Classpath: -Djava.class.path=.;java;java\lib\jtds-1.2.jar;java\lib\junit.jar;java\lib\mysql-connector-java-5.0.4-bin.jar;java\lib\mysql-grt-java-1.0.0-bin.jar;java\lib\sapdbc-7_6_00_12_4339.jar;java
Runtime Library filename: C:\Program Files\Java\jre1.6.0_02\bin\client\jvm.dll
ERROR: The Java VM cannot be created (-4).
Error initializing Java module loader (10009). Please check the .\java and .\java\lib directories.
Initializing Lua loader...
\
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x01b8cea9, pid=468, tid=1032
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_02-b06 mixed mode)
# Problematic frame:
# v ~RuntimeStub::resolve_opt_virtual_call
finally below command line works:
MySQLMigrationTool.exe -debug
or
"C:\Program Files\MySQL\MySQL Tools for 5.0\MySQLMigrationTool.exe" -debug
Then I use it to migrate an Access mdb to MySQL successfully.
you can also try below command lines:
MySQLMigrationTool.exe -xmx 256m
MySQLMigrationTool.exe -xmx 384m
MySQLMigrationTool.exe -xmx 512m
Somebody said it is not a bug of MySQL Migration Tool but Java.
I think it IS a bug of MySQL Migration Tool.
Hope it will be fixed in next release.
Good luck.
I want to migrate Access database to MySQL, installed Java 1.6.2 and MySQL and MySQL Migration Tool.
But after I started MySQL and Migration Tool, it showed below error message
An error occured during the initialization of the runtime system.Please make sure your have the Java Runtime Environment (JRE) 1.4.2 or 5.0 installed
In fact I have JRE 1.6.2 installed.
I tried on 4 computers, same problem.
I tried many methods, found other error messages:
Launching Java VM
Classpath: -Djava.class.path=.;java;java\lib\jtds-1.2.jar;java\lib\junit.jar;java\lib\mysql-connector-java-5.0.4-bin.jar;java\lib\mysql-grt-java-1.0.0-bin.jar;java\lib\sapdbc-7_6_00_12_4339.jar;java
Runtime Library filename: C:\Program Files\Java\jre1.6.0_02\bin\client\jvm.dll
ERROR: The Java VM cannot be created (-4).
Error initializing Java module loader (10009). Please check the .\java and .\java\lib directories.
Initializing Lua loader...
\
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x01b8cea9, pid=468, tid=1032
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_02-b06 mixed mode)
# Problematic frame:
# v ~RuntimeStub::resolve_opt_virtual_call
finally below command line works:
MySQLMigrationTool.exe -debug
or
"C:\Program Files\MySQL\MySQL Tools for 5.0\MySQLMigrationTool.exe" -debug
Then I use it to migrate an Access mdb to MySQL successfully.
you can also try below command lines:
MySQLMigrationTool.exe -xmx 256m
MySQLMigrationTool.exe -xmx 384m
MySQLMigrationTool.exe -xmx 512m
Somebody said it is not a bug of MySQL Migration Tool but Java.
I think it IS a bug of MySQL Migration Tool.
Hope it will be fixed in next release.
Good luck.