[Qt-jambi-interest] Difficulty getting started with jambi

Eskil Abrahamsen Blomfeldt eblomfel at trolltech.com
Wed Jul 2 10:15:15 CEST 2008


Jeff Copeland wrote:
> Unpacking .jar file:
> 'file:/C:/Program%20Files/Java/External_Packages/qtjambi-win32-gpl-4.4.0_01/qtjambi-win32-msvc2005-4.4.0_01.jar'
>
> 	at com.trolltech.qt.internal.NativeLibraryManager.unpack(NativeLibraryManager.java:365)
> 	at com.trolltech.qt.internal.NativeLibraryManager.loadLibrary_helper(NativeLibraryManager.java:426)
> 	at com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:415)
> 	... 6 more
> Caused by: java.lang.NullPointerException
> 	at com.trolltech.qt.internal.NativeLibraryManager.readDeploySpec(NativeLibraryManager.java:483)
> 	at com.trolltech.qt.internal.NativeLibraryManager.unpackJarFile_helper(NativeLibraryManager.java:570)
> 	at com.trolltech.qt.internal.NativeLibraryManager.unpackJarFile(NativeLibraryManager.java:249)
> 	at com.trolltech.qt.internal.NativeLibraryManager.unpack_helper(NativeLibraryManager.java:382)
> 	at com.trolltech.qt.internal.NativeLibraryManager.unpack(NativeLibraryManager.java:360)
> 	... 8 more
>   

Hi, Jeff.

It seems there are some issues with placing the OS specific .jar file in 
a path that contains spaces in the current version. As a temporary work 
around, could you try specifying the alternate DOS-name for the 
directory in question to see if that solves the problem?

That is, instead of "c:\program 
files\...\qtjambi-win32-msvc2005-4.4.0_01.jar" try setting the class 
path to include

    c:\progra~1\...\qtjambi-win32-msvc2005-4.4.0_01.jar

Does that help? If it does not, it should help to install Qt Jambi in a 
path that does not contain spaces for the time being. This problem has 
been scheduled to be fixed for the next patch release of Qt Jambi:

    
http://trolltech.com/developer/task-tracker/index_html?id=217929&method=entry

-- Eskil



More information about the Qt-jambi-interest mailing list