giovedì, ottobre 11, 2012

mercurial and mercurialEclipse plugin in ubuntu

Install the latest version of mercurial

  • $ sudo add-apt-repository ppa:mercurial-ppa/releases
  • sudo apt-get update
  • $ sudo apt-get install mercurial
  • check version of mercurial: $ hg --version

Mercurial eclipse plugin

  • Help/Eclipse marketplace
  • Find: Mercurial
  • Install MercurialEclipse (requires at least mercurial 2.0)

mercoledì, ottobre 10, 2012

Creating a shortcut to eclipse on the ubuntu desktop

Proceed in this way:
  • right click on desktop: Create Launcher
  • set the proper icon eclipse_home/icon.xpm
  • Set the command: eclipse_home/eclipse
Issue: "A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations "
  • $ cd eclipse_home
  • $ mkdir jre
  • $ cd jre
  • $ ln -s /opt/jdk1.6.0_35/jre/bin/ bin