In an effort to compare apples to apples (no I haven't run things on a Mac yet!) I tried Java6 and Linux and got the same error about the environment variable not being defined:
$UIMA_HOME/bin/runPearInstaller.sh [InstallationController]: extracting /afs/cs/user/er1k/UIMASenWrapper.pear [InstallationController]: 1636359 bytes extracted [InstallationProcessor]: start processing InsD file - /afs/cs.cmu.edu/user/er1k/UIMASenWrapper/metadata/install.xml [InstallationController]: the metadata/setenv.txt file contains required environment variables for this component [InstallationController]: component UIMASenWrapper installation completed. SEN_HOME variable is not defined. Please set SEN_HOME your installation directory of sen. Is there any contract that guarantees that all environment variables defined in metadata/setenv.txt will be defined when an Analysis Engine is run from a PEAR, whether by the PEAR Installer or another means, say UIMAFramework.produceAnalysisEngine()? Perhaps we are expecting something that is not actually there. It may be that only CLASSPATH (and DATAPATH?) are guaranteed to be set. It is not clear to me from the documentation, so any UIMA developers reading this please chime in if you know! > During installation, a setenv.txt file containing the PEAR settings > is generated in the metadata subdirectory of the install directory. > Go there too check the most important PEAR settings (classpath, > datapath, ...), or to read in the settings programmatically.
