Qt jambi Eclipse集成问题
我刚刚在 Ubuntu Natty 11.04 中通过 PPA 安装了 libqtjambi 4.7.2。当我与 Eclipse 集成时,它要求我提供 jambi 安装路径。但是使用 apt-get 我只有 /usr/share/java
但它不起作用。
有什么帮助吗?
编辑:
darkjh@jh:~$ sudo apt-cache show libqtjambi | grep 版本: 版本:4.7.2~c4f2573~3017~2920~natty1
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~c4f2573~3017~2920~natty1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请提供以下输出:
这是一个已知问题,因为 open-jdk 默认包含所需的补丁,而 sun-jdk 则不包含。
如果您使用 open-jdk,您唯一需要做的就是将 qtjambi-4.7.2.jar 包含在 /usr/share/java 的构建路径中。
但是,如果您使用 sun-jdk,则还必须将本机 jar 位置更改为 /usr/lib:/usr/lib/jni。
如果您不熟悉 Eclipse,这两个操作(包括 qtjambi-4.7.2.jar 和更改本机库位置)均显示在以下截屏视频中:
http://www.youtube.com/watch?v=RauQba4Qgh4
Please provide the output of:
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