I see another problem - this is probably the direct problem.

On you machine, you have an environment variable called JAVA_HOME, and it is set to

C:\j2sdk1.4.2_03

However, it appears you no longer have Java installed there.

To fix, please install Java 5 (or 6 - these are the levels required for UIMA 2.2.1) and set the environment variable JAVA_HOME to where you installed it.

-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