Sun JRE java虛擬機器不能向下相容之謎(Initializing Java loader)

來源:互聯網
上載者:User

今天我用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"  

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.