Hello everyone,

I want to install UIMA on a Windows 7 (x64) machine, Java version is 1.6 (x86).
I installed UIMA according to http://uima.apache.org/doc-uima-examples.html,
double checked all path entries and install path. Now, when I try to run
"adjustExamplePaths.bat", it outputs an error message and stops.

The message:
------
C:\Program Files (x86)\apache-uima\bin>setlocal
"\Java\jdk1.6.0_22\bin\java)" kann syntaktisch an dieser Stelle nicht verarbeite
t werden.

C:\Program Files (x86)\apache-uima\bin>if "C:\Program Files (x86)\Java\jdk1.6.0_
22"=="" (set UIMA_JAVA_CALL=java) else (set UIMA_JAVA_CALL=C:\Program Files (x86
)\Java\jdk1.6.0_22\bin\java)
------

The first part says: "\Java\jdk1.6.0_22\bin\java)" cannot be processed
syntactically at this place.

The second part is just an output of the line 

if "%JAVA_HOME%"=="" (set UIMA_JAVA_CALL=java) else (set
UIMA_JAVA_CALL=%JAVA_HOME%\bin\java)

from adjustExamplePaths.bat with %JAVA_HOME% replaced by its value.
Now, if I just replace that last line with

set UIMA_JAVA_CALL=%JAVA_HOME%\bin\java

the script runs ok. But when I want to try out documentAnalyzer.bat, the same
error ("cannot be processed ...") occurs, now in runUimaClass.bat (which is
called by documentAnalyzer.bat). I can fix that too, but then another error
crops up, etc.

I also tried putting the apache-uima-directoy directly into C: (changed the env
vars of course), but the same errors keep happening.

Has anybody experienced the same problem and maybe has found a solution? Or can
anyone see where I made a mistake which causes all the hassle?

Help would be much appreciated, thanks for reading this
Erik-Lân Do Dinh

Reply via email to