TTool Installation: Windows, UNIX

Windows installation

  • Before installing TTool, make sure that a Java Runtime Environment 6 (or later) is installed on your system.
    To do so, open a terminal ("Start", "Execute", type "cmd": a terminal should open). Then, type "java -version". If you obtain an error message, then, you first need to install a Java Runtime Environment). If the version number is less than 6, you need to upgrade your existing installation of the Java Runtime Environment.

  • Then, you need to download TTool

  • Extract the archive in the destination directory of your choice, e.g., in C:\
  • This should create a C:\TTool directory

  • With the file explorer, go into, e.g., C:\TTool\bin, and double-click on ttool.jar

UNIX installation (including MacOS)

  • Before installing TTool, make sure that a Java Runtime Environment 6 (or later) is installed on your system, and that "java" is in your PATH.
    To do so, open a terminal, and type:
    $ java -version
    
    If you obtain an error message (e.g., "command not found"), install a Java Runtime environment and add in your $PATH environment variable the java command. If you obtain a version number less than 5, install a more recent version of the Java Runtime Environment.

  • Then, you need to download TTool

  • Extract the archive in the destination directory of your choice, e.g., in mydir\
  • $ cd mydir
    $ gunzip releaseTTool_0_92.tgz
    $ tar -xof releaseTTool_0_92.tar
    
    By default, TTool uncompresses in a TTool subdirectory.

  • You can then start TTool as follows:
  • $ cd TTool/bin; java -jar ttool.jar
    
    A script called ttool_unix located in the same directory as ttool.jar can also start ttool. It assumes that TTool is installed in /package/TTool: it must therefore be adapted to your own installation if you wish to use it.

Installation from the gitlab


The gitlab of TTool is public. You can clone the code as follows:
$ git clone git@gitlab.enst.fr/mbe-tools/TTool.git

Then, to compile the code, do as follows, assuming that a javac compiler is in your path, and javac version is at least version 7.
$ make all

Finally, to start TTool, do as follows:
$ ./ttool.exe