Support #941
Install Eclipse Kepler on Arch Linux
Status:
Closed
Priority:
Normal
Assignee:
Category:
Development Environment
Target version:
Description
I had a project that called for developing around Java SE 6, and I needed to set up a development environment from the past. This is a guide on installing JDK6 and Eclipse Kepler on Arch Linux.
Prepare the Environment¶
- Make sure the system is up to date:
sudo pacman -Syu
- Install JRE6 and JDK6:
yaourt -S jre6 jdk6
Install Eclipse¶
- Download Eclipse Kepler from http://www.eclipse.org/downloads/
- Extract Eclipse to
/opt
:sudo tar xzf eclipse-java-kepler-SR2-linux-gtk-x86_64.tar.gz -C /opt
- Create a desktop file:
sudo nano /usr/share/applications/eclipse.desktop
- ANd add the following:
[Desktop Entry] Name=Eclipse Type=Application Exec=eclipse Terminal=false Icon=eclipse Comment=Integrated Development Environment NoDisplay=false Categories=Development;IDE; Name[en]=Eclipse
- ANd add the following:
- Give the desktop file permission to be executed, run:
sudo chmod +x /usr/share/applications/eclipse.desktop
- Update the menu desktop files:
sudo desktop-file-install /usr/share/applications/eclipse.desktop
- Create a symlink for the executable:
cd /usr/local/bin sudo ln -s /opt/eclipse/eclipse
- Add the eclipse icon:
sudo cp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm
Install Maven¶
The last maven release to support Java SE 6 was 3.2.5.
- Download maven 3.2.5:
wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.tar.gz
- Extract maven to /opt:
tar xzf apache-maven-3.2.5-bin.tar.gz -C /opt
- Edit the
.bashrc
file:nano ~/.bashrc
- And add the following:
export PATH=/opt/apache-maven-3.2.5/bin/:$PATH
- And add the following:
- Apply the changes to
.bashrc
"source ~/.bashrc
- Check that maven was installed correctly:
mvn -version
Resources¶
Updated by Daniel Curtis over 6 years ago
- Description updated (diff)
- Status changed from New to In Progress
Updated by Daniel Curtis over 6 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100