Project

General

Profile

Support #941

Install Eclipse Kepler on Arch Linux

Added by Daniel Curtis about 1 year ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Development Environment
Target version:
Start date:
08/19/2018
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:

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

  • 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
      
  • 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
      
  • Apply the changes to .bashrc"
    source ~/.bashrc
    
  • Check that maven was installed correctly:
    mvn -version
    

Resources

History

#1 Updated by Daniel Curtis about 1 year ago

  • Status changed from New to In Progress
  • Description updated (diff)

#2 Updated by Daniel Curtis about 1 year ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Resolved

#3 Updated by Daniel Curtis 4 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF