Eclipse Development Environment
Installation
Extracted from http://flurdy.com/docs/eclipse/install.html
Extract the eclipse download and move to opt.
tar xzf wtp-all-in-one-sdk-1.0-linux-gtk.tar.gz
sudo mv eclipse /opt/eclipse
cd /opt
sudo chown -R root:root eclipse
sudo chmod -R +r eclipse
sudo chmod +x `sudo find eclipse -type d`
Then create an eclipse executable in your path
sudo touch /usr/bin/eclipse
sudo chmod 755 /usr/bin/eclipse
sudoedit /usr/bin/eclipse
With this contents
#!/bin/sh
#export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
export ECLIPSE_HOME="/opt/eclipse"
$ECLIPSE_HOME/eclipse $*
Then I created a menu item in the menu editor.
Troubleshooting
I had big troubles in getting subversive to work properly in linux, and the error message I got was “Unable to load default SVN client.” The reason was that it was missing the javahl library.
To get it to work in linux I first installed it:
sudo apt-get install libsvn-javahl
Then I had to set the path every time I started eclipse (setting the same option in eclipse.ini didn’t work):
eclipse -vmargs -Djava.library.path=/usr/lib/jni
