unzip/unjar the native JAR with the *.dylib files in it.

Setup DYLD_LIBRARY_PATH to point to the elocation of the "lib" subdir.


Now restart your Java VM / application from this environment.


HTH

Darryl


Vladimir Sapronov wrote:
> I'm trying to run my application on Mac OS X. The application runs
> successfully on Windows and Linux. However on Mac OS X I'm getting the
> following error. Does anybody know possible reasons of that problem.
>
> 2012-06-16 00:01:45,678 570  [main] ERROR org.syncloud.desktop.Main  -
> Error in main
> java.lang.ExceptionInInitializerError
>          at com.trolltech.qt.QtJambiObject.<clinit>(Unknown Source)
>          at org.syncloud.desktop.Main.main(Main.java:18)
> Caused by: java.lang.RuntimeException: Loading library failed, progress
> so far:
> No 'qtjambi-deployment.xml' found in classpath, loading libraries via
> 'java.library.path'
> Loading library: 'libQtCore.4.dylib'...
>   - using 'java.library.path'
>
>          at
> com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(Unknown
> Source)
>          at
> com.trolltech.qt.internal.NativeLibraryManager.loadQtLibrary(Unknown Source)
>          at com.trolltech.qt.Utilities.loadQtLibrary(Unknown Source)
>          at com.trolltech.qt.Utilities.loadQtLibrary(Unknown Source)
>          at com.trolltech.qt.QtJambi_LibraryInitializer.<clinit>(Unknown
> Source)
>          ... 2 more
> Caused by: java.lang.RuntimeException: Library 'libQtCore.4.dylib' was
> not found in 'java.library.path'=.:/Library/Java/Extensions:/System/Li$
>          at
> com.trolltech.qt.internal.NativeLibraryManager.loadLibrary_helper(Unknown 
> Source)
>          ... 7 more

_______________________________________________
Qt-jambi-interest mailing list
Qt-jambi-interest@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-jambi-interest

Reply via email to