I believe you would need to add the -D to the java command java -cp $UIMA_HOME/lib/*:$CTAKES_HOME/lib/*:$CTAKES_HOME/desc/:$CTAKES_HOME/resources/
*-Dctakes.umlsuser=jamesfoster -Dctakes.umlspw=***** *-Dlog4j.configuration=file:$CTAKES_HOME/config/log4j.xml -Xms512M -Xmx3g org.apache.uima.tools.cpm.CpmFrame Kim Ebert 1.801.669.7342 Perfect Search Corp http://www.perfectsearchcorp.com/ On 09/20/2014 11:58 AM, EM Gladiators wrote: > Hi all, > > I am new to ctakes and am trying to get up and running with using my > UMLS credentials. I have modified the runctakesCVD.sh and > runctakesCPE.sh files (see copied text below). I don't think the > syntax is correct and I have tried many different options. I > uncommented the code and substituted my real username and passwords. > However when I run ctakes it does not appear to be using my > credentials. Is there anyway to confirm that I am successfully > authenticated using my UMLS credentials? Is the syntax incorrect? > Thank you > > James Foster > > ... > # Requires JAVA JDK 1.6+ > # If you plan to use the UMLS Resources, set/export env variables > # export ctakes.umlsuser=jamesfoster, export ctakes.umlspw=Phantom9 > # or add the properties > *-Dctakes.umlsuser=jamesfoster -Dctakes.umlspw=****** > > > PRG="$0" > while [ -h "$PRG" ]; do > ls=`ls -ld "$PRG"` > link=`expr "$ls" : '.*-> \(.*\)$'` > if expr "$link" : '/.*' > /dev/null; then > PRG="$link" > else > PRG=`dirname "$PRG"`/"$link" > fi > done > PRGDIR=`dirname "$PRG"` > ...
