gpt4 book ai didi

Aptana Studio 3 作为插件无法启动

转载 作者:行者123 更新时间:2023-12-02 08:48:42 24 4
gpt4 key购买 nike

我已经在 Ubuntu 12.04 上通过 PPA 安装了 Eclipse 3.7.2,随后我点击了添加新软件和指向 64Bit Aptana studio 3 的链接。

它找到了插件并正确安装了它。

现在,当我启动 Eclipse 时,出现此错误:

An internal error has occurred.
No more handlesNative code library failed to load. (java.lang.UnsatisfiedLinkError: /home/xxx/.eclipse/org.eclipse.platform_3.7.0_155965261/plugins/com.aptana.swt.webkitbrowser.linux.x86_64_1.0.0.1295409059/os/linux/x86_64/libcefjni.so: libjpeg.so.62: cannot open shared object file: No such file or directory)

更新:

我想知道会不会是因为我使用的是 Oracle 的 jdk 7 而不是 Sun jdk 6?这是Eclipse的日志文件

!SESSION 2012-04-30 07:48:06.985 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.7.0_04
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2012-04-30 07:48:07.951
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-gtk-3740 in java.library.path
no swt-gtk in java.library.path
Can't load library: /home/xxx/.swt/lib/linux/x86_64/libswt-gtk-3740.so
Can't load library: /home/xxx/.swt/lib/linux/x86_64/libswt-gtk.so

at org.eclipse.swt.internal.Library.loadLibrary(Library.java:285)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
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:132)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:695)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)

最佳答案

我找到了解决方案:

libjpeg62 是必需的,否则会出现 java.lang.UnsatisfiedLinkError。

如果使用 OpenJDK,试试这个:

sudo apt-get install openjdk-7-jdk libjpeg62 libwebkitgtk-1.0-0 git-core

如果使用 Oracle (sun) Java,试试这个:

sudo apt-get install libjpeg62 libwebkitgtk-1.0-0 git-core
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

source

关于Aptana Studio 3 作为插件无法启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10379490/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com