Return-Path: Delivered-To: apmail-uima-user-archive@www.apache.org Received: (qmail 65269 invoked from network); 16 Nov 2010 16:07:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Nov 2010 16:07:17 -0000 Received: (qmail 93313 invoked by uid 500); 16 Nov 2010 16:07:48 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 93206 invoked by uid 500); 16 Nov 2010 16:07:47 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 93189 invoked by uid 99); 16 Nov 2010 16:07:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 16:07:46 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of twgoetz@gmx.de designates 213.165.64.23 as permitted sender) Received: from [213.165.64.23] (HELO mail.gmx.net) (213.165.64.23) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 16 Nov 2010 16:07:39 +0000 Received: (qmail invoked by alias); 16 Nov 2010 16:07:17 -0000 Received: from deibp9eh1--blueice3n2.emea.ibm.com (EHLO [9.152.14.84]) [195.212.29.180] by mail.gmx.net (mp061) with SMTP; 16 Nov 2010 17:07:17 +0100 X-Authenticated: #25330878 X-Provags-ID: V01U2FsdGVkX1+f258vWNWfD05YLg2lX13RmwmF0gJz7vIHTOSm5v xw/Od83hWtMWvi Message-ID: <4CE2AC35.3030709@gmx.de> Date: Tue, 16 Nov 2010 17:07:17 +0100 From: =?UTF-8?B?VGhpbG8gR8O2dHo=?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: user@uima.apache.org Subject: Re: Problems installing UIMA on W7 References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 On 11/16/2010 16:44, Erik-Lân Do Dinh wrote: > 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. I think the problem is not the UIMA install path, but the Java install path. It chokes on the closing paren of the (x86) part (great idea, MS). I don't have the time to try this now, but try replacing if "%JAVA_HOME%"=="" (set UIMA_JAVA_CALL=java) else (set UIMA_JAVA_CALL=%JAVA_HOME%\bin\java) with if "%JAVA_HOME%"=="" (set UIMA_JAVA_CALL=java) else set "UIMA_JAVA_CALL=%JAVA_HOME%\bin\java" Let us know if this works, and we'll fix it. --Thilo > > 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 >