Installing Java Development Kit

If you want to write and compile transformations in Java, you can install a JDK and add it to the project by selecting the project, right-clicking it and selecting the Properties item in the context menu. We suggest once again that you use JDK 1.6+.

Adding a Java Development Kit

Figure 16.8. Adding a Java Development Kit


Then you select the Java Build Path item and its Libraries tab. You the click the Add External JARs... button.

[Important]Important

For Mac users: navigate to this menu directly after the installation. Then search a correct Java version (1.6 or higher) and select it. This has to be done on Mac because of a known issue when obsolete Java versions were selected by default after the installation.

Searching for JDK Jars

Figure 16.9. Searching for JDK Jars


You can add all .jar files contained in the selected jdk folder into the Libraries tab.

After confirming the selection, the .jar files will be added to the project as shown below.

Adding JDK Jars

Figure 16.10. Adding JDK Jars