[Qt-jambi-interest] Newbie: Trying out qtjambi.sh in Mac OS X
Gunnar Sletta
gunnar at trolltech.com
Fri Feb 20 08:00:51 CET 2009
Joshua Choi wrote:
> I'm trying out Qt Jambi, which looks really interesting for creating
> graphical applications in Clojure (a JVM-hosted language) as an
> alternative to Swing. I don't know much about Java itself, however, so
> I got stuck when I tried to run qtjambi.sh.
>
> I am running Mac OS X v10.5.6 on a 32-bit Intel Macbook. I am using
> Java 6 with Soylatte 1.6 v1.03
> (http://landonf.bikemonkey.org/static/soylatte/), a port of BSD Java.
> I downloaded Qt Jambi Mac GPL 4.4.3_01. (Incidentally, designer.sh
> works perfectly well.)
>
> Here's the error dump:
>
> cheese$ /Users/joshuachoi/Dowloads/qtjambi-mac-gpl-4.4.3_01/qtjambi.sh
> Warning: The Mac OS -XstartOnFirstThread: is currently unsupported
> Exception in thread "main" java.lang.ExceptionInInitializerError
> at com.trolltech.qt.QtJambiObject.<clinit>(QtJambiObject.java:57)
> Caused by: java.lang.RuntimeException: Loading library failed, progress so far:
> Unpacking .jar file: 'qtjambi-macosx-gcc-4.4.3_01.jar'
> Checking Archive 'qtjambi-macosx-gcc-4.4.3_01.jar'
> - skipping because of wrong system: trying to load: 'macosx',
Looks like your virtual machine reports a different "system.os" than the
native java. We only test and support Qt Jambi on the official Apple
JVMs. If other virtual machines work, then that is an added bonus, we
don't put an active effort into supporting them.
The reason designer worked, is because it failed to load the JVM and
jambi libraries, in which case it runs in C++ mode. You can verify this
in the "About Plugins" menu option where the jambi related plugins will
have failed to load.
best regards,
Gunnar
More information about the Qt-jambi-interest
mailing list