[Qt-jambi-interest] designer - couldn't locate JVM

Eskil Abrahamsen Blomfeldt eskil.abrahamsen-blomfeldt at nokia.com
Thu Dec 10 09:55:14 CET 2009


ext Dusan Zatkovsky skrev:
> I have successfully built and released 4.6 on linux, now I am trying to run it 
> on windows. After running "designer.bat" designer say:
>
> "Could not locate java virtual machine, qtjambi plugin disabled".
>
> I've tried to modify PATH, JAVA_HOME, still not works.
>   

On Windows, Qt Jambi attempts to use special registry keys set when Java 
is installed to locate the jvm.dll. Look in qtjambi/qtjambi_core.cpp, in 
the function locate_vm() (there are several implementations, check the 
Windows-specific one) to see how this is done.

How did you install your Java package? If you built Java from source, 
you may have to set these registry keys yourself.

-- Eskil





More information about the Qt-jambi-interest mailing list