[Qt-jambi-interest] designer not finding JVM
Gunnar Sletta
gunnar at trolltech.com
Tue May 13 14:51:42 CEST 2008
Derek Fountain wrote:
> I've correctly set up the QtJambi 4.4 preview on my SUSE box at home,
> but I'm having trouble getting designer to run on my Ubuntu box at work.
> When I run the designer.sh script it says:
>
>> designer.sh
> QtJambi: failed to locate the JVM. Make sure JAVADIR is set, and
> pointing to your Java installation.
> Jambi: failed to initialize...
> QtJambi: failed to locate the JVM. Make sure JAVADIR is set, and
> pointing to your Java installation.
> Jambi: failed to initialize...
>
> I don't appear to need a JAVADIR variable at home, but I set one up at
> work anyway:
>
>> echo $JAVADIR
> /usr/lib/jvm/java-6-sun/jre
>
>> ls $JAVADIR
> bin COPYRIGHT javaws lib LICENSE man plugin README
> THIRDPARTYLICENSEREADME.txt Welcome.html
>
> It all looks right. If I copy classes from home to work they run quite
> happily, so I think I've got everything else set up right. So what is
> the designer after at work that I'm not giving it?
We're normally looking for libjvm.so under $JAVADIR/lib/i386/client or
$JAVADIR/jre/lib/i386/client. Is this where your libs are located?
-
GUnnar
More information about the Qt-jambi-interest
mailing list