Contents

Environment Installation

The following instructions focus on working with MT4j using the Eclipse Java™ IDE. The MT4j releases already contain an eclipse project which contains all necessary configurations (e.g. required libraries included in classpath). You can also use other IDEs, which can cause additional configuration effort.

Step 1: Install Java™ Development Kit (JDK)

Download and install Java™ 6 Development Kit.
Note: This step is only neccessary if no appropriate java library is installed on your system, yet.

Step 2: Install Eclipse IDE

Download and install Eclipse IDE for Java™ Developers .

Step 3: Import MT4j

1. Start eclipse.

2. Select "File" -> "Import..."

Error creating thumbnail: convert: unable to open image `/var/www/mediawiki-1.14.0/images/8/81/Mt4j_import3.png': No such file or directory.
convert: unable to open file `/var/www/mediawiki-1.14.0/images/8/81/Mt4j_import3.png'.
convert: missing an image filename `/var/www/mediawiki-1.14.0/images/thumb/8/81/Mt4j_import3.png/301px-Mt4j_import3.png'.

3. Select "Import existing project into workspace"

Error creating thumbnail: convert: unable to open image `/var/www/mediawiki-1.14.0/images/2/24/Mt4j_import4.png': No such file or directory.
convert: unable to open file `/var/www/mediawiki-1.14.0/images/2/24/Mt4j_import4.png'.
convert: missing an image filename `/var/www/mediawiki-1.14.0/images/thumb/2/24/Mt4j_import4.png/383px-Mt4j_import4.png'.

4. Select "Select archive file" and click "Browse..."

MT4Import_file_Import3

5. Browse to the folder where the downloaded mt4jxxx.zip file is located, select the file and click "Open" You should now see the project listed and selected under "Projects:"

Error creating thumbnail: convert: unable to open image `/var/www/mediawiki-1.14.0/images/b/be/Mt4j_import6.png': No such file or directory.
convert: unable to open file `/var/www/mediawiki-1.14.0/images/b/be/Mt4j_import6.png'.
convert: missing an image filename `/var/www/mediawiki-1.14.0/images/thumb/b/be/Mt4j_import6.png/426px-Mt4j_import6.png'.

6. Click "Finish" to import the project into your workspace.


If you want to run the MT4j examples now, take a look at the "how to run the MT4j examples" tutorial.


[Page as PDF

Powered by MediaWiki contact