Respected sir ,  java Installer installed java in in C:\ProgramFiles.

now i set JAVA_UIMA to C:\Program Files\Java\jdk1.5.0

and i run both adjustExamplePaths.bat file documentAnalyzer.bat file .

now the cmd messages as folowes:

a*djustExamplePaths.bat:*


C:\Program Files\apache-uima\bin>setlocal

C:\Program Files\apache-uima\bin>if "C:\Program Files\Java\jdk1.5.0" == ""
(set
UIMA_JAVA_CALL=java )  else (set UIMA_JAVA_CALL=C:\Program
Files\Java\jdk1.5.0\b
in\java )

C:\Program Files\apache-uima\bin>"C:\Program Files\Java\jdk1.5.0\bin\java"
-cp "
C:\Program Files\apache-uima/lib/uima-core.jar"
org.apache.uima.internal.util.Re
placeStringInFiles "C:\Program Files\apache-uima/examples\data" .xml
"C:/Program
_ Files/apache-uima" "C:\Program Files\apache-uima" -ignorecase
Ignoring case
Working on file: C:\Program
Files\apache-uima\examples\data\xml\IBM_LifeSciences
.xml
Working on file: C:\Program
Files\apache-uima\examples\data\xml\New_IBM_Fellows.
xml
Working on file: C:\Program
Files\apache-uima\examples\data\xml\SeminarChallenge
sInSpeechRecognition.xml
Working on file: C:\Program
Files\apache-uima\examples\data\xml\TrainableInforma
tionExtractionSystems.xml
Working on file: C:\Program
Files\apache-uima\examples\data\xml\UIMASummerSchool
2003.xml
Working on file: C:\Program
Files\apache-uima\examples\data\xml\UIMA_Seminars.xm
l
Working on file: C:\Program
Files\apache-uima\examples\data\xml\WatsonConference
Rooms.xml

C:\Program Files\apache-uima\bin>"C:\Program Files\Java\jdk1.5.0\bin\java"
-cp "
C:\Program Files\apache-uima/lib/uima-core.jar"
org.apache.uima.internal.util.Re
placeStringInFiles "C:\Program Files\apache-uima/examples" .classpath
"C:/Progra
m Files/apache-uima" "C:\Program Files\apache-uima" -ignorecase
Ignoring case
Working on file: C:\Program Files\apache-uima\examples\.classpath

C:\Program Files\apache-uima\bin>"C:\Program Files\Java\jdk1.5.0\bin\java"
-cp "
C:\Program Files\apache-uima/lib/uima-core.jar"
org.apache.uima.internal.util.Re
placeStringInFiles "C:\Program Files\apache-uima/examples" .launch
"C:/Program F
iles/apache-uima" "C:\Program Files\apache-uima" -ignorecase
Ignoring case
Working on file: C:\Program
Files\apache-uima\examples\run_configuration\UIMA An
notation Viewer.launch
Working on file: C:\Program
Files\apache-uima\examples\run_configuration\UIMA CA
S Visual Debugger.launch
Working on file: C:\Program
Files\apache-uima\examples\run_configuration\UIMA CP
E GUI.launch
Working on file: C:\Program
Files\apache-uima\examples\run_configuration\UIMA Do
cument Analyzer.launch
Working on file: C:\Program
Files\apache-uima\examples\run_configuration\UIMA JC
asGen Merge.launch
Working on file: C:\Program
Files\apache-uima\examples\run_configuration\UIMA JC
asGen.launch
Working on file: C:\Program
Files\apache-uima\examples\run_configuration\UIMA PE
AR Installer.launch
Working on file: C:\Program
Files\apache-uima\examples\run_configuration\UIMA Ru
n AE.launch
Working on file: C:\Program
Files\apache-uima\examples\run_configuration\UIMA Ru
n CPE.launch
Working on file: C:\Program
Files\apache-uima\examples\run_configuration\UIMA St
art Vinci Service.launch
Working on file: C:\Program
Files\apache-uima\examples\run_configuration\UIMA St
art VNS.launch

C:\Program Files\apache-uima\bin>"C:\Program Files\Java\jdk1.5.0\bin\java"
-cp "
C:\Program Files\apache-uima/lib/uima-core.jar"
org.apache.uima.internal.util.Re
placeStringInFiles "C:\Program Files\apache-uima/examples" .wsdd "C:/Program
Fil
es/apache-uima" "C:\Program Files\apache-uima" -ignorecase
Ignoring case
Working on file: C:\Program
Files\apache-uima\examples\deploy\soap\Deploy_Govern
mentTitleRecognizer.wsdd
Working on file: C:\Program
Files\apache-uima\examples\deploy\soap\Deploy_NamesA
ndPersonTitles.wsdd
Working on file: C:\Program
Files\apache-uima\examples\deploy\soap\Deploy_Person
TitleAnnotator.wsdd
Working on file: C:\Program
Files\apache-uima\examples\deploy\soap\Deploy_Simple
NameRecognizer.wsdd
Working on file: C:\Program
Files\apache-uima\examples\deploy\soap\Undeploy_Gove
rnmentTitleRecognizer.wsdd
Working on file: C:\Program
Files\apache-uima\examples\deploy\soap\Undeploy_Name
sAndPersonTitles.wsdd
Working on file: C:\Program
Files\apache-uima\examples\deploy\soap\Undeploy_Pers
onTitleAnnotator.wsdd
Working on file: C:\Program
Files\apache-uima\examples\deploy\soap\Undeploy_Simp
leNameRecognizer.wsdd

C:\Program Files\apache-uima\bin>PAUSE
Press any key to continue . . .

*document analyzer.bat :
*
C:\Program Files\apache-uima\bin>setlocal

C:\Program Files\apache-uima\bin>call "C:\Program
Files\apache-uima\bin\setUimaC
lassPath"

C:\Program Files\apache-uima\bin>set UIMA_CLASSPATH=;C:\Program
Files\apache-uim
a\examples\resources;C:\Program Files\apache-uima\lib\uima-core.jar;C:\Program
F
iles\apache-uima\lib\uima-document-annotation.jar;C:\Program
Files\apache-uima\l
ib\uima-cpe.jar;C:\Program Files\apache-uima\lib\uima-tools.jar;C:\Program
Files
\apache-uima\lib\uima-examples.jar;C:\Program
Files\apache-uima\lib\uima-adapter
-soap.jar;C:\Program Files\apache-uima\lib\uima-adapter-vinci.jar
;\webapps\axis\
WEB-INF\lib\activation.jar;\webapps\axis\WEB-INF\lib\axis.jar;\webapps\axis\WEB-
INF\lib\commons-discovery.jar;\webapps\axis\WEB-INF\lib\commons-
discovery-0.2.ja
r;\webapps\axis\WEB-INF\lib\commons-logging.jar
;\webapps\axis\WEB-INF\lib\common
s-logging-1.0.4.jar
;\webapps\axis\WEB-INF\lib\jaxrpc.jar;\webapps\axis\WEB-INF\l
ib\mail.jar;\webapps\axis\WEB-INF\lib\saaj.jar;C:\Program
Files\apache-uima\lib\
jVinci.jar;;

C:\Program Files\apache-uima\bin>set PATH=C:\Program
Files\apache-uimabin;;C:\Pr
ogram Files\apache-uima\uimacpp\bin;C:\Program
Files\apache-uima\uimacpp\example
s\tutorial\src

C:\Program Files\apache-uima\bin>PAUSE
Press any key to continue . . .


*


*

Reply via email to