(Please email us at ) with questions or comments about downloading Mesquite).
The Headless version of Mesquite is a special version with all graphics stripped out so that it will run in headless mode, without a windowing environment. It is run entirely from the command line. In principle, Mesquite can be run entirely from the command line because almost all commands are internally routed through text-based commands, but in practice command line operation has not been extensively used and thus is not polished.
JRE or JDK 1.4 or better (java.sun.com). (It is best to get Sun's Java VM; Mesquite does not run on some third-party virtual machines.) See notes on the support page, especially regarding issues with window and dialog size and placement.
THIS HEADLESS VERSION IS 2.72.
Download and decompress either of these files:
It will create a directory called "Mesquite_Folder" in which all the relevant files reside.
To start Mesquite, type at the terminal or command prompt a command like the following:
java -cp /home/myuser/Mesquite_Folder mesquite.Mesquite
where /home/myuser/Mesquite_Folder could be replaced by whatever is the path to the Mesquite_Folder. On some systems the java virtual machine is started by "jre" instead of "java", and thus the command would be:
jre -cp /home/myuser/Mesquite_Folder mesquite.Mesquite
This should automatically identify your java installation. If you have trouble, you may need to set your JAVA_HOME environment variable. Otherwise, you could give the explicit path to the java virtual machine, as in:
/usr/java/jre1.4.2/bin/java -cp /usr/local/Mesquite_Folder mesquite.Mesquite
If you've changed the name of Mesquite_Folder to, for instance, "Mesquite2", you may need to use a command like:
/usr/java/jre1.4.2/bin/java -cp /usr/local/Mesquite2 mesquite.Mesquite
To run Mesquite as a background job, you should suppress Mesquite's querying you for input at the command line by passing the -b flag. For instance:
java -cp /home/myuser/Mesquite_Folder mesquite.Mesquite -b
The source code of the Headless version is the same as the normal version except for a flag MesquiteWindow.headless set to true, two lines commented out, and replacement of all instances of "java.awt." and "javax.swing." being replaced by "headless.awt." and "headless.x.swing." respectively. The headless packages are written primarily by Peter Midford, and contain stubs mimicking the AWT and Swing classes. The headless packages are available here.