MySQL Migration Tool ----initialized java loader

2 篇文章 0 订阅
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.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值