I've just install the libqtjambi 4.7.2 by PPA in Ubuntu Natty 11.04. When I turned into integration with Eclipse it asked me to give the jambi installation path. But with apt-get I have only /usr/share/java
but it doesn't work.
Any help?
EDIT:
darkjh@jh:~$ sudo apt-cache show libqtjambi | grep Version: Version: 4.7.2~c4f257开发者_高级运维3~3017~2920~natty1
Please provide the output of:
apt-cache show libqtjambi | grep Version:
This is a known problem, since open-jdk is including the required patches by default while sun-jdk isn't.
If you are using open-jdk the only thing you have to do is to include the qtjambi-4.7.2.jar in your buildpath from /usr/share/java.
However if you are using sun-jdk you also have to change the native jar location to /usr/lib:/usr/lib/jni.
If you aren't familiar with Eclipse, both operations (including the qtjambi-4.7.2.jar and changing the Native Library location) are shown on the following screencast: http://www.youtube.com/watch?v=RauQba4Qgh4
精彩评论