Objective
The objective is to latest Eclipse Java IDE on Debian 9 Stretch
Operating System and Software Versions
- Operating System: – Debian 9 Stretch Linux
- Software: – Eclipse Java IDE Neon.1a Release (4.6.1)
Requirements
Privileged access to to your Debian system may be required to perform the Eclipse installation globally.
Difficulty
EASY
Conventions
- # – requires given linux commands to be executed with root privileges either directly as a root user or by use of
sudo
command - $ – requires given linux commands to be executed as a regular non-privileged user
Instructions
Prerequisites
First, we need to install all prerequisites. Execute the following linux command to install Java and wget:
# apt install default-jdk default-jre wget
Get Eclipse
At this stage we need to download Eclipse IDE source code. The easiest is to use wget
:
$ wget -O eclipse.tar.gz 'https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/neon/1a/eclipse-java-neon-1a-linux-gtk-x86_64.tar.gz&r=1'
Extract Eclipse IDE
Once the Eclipse IDE tarball file is downloaded we need to extract its content:
# tar xzf eclipse.tar.gz -C /opt/
If you do not have administrative privileges, hence unable to extract Eclipse file into /opt/
directory, feel free to extract the file into your home directory. Example:
$ tar xzf eclipse.tar.gz -C ~/
Start Eclipse IDE
To start Eclipse IDE run:
$ /opt/eclipse/eclipse
Alternatively, if you extracted eclipse into your home directory you should be able to start it with:
$ ~/eclipse/eclipse
