安装Aptana后(安装目录:/usr/share/aptana)
我不断收到这样的错误:
An SWT Error has occurred, you are recommended to exit the workbench. Subsequent errors may happen and terminate the workbench without warning. See the .log file for more details.
查看日志我看到这个:
!MESSAGE No more handles (java.lang.UnsatisfiedLinkError: /root/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/72/1/.cp/libswt-mozilla-gtk-3236.so: libxpcom.so: cannot open shared object file: No such file or directory)
!STACK 0 org.eclipse.swt.SWTError: No more handles
(java.lang.UnsatisfiedLinkError: /root/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/72/1/.cp/libswt-mozilla-gtk-3236.so: libxpcom.so: cannot open shared object file: No such file or directory)
在论坛和其他网站搜索大约一个小时后,人们建议我安装这些软件包。
* yum install gtk2-devel
* yum install xulrunner
* yum install libstdc*
* yum install gtk2*
* yum install libswt3-gtk2*
* yum install compat-libstdc++-33
我已经安装了一些,我不知道它们是否真的需要,但它们就在那里。
毕竟还是不行
最佳答案
Ubuntu 12.04 似乎没有开箱即用的 libgtkembedmoz.so 文件。
您可以安装 kompozer 并使用它。
sudo apt-get install kompozer
export MOZILLA_FIVE_HOME=/usr/lib/kompozer
关于linux - Linux (CentsOS 5) 的 Aptana 安装问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/853339/