--- Begin Message ---
El Saturday 06 September 2008 07:10:05 Derek Fountain escribió:
> I'm trying to get QtJambi running from Eclipse under Windows. I've
> installed the Ganymede JEE package and the QTJambi Win 32 package, and
> added the Eclipse integration package. Things seem to work correctly in
> Eclipse: I can create a QtJambi project and create a dialog using
> designer integrated into Eclipse. The juic compiler tool runs to create
> a java file containing my design, and the project builds without error.
>
> When I run it, however, I get a dialog pop up saying "Could not find the
> main class. Program will exit." The Eclipse console contains the text
> I've pasted below. The file qtjambi-win32-msvc2005-4.4.0_01.jar it
> appears to be trying to read exists in that location and is readable. I
> can unpack it in WinRar and it looks fine to me.
>
> I've got things working from Linux, so I think I've got the installation
> procedure right, and the Eclipse integration works fine from Windows.
> I've tried backing out my 1.6 JDK to 1.5, deleting workspaces, and
> reinstalling everything. I've tried 2 different versions of the Eclipse
> package (JEE and the more basic Java one). I've even set up a virtual
> machine and done a fresh install of everything in there to ensure I'm
> not getting contamination. Same error.
>
> Has anyone got any idea what I've done wrong? The error in the Eclipse
> console is:
>
> java.lang.ExceptionInInitializerError
> at com.trolltech.qt.QtJambiObject.<clinit>(QtJambiObject.java:40)
> Caused by: java.lang.RuntimeException: Loading library failed, progress
> so far:
> Unpacking .jar file:
> 'file:/C:/Documents%20and%20Settings/derek/My%20Documents/Tools/qtjambi-win
>32-gpl-4.4.0_01/qtjambi-win32-msvc2005-4.4.0_01.jar'
Hi Derek.
You installed qt jambi in a location with spaces. Try to install qt jambi in
c:\qtjambi.
>
> at
> com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibr
>aryManager.java:420) at
> com.trolltech.qt.internal.NativeLibraryManager.loadQtLibrary(NativeLibraryM
>anager.java:352) at
> com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:120)
> at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:116)
> at
> com.trolltech.qt.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitial
>izer.java:36) ... 1 more
> Caused by: java.lang.RuntimeException: Failed to unpack native
> libraries, progress so far:
> Unpacking .jar file:
> 'file:/C:/Documents%20and%20Settings/derek/My%20Documents/Tools/qtjambi-win
>32-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(NativeLib
>raryManager.java:426) at
> com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibr
>aryManager.java:415) ... 5 more
> Caused by: java.lang.NullPointerException
> at
> com.trolltech.qt.internal.NativeLibraryManager.readDeploySpec(NativeLibrary
>Manager.java:483) at
> com.trolltech.qt.internal.NativeLibraryManager.unpackJarFile_helper(NativeL
>ibraryManager.java:570) at
> com.trolltech.qt.internal.NativeLibraryManager.unpackJarFile(NativeLibraryM
>anager.java:249) at
> com.trolltech.qt.internal.NativeLibraryManager.unpack_helper(NativeLibraryM
>anager.java:382) at
> com.trolltech.qt.internal.NativeLibraryManager.unpack(NativeLibraryManager.
>java:360) ... 7 more
> Exception in thread "main"
> _______________________________________________
> Qt-jambi-interest mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
--- End Message ---
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest