The path variable seems to show several possible problems.

There appear to be several "installs" of UIMA, possibly at different levels, from different sources, on your machine. The PATH variable points to the following:

   C:\UIMA\bin";
   "C:\Program Files\IBM\uima\bin";
   "C:\uima\uima1\bin";
   C:\Program Files\Java\jdk1.5.0\bin;
   C:\TODAY\apache-uima\uimacpp\bin;
   C:\TODAY\apache-uima\uimacpp\examples\tutorial\src

Can you fix this so that the PATH variable excludes the other UIMA installs, and instead, points just to the one you installed?

Another thing that may be a problem is: as of version 2.2.1, Apache UIMA requires Java 5 or later to run. I see in your "path" that you have Java 1.4. Can you try fixing this too, and seeing if that helps?

-Marshall

Chandra Sekhar wrote:
Respected sir ,

I stored UIMA SDK in (TODAY folder) C:\TODAY\apache-uima\bin .

I set environment variable UIMA_HOME as C:\TODAY\apache-uima .  I set
this variable in system variables location .

This the error i am getting when i double clik on document.analyzer.bat file;


C:\TODAY\apache-uima\bin>setlocal

C:\TODAY\apache-uima\bin>call "C:\TODAY\apache-uima\bin\setUimaClassPath"

C:\TODAY\apache-uima\bin>set UIMA_CLASSPATH=;C:\TODAY\apache-uima\examples\resou
rces;C:\TODAY\apache-uima\lib\uima-core.jar;C:\TODAY\apache-uima\lib\uima-docume
nt-annotation.jar;C:\TODAY\apache-uima\lib\uima-cpe.jar;C:\TODAY\apache-uima\lib
\uima-tools.jar;C:\TODAY\apache-uima\lib\uima-examples.jar;C:\TODAY\apache-uima\
lib\uima-adapter-soap.jar;C:\TODAY\apache-uima\lib\uima-adapter-vinci.jar;\webap
ps\axis\WEB-INF\lib\activation.jar;\webapps\axis\WEB-INF\lib\axis.jar;\webapps\a
xis\WEB-INF\lib\commons-discovery.jar;\webapps\axis\WEB-INF\lib\commons-discover
y-0.2.jar;\webapps\axis\WEB-INF\lib\commons-logging.jar;\webapps\axis\WEB-INF\li
b\commons-logging-1.0.4.jar;\webapps\axis\WEB-INF\lib\jaxrpc.jar;\webapps\axis\W
EB-INF\lib\mail.jar;\webapps\axis\WEB-INF\lib\saaj.jar;C:\TODAY\apache-uima\lib\
jVinci.jar;;

C:\TODAY\apache-uima\bin>set PATH="C:\UIMA\bin";"C:\Program Files\IBM\uima\bin";
"C:\uima\uima1\bin";C:\Program Files\Java\jdk1.5.0\bin;C:\TODAY\apache-uima\uima
cpp\bin;C:\TODAY\apache-uima\uimacpp\examples\tutorial\src

C:\TODAY\apache-uima\bin>if "C:\j2sdk1.4.2_03" == "" (set UIMA_JAVA_CALL=java )
 else (set UIMA_JAVA_CALL=C:\j2sdk1.4.2_03\bin\java )

C:\TODAY\apache-uima\bin>"C:\j2sdk1.4.2_03\bin\java" -cp ";C:\TODAY\apache-uima\
examples\resources;C:\TODAY\apache-uima\lib\uima-core.jar;C:\TODAY\apache-uima\l
ib\uima-document-annotation.jar;C:\TODAY\apache-uima\lib\uima-cpe.jar;C:\TODAY\a
pache-uima\lib\uima-tools.jar;C:\TODAY\apache-uima\lib\uima-examples.jar;C:\TODA
Y\apache-uima\lib\uima-adapter-soap.jar;C:\TODAY\apache-uima\lib\uima-adapter-vi
nci.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\co
mmons-discovery-0.2.jar;\webapps\axis\WEB-INF\lib\commons-logging.jar;\webapps\a
xis\WEB-INF\lib\commons-logging-1.0.4.jar;\webapps\axis\WEB-INF\lib\jaxrpc.jar;\
webapps\axis\WEB-INF\lib\mail.jar;\webapps\axis\WEB-INF\lib\saaj.jar;C:\TODAY\ap
ache-uima\lib\jVinci.jar;;" "-Duima.home=C:\TODAY\apache-uima" "-Duima.datapath=
" -DVNS_HOST=localhost -DVNS_PORT=9000 "-Djava.util.logging.config.file=C:\TODAY
\apache-uima\config\Logger.properties" -Xms128M -Xmx800M org.apache.uima.tools.d
ocanalyzer.DocumentAnalyzer
The system cannot find the path specified.

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

sir , please give me solution for this.

regards

sekhar.



Reply via email to