Trolltech Home | Qt-jambi-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-jambi-interest Archive, November 2007
Eclipse integration problem (Linux)


Message 1 in thread

Hello,

recently I've installed the Qt Jambi (4.3.1-0ubuntu1) and its Eclipse 
integration package (Eclipse 3.3.1) and now I getting the "The Qt Jambi 
Eclipse Integration has failed to load its plugins.".

What I done till this moment:
1. I've configured this plugin using instruction on 
http://doc.trolltech.com/qtjambi-4.3.2_01/com/trolltech/qt/qtjambi-eclipse.html#installation
2. I've read this post: 
http://lists.trolltech.com/qt-jambi-interest/2007-06/msg00045.html
3. I can run an application by hand, i.e:
LD_LIBRARY_PATH=/usr/lib/jni java -cp /usr/share/java/qtjambi.jar:. MainWindow 

Any thoughts?

Scibor


Message 2 in thread

Hi

I have not been able to test this yet, but I think the problem is how Ubuntu 
has split the package up. When we load the plugins we make a assumption that 
the lib/bin folder are located the same place as the qtjambi.jar file. Ubuntu 
has split this up and placed the qtjambi.jar file in /usr/share/java/ and the 
lib files in  /usr/lib/jni/.

Maybe you could try some of these suggestions:
- make a symlink from /usr/share/java/lib -> /us/lib/jni
- (same effect as the one above) copy the lib files into a lib folder in the 
same place as the qtjambi jar file
- download the QtJambi binary package from Trolltech, and point to that 
instaed.

Hope this helps, and thanks for reporting the problem. We will have to look 
into this. :-)

Best regards
	HÃvard F

On Monday 19 November 2007 23:15, ÅcibÃr Sobieski wrote:
> Hello,
>
> recently I've installed the Qt Jambi (4.3.1-0ubuntu1) and its Eclipse
> integration package (Eclipse 3.3.1) and now I getting the "The Qt Jambi
> Eclipse Integration has failed to load its plugins.".
>
> What I done till this moment:
> 1. I've configured this plugin using instruction on
> http://doc.trolltech.com/qtjambi-4.3.2_01/com/trolltech/qt/qtjambi-eclipse.
>html#installation 2. I've read this post:
> http://lists.trolltech.com/qt-jambi-interest/2007-06/msg00045.html
> 3. I can run an application by hand, i.e:
> LD_LIBRARY_PATH=/usr/lib/jni java -cp /usr/share/java/qtjambi.jar:.
> MainWindow
>
> Any thoughts?
>
> Scibor


Message 3 in thread

Tuesday 20 of November 2007 10:06:27 HÃvard FrÃiland napisaÅ(a):
> Hi
>
Hi,

> I have not been able to test this yet, but I think the problem is how
> Ubuntu has split the package up. When we load the plugins we make a
> assumption that the lib/bin folder are located the same place as the
> qtjambi.jar file. Ubuntu has split this up and placed the qtjambi.jar file
> in /usr/share/java/ and the lib files in  /usr/lib/jni/.
>
> Maybe you could try some of these suggestions:
> - make a symlink from /usr/share/java/lib -> /us/lib/jni
I try this (and I forgot to write about this in prev mail) , not working.
> - (same effect as the one above) copy the lib files into a lib folder in
> the same place as the qtjambi jar file
The same.
> - download the QtJambi binary package from Trolltech, and point to that
> instaed.
Ok, I try, and I report.
>
> Hope this helps, and thanks for reporting the problem. We will have to look
> into this. :-)
>
> Best regards
> 	HÃvard F
>
BR
Scibor


Message 4 in thread

On Monday 19 November 2007 23:15:36 ÅcibÃr Sobieski wrote:
> Hello,
>
> recently I've installed the Qt Jambi (4.3.1-0ubuntu1) and its Eclipse
> integration package (Eclipse 3.3.1) and now I getting the "The Qt Jambi
> Eclipse Integration has failed to load its plugins.".
>
> What I done till this moment:
> 1. I've configured this plugin using instruction on
> http://doc.trolltech.com/qtjambi-4.3.2_01/com/trolltech/qt/qtjambi-eclipse.
>html#installation 2. I've read this post:
> http://lists.trolltech.com/qt-jambi-interest/2007-06/msg00045.html
> 3. I can run an application by hand, i.e:
> LD_LIBRARY_PATH=/usr/lib/jni java -cp /usr/share/java/qtjambi.jar:.
> MainWindow
>
> Any thoughts?
>
> Scibor

I have it working in kubuntu gutsy,

this is what I did, I downloaded latest version of eclipse (I think ubuntu 
doesn't have 3.3.1 yet, so maybe you can download that manually)
I downloaded the QtJambi packages and the eclipse integration from trolltech 
and pointed to those (following trolltech instructions).

I use java-6-sun.
you can do
 sudo update-alternatives --config java     
to set it correct (I you haven't installed java-6 yet, you should install it 
first)

I don't know if all this steps are necessary but this is how it works for me.

Thomas