Sun JRE java虚拟机不能向下兼容之谜(Initializing Java loader)

今天我用MySQL Migration Toolkit ,说是没有安装JRE ,就是java虚拟机有没有搞错,我装jdk7了这种事经常遇到,你装高版本的JRE 他老兄说你没有装

很多人就这样去装好几个版本的JRE

作为高手必须知道问题出在哪儿? 打开命令行输出如下:  

 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 the ./java and ./java/lib directories.Initializing Lua loader...Initializing Python loader...Registered 5 builtin modules.Registered 13 Lua modules. /

原来是注册表没有1.4信息(废话jdk7是1.7)做个reg文件导入就OK了    Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/Java Runtime Environment/1.4]"RuntimeLib"="C://Program Files//Java//jre1.7.0//bin//client//jvm.dll"  

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值