Saturday 28 September 2013

Solution for "Initialized java loader error" in mysql Migration toolkit



















Step 1: Open the command prompt. Change to the mysql tools installation path (path will be vary based on the installed Mysql version)

         C:\Documents and Settings\System14>cd C:\Program Files\MySQL\MySQL Tools for 5.0

Step 2: And then type the following command(jvm.dll path will be vary based on the installed java version)

           C:\Program Files\MySQL\MySQL Tools for 5.0>MySQLMigrationTool -verbose 
           -jvm    "C:\Program Files\Java\jre7\bin\client\jvm.dll"

The java loader initialized successfully..

18 comments:

  1. i wasted one day for this error... thanks for the solution..

    ReplyDelete
  2. i am getting same error but not solved again i am gettting 1 more error MYSQL migrtaion tool not recognized as an internal / exterrnal cmd

    ReplyDelete
    Replies
    1. dont put space between the ( MYSQL migrtaion tool) words. type as "MySQLMigrationTool -verbose -jvm "C:\Program Files\Java\jre7\bin\client\jvm.dll"

      Delete
  3. THANK YOU! You save my day! :D

    ReplyDelete
  4. Merci beaucoup.
    Im my case (Windows 7 64bits), I used :
    "c:\program files (x86)\MySQL\MySQL Tools for 5.0\MySQLMigrationTool.exe" -verbose -jvm "c:\Program Files (x86)\java\jre7\bin\client\jvm.dll"

    I made a shortcut using this. and it Workd perfectly.

    ReplyDelete
    Replies
    1. Merci à toi!
      This comment was even more useful!
      (Program Files (x86))

      Delete
  5. I am still getting the same error even after running the command C:\Program Files\MySQL\MySQL Tools for 5.0>MySQLMigrationTool -verbose
    -jvm "C:\Program Files\Java\jre7\bin\server\jvm.dll"

    Can you help me out why it is still not working?

    ReplyDelete
    Replies
    1. You are pointing to the jvm.dll file in the "server" folder of Java. Please ensure to use the jvm.dll which is located in Javas "client" folder.

      The "client" folder is located in the Java-folder within the "Program Files (x86)" folder. Do not search in the "Program Files" folder.

      Delete
  6. Galera, resolvi meu problema usando Windows 7, fazendo download nesta página:
    http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase5-419410.html#jre-1.5.0_09-oth-JPR
    na versão J2SE(TM) Runtime Environment 5.0 Update 10 (online)
    ufa!!!

    ReplyDelete
  7. Me ha funcionado. El problema es que siempre que quiera trabajar con el MySQL Migration Toolkit debo ejecutarlo de esa forma (poniendo ese comando). Si lo quiero abrir de forma normal (doble click sobre la aplicación por ejemplo), el error sigue estando.

    ReplyDelete
  8. Than you very much for the solution. It saved my day!

    ReplyDelete
  9. I do not have client folder in "C:\Program Files\Java\jre1.8.0_31\bin". So what should i do.

    ReplyDelete
  10. MySQLMigrationTool -verbose -jvm "C:\Program Files (x86)\Java\jre1.8.0_161\bin\client\jvm.dll"

    ReplyDelete
  11. Antonio Baldassarre10 November 2018 at 03:44

    I have tried to execute:
    "mysqlmigrationtool -verbose -jvm C:\Program Files (x86)\Java\jre1.8.0_181\bin\client\jvm.dll"
    on my staion w10 64b
    Java loader failed again !!!

    ReplyDelete