LibraryLink ToToggle FramesPrintFeedback

Prerequisites

To follow the steps in this tutorial, you must have the following:

Install a suitable Java runtime (JDK 1.5.x). After installing, set your JAVA_HOME environment variable to point to the root directory of your Java runtime; also set your PATH environment variable to include the Java bin directory.

Download and install Apache Maven (2.x), a general purpose tool for building and packaging applications. To download, visit: http://maven.apache.org/download.html.

After installing Maven do the following:

  1. Set your M2_HOME environment variable to point to the Maven root directory.

  2. Set your MAVEN_OPTS environment variable to -Xmx512M. (This setting increases memory available for Maven builds.)

  3. Set your PATH environment variable to include the Maven bin directory (%M2_HOME%\bin on Windows or $M2_HOME/bin on UNIX).

[Note]Note

You can use the maven command mvn -version to verify that Java and maven are installed correctly. Example output:

machineA:~$ mvn -version
Maven version: 2.0.9
Java version: 1.5.0_16
OS name: "mac os x" version: "10.5.6" arch: "i386" Family: "unix"