|
本来我安装jre的时候,想安装ubuntu.org.cn的faq去装的
可是我apt-get 不到sun-j2re1.5 ,我的source是直接copy
ubuntu.org.cn的 faq中的cn99的 ,而且也update了
很奇怪
下载jdk-1_5_0_06-linux-amd64.bin
root@ubuntu:~# ./jdk-1_5_0_06-linux-amd64.bin
root@ubuntu:~# mv jdk1.5.0_06/ /usr/lib/jre1506
在~/。bashrc中加入
JAVA_HOME=/usr/lib/jre1506
JAVA_BIN=/usr/lib/jre1506/bin
export JAVA_HOME JAVA_BIN
然后
按照faq安装lumaqq
重启
应用程序 -> Internet -> LumaQQ
可是硬盘了20秒后,既没有成功,也没有错误提示
而且在没有安装luma的时候和设置java环境时候
java --version 是有正确显示的 ,
不过安装了luma和设置了环境后
root@ubuntu:~# java --version
Unrecognized option: --version
Could not create the Java virtual machine.
请大家指教一下,谢谢!
然后
root@ubuntu:/opt/LumaQQ# pwd
/opt/LumaQQ
root@ubuntu:/opt/LumaQQ# ./lumaqq
root@ubuntu:/opt/LumaQQ# Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/LumaQQ/swt/libswt-pi-gtk-3138.so: /opt/LumaQQ/swt/libswt-pi-gtk-3138.so: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:122)
at edu.tsinghua.lumaqq.LumaQQ.main(LumaQQ.java:121)
/opt/LumaQQ/swt/libswt-pi-gtk-3138.so: cannot open shared object file: No such file or directory
但是
root@ubuntu:/opt/LumaQQ/swt# pwd
/opt/LumaQQ/swt
root@ubuntu:/opt/LumaQQ/swt# ls
libcairo.so.1 libswt-awt-gtk-3138.so libswt-gtk-3138.so
libkeybinder.so libswt-cairo-gtk-3138.so libswt-mozilla-gtk-3138.so
libswt-atk-gtk-3138.so libswt-gnome-gtk-3138.so libswt-pi-gtk-3138.so
root@ubuntu:/opt/LumaQQ/swt#
libswt-pi-gtk-3138.so是在的哦 |
|