There are different ways to get Gitools running:
Java Web Start is a technology that allows running Java applications directly from the web. This method is very convenient to evaluate the tool, but when used for daily work and to use big amounts of data is better to install it manually.
In the main page of Gitools there is an orange button that says Launch. Simply click on it and the application will be downloaded and executed automatically.
It is very easy to use but sometimes the internet navigator doesn't know how to communicate with Java and launch the application. You can use the following terminal command to launch it:
You can download the last version of Gitools from http://www.gitools.org/download.php
You will get a zip file that can be installed and executed in any of the Windows, Linux and Mac OS X operating systems.
The first thing to do is to uncompress the zip file into some folder. Use your preferred application for this, usually doing click or double click over it will start the application that will allow you to uncompress it.
Once uncompressed you will get a folder like gitools-1.5.0-bin (the version number could be different depending on which version you downloaded).
That's all, you have already installed Gitools in your computer if you only want to work with the graphical interface.
To run Gitools graphical interface go inside its folder and you will see that there is another folder called bin, open it and you will see some files inside, depending on your operating system you will have to click or double click one of the following files:
If you want to be able to execute Gitools commands from the terminal you will need to configure the way your operating system finds commands from the terminal (usually it is an enviroment variable called PATH). Read the detailed installation instructions for your operating system below:
Imagine that you have uncompressed the zip file into /opt/gitools-1.5.0-bin, then you can define the PATH variable in the ~/.bashrc file adding a line like this:
Start a new terminal and you should be able to run Gitools graphical interface typing:
Imagine that you have uncompressed the zip file into /opt/gitools-1.5.0-bin, then you can define the PATH variable in the ~/.profile file adding a line like this:
Start a new terminal and you should be able to run Gitools graphical interface typing:
Gitools is a Java application, and by default it starts with the default memory requirements stablished by most of the Java applications (usually 256 Megabytes). But most probably you will need more than the default, you will realize this when you obtain an exception like this:
java.lang.OutOfMemoryException
There is a way to configure the memory limits for Gitools the same way that Java does, using the option -Xmx. But this configuration should be specified through an enviroment variable called GITOOLS_JAVA_OPTS. Let's see some examples of how to do this with different operating systems:
Right-click the My Computer icon on
your desktop and select Properties.
Click the Advanced tab. Click the
Environment Variables button. Under System Variables, click New.
Enter the variable name as GITOOLS_JAVA_OPTS.
Enter the variable value as follows for 2 GB: -Xmx2g.
Click OK.
Click Apply Changes.
Imagine that you want to use 1024 megabytes of memory for Gitools, then edit the ~/.bashrc file adding a line like this:
You can also specify 2 gigabytes like this:
Imagine that you want to use 1024 megabytes of memory for Gitools, then edit the ~/.profile file adding a line like this:
You can also specify 2 gigabytes like this:
Go here to know how to download the source code and compile it.