6/11/2008

How to install and setup Eclipse with Sun’s Java and PyDev

Platform: Ubuntu 8.04

1. Install Sun's java in Ubuntu
apt-get install sun-java6-jdk

2. Make Sun's java as default
sudo update-java-alternatives -s java-6-sun

3. Download Eclipse classic 3.3.2 from http://www.eclipse.org/downloads/

4. Install Eclipse in my home dir
cd ~
tar zxvf eclipse-SDK-3.3.2-linux-gtk.tar.gz

5. Installing Pydev with the update site
Help->Software Updates->Find and Install
Select "Search for new features for install"
Click "new remote site"
Set the 'Pydev Extensions' update site: http://www.fabioz.com/pydev/updates
Click "Finish"
Select both features and click "next"
Accept the license, click "next" and in the next screen, review it and click "finish"

6. Checking the installation

help->about->plug in details and checking if there are at least 5 plugins with the 'plug-in Id' starting with 'com.python.pydev' and at least other 5 starting with 'org.python.pydev' (and check if they have the version you got).

沒有留言: