Search This Blog

Monday, February 21, 2011

Fedora 14 and Eclipse Helio

I'm a noob when it comes to Linux operating systems and my memory span is only slightly longer than a fish's, so  I need to save things I discovered myself and found over the internet.
  • Instructions about installing Eclipse on Fedora.
    1. Download Eclipse from here
    2. From terminal, log in as root
    3. Unzip the  package to /work directory.
      tar - xvzf eclipse-version.blablabla.tar.gz -C /work
    4. Change permission on folder /eclipse
      chmod -R +r /work/eclipse
    5. Create executable file and save it to /usr/bin
      touch /usr/bin/eclipse
      chmod 755 /usr/bin/eclipse
      # create this file using vi
      vi /usr/bin/eclips
      # write the env variable to the file
      ECLIPSE_HOME=/work/eclipse
      export ECLIPSE_HOME
      $ECLIPSE_HOME/eclipse $*
    6. Create destop launcher for easy access
      vi /usr/share/applications/eclipse.desktop
      #add these lines to the file
      [Desktop Entry]
      Encoding=UTF-8
      Name=Eclipse
      Comment=Eclipse Helio
      Exec=eclipse
      Icon=/work/eclipse/icon.xpm
      Terminal=false
      Type=Application
      Categories=GNOME;Application;Development;
      StartupNotify=true
    7. RUN Eclipse!!! YAY!!!!
    8. Now, if there is an error message about /lib/i386/client/libjvm.so: try this:
      chon -t execmem_exec_t '/work/eclipse/eclipse'

No comments:

Post a Comment