X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_SPEC_LEO_DOLLARSa,TW_GF,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 22 Jul 2010 11:49:42 -0400 Message-ID: Subject: Re: gettext util msgfmt error (javac: subprocess failed) From: Arian To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I got closer to my problem maybe someone can beat me before i find solution... so when javac.sh gets called, the file below is executed: #!/bin/sh /cygdrive/c/Program Files/Java/jdk1.5.0_22/bin/javac.exe $1 $2 $3 `cygpath -w -p $4` if i try to just call /home/ahojat/bin/javac.sh on a java file to see if it forwards it correctly like so: /home/ahojat/bin/javac.sh ClassTest.java ... It says: /home/ahojat/bin/javac.sh: line 2: /cygdrive/c/Program: No such file or directory I realized i needed to add a \ because of the space in "Program Files"; so java.sh file becomes: /cygdrive/c/Program\ Files/Java/jdk1.5.0_22/bin/javac.exe $1 $2 $3 `cygpath -w -p $4` But now when just running simple compilation test on ClassTest.java again says: msgfmt: /home/ahojat/bin/javac subprocess failed Frustrating :( -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple