SORTIE-ND
Software for spatially-explicit simulation of forest dynamics |
||
The SORTIE-ND installationIt is a big job to get all the different parts of the SORTIE-ND installation to work together as a single software unit. (There's more on the different components in third party stuff.) Here's a list of needed files and libraries:
Creating SORTIE.jar(See the Java Tutorial for more on JAR files.) The main SORTIE-ND GUI is contained in a JAR file, SORTIE.jar. This JAR can be created in Eclipse with the JAR description file included. It can also be created from the command line by typing something similar to
The manifest file defines the JAR and tells SORTIE.jar how to find its needed Java libraries. The file contains a ClassPath header that directs the JVM to look at the jar files as class directories. Here is the contents of Manifest.mf at the time of this writing:
The latest version is available on the SORTIE-ND downloads page. Launching SORTIE.jarOnce it is launched from its JAR file, the SORTIE-ND GUI in SORTIE.jar needs to know how to find the core model code. When running the JAR file from the command line, you do this by adjusting the library path when SORTIE-ND is launched. The command is Creating SORTIE.exeTo make things less challenging for everyone, SORTIE.jar is packaged into a native Windows executable wrapper. This wrapper is created by JSmooth, an open-source tool. The JSmooth project file is available on the SORTIE-ND downloads page. It makes sure that the user has an appropriate JVM installed and passes it the needed library paths. The library paths are the same as in the SORTIE.jar manifest; these are passed as arguments to the Java Virtual Machine at runtime. Creating the installerThe installer is created by Inno, an extremely handy piece of open-source software. The first step in creating the installer is to recreate a SORTIE-ND install by placing all the files in the appropriate directories, as described above. Then the Inno install script for SORTIE-ND will do the rest. The latest version of the SORTIE-ND install script is available by request. |
||
FAQ - Contact Us
|