Bug #12396 JVM not found and -jvm command line option unclear
Submitted: 5 Aug 2005 11:20 Modified: 20 Oct 2005 8:55
Reporter: Andreas Götz Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Migration Toolkit Severity:S3 (Non-critical)
Version:1.0.12rc OS:Windows (WinXP SP2)
Assigned to: Aleksey Kishkin CPU Architecture:Any

[5 Aug 2005 11:20] Andreas Götz
Description:
After installing MT, JVM was not found although added to path and registry keys seemed ok (can provide detailed if requried).
Alternatively moved to using -jvm switch. Found that jvm switch syntax is to specify the full DLL path including filename and leave out only the .dll extension:

"C:\Program Files\mysql\MySQL Migration Toolkit 1.0\MySQLMigrationTool.exe" -jvm "C:\Program Files\Java\jre1.5.0_04\bin\client\jvm"

This seems highly unusual and was only discovered through using filemon and regmon.

Also: Would be nice if the "List Bugs" "Report Bug" functionality was available inside the app. 

How to repeat:
Use -jvm switch if java not automatically detected
[5 Aug 2005 22:36] Aleksey Kishkin
tested against java sdk 1.5.0 and MySQL MT 1.0.12
[19 Oct 2005 17:09] Michael G. Zinner
Could you check if that is still true for the latest release? Thanks
[19 Oct 2005 17:55] Andreas Götz
working for me (1.0.18rc)- thanks!