Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to develop swing applications using the visual editor in Eclipse, but it need Eclipse 3.6. But it is already up-to-date using synaptic package manager. Is there a separate PPA for the version 3.6?

share|improve this question
up vote 11 down vote accepted

There is an German article that describes how to package your own Eclipse. I just summarize it.

  1. Install build tools:

    sudo apt-get install fakeroot dpkg-dev debhelper unp

  2. Prepare directory:

    mkdir eclipse-platform
  3. Download eclipse and unpack it:

    unp eclipse-platform-3.6.2-linux-gtk-x86_64.tar.gz
    mkdir -p eclipse-platform/usr/lib
    mv eclipse eclipse-platform/usr/lib/eclipse
  4. Now some commands for the scripting:

    mkdir -p eclipse-platform/usr/bin
    nano eclipse-platform/usr/bin/eclipse
  5. Paste this content:

    exec /usr/lib/eclipse/eclipse "$@"
  6. Make it executable:

    chmod +x eclipse-platform/usr/bin/eclipse
  7. Now the Desktop entry:

    mkdir -p eclipse-platform/usr/share/applications
    nano eclipse-platform/usr/share/applications/eclipse.desktop

    with following content

    [Desktop Entry]
    Comment=Eclipse Integrated Development Environment
  8. A control File

    mkdir eclipse-platform/DEBIAN
    nano eclipse-platform/DEBIAN/control

    with the content

    Package: eclipse-platform
    Version: 3.6.2-1
    Architecture: amd64
    Maintainer: YourName
    Depends: openjdk-6-jre | sun-java6-jre
    Section: devel
    Priority: optional
    Description: Eclipse IDE, static-linked, minimal plugins.
  9. Now you can build a package and install it into your system

     fakeroot dpkg -b eclipse-platform eclipse-platform_3.6.2-1_amd64.deb
     sudo dpkg -i eclipse-platform_3.6.2-1_amd64.deb
  10. Done! With this you can install your own eclipse the debian way.

share|improve this answer

You need to download Eclipse 3.6 from the official site, there is no PPA available.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.