3

Ubuntu 11.04 ラップトップで Eclipse EE Indigo を使用しています。Sun JDK を使用しています。help/install new software を使用して aptana プラグインをインストールし、貼り付けて aptana をインストールした場合

http://download.aptana.com/studio3/plugin/install

「work with」フィールドに入力すると、問題なくインストールされ、Eclipseを再起動するように求められました。これで、Eclipse をまったく起動できなくなりました。aptana プラグインを開始しようとすると、開くがクラッシュするようです。

私の Eclipse はすでに非常にカスタマイズされており、作業できるようにする必要があるため、これは私にとって大きな問題です。この問題を解決する方法に関する情報をウェブ上で見つけることができませんでした。どんな助けでも大歓迎です。

Eclipse がクラッシュする直前に、Aptana プラグインからの次のメッセージがコンソールに出力されることに気付きました: aptana javascript scripting console started

4

1 に答える 1

2

I found an emergency fix that allowed me to start using Eclipse again. It is very blunt and NOT the way you'd expect to deal with problems like this, alas, it seems at least my Eclipse is up and running again.

Because Eclipse crashed very shortly after having started up, it was impossible to uninstall the plugin that crashed it. What I did was the following:

  • Make sure Eclipse is not running.
  • Make a backup copy of the Eclipse folder.
  • Navigate to the folder in the terminal

  • Execute this command in terminal:

    find . -name *aptana* -exec rm -rf {} \;
    

Note that this works for me because I am the owner and have the necessary permissions to perform this operation in my Eclipse folder. If you are not the owner of the Eclipse folder, or if you lack some permissions, chances are you may have to insert sudo before the rest of the command in order for it to work.

This command will search the current folder and all subfolders for any files and folders that has the string aptana in their names, and delete all of them.

  • Execute

    find . -name *aptana*
    

in terminal to confirm that there is nothing left. There should be no results when running this command. If you get some results, then all aptana files and folders have still not been deleted.

  • Should the previous command leave no results, start Eclipse.

  • Go to Help/Install new software and then click What is already installed?

  • Select the Aptana plugin and press uninstall.

  • Restart Eclipse when prompted to do so.

Eclipse should now work just like before you installed Aptana. At least my Eclipse seems to do so.

于 2012-05-03T08:29:42.617 に答える