X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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:22:15 -0400 Message-ID: Subject: 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 Hey everyone, I have a .po file I created and I wanted to translate that into a java ResourceBundle properties file. There is a util to do that via something like: msgfmt --java2 -d . messages_fr_FR.po But i got an error saying to set JAVAC or install gcj... javac is in my java/bin PATH env variable, and in cygwin I can standalone call javac fine... just seems like cygwin's msgfmt has trouble calling it... I read this tutorial http://xmlguru.cz/2006/10/saxon-gettext which is only webpage i see related to my problem so i did as the steps said. I created a wrapper javac.sh file like state and exported JAVAC in my .bashrc ... I re-ran and got the following message: msgfmt: /home/ahojat/bin/javac.sh subprocess failed Not sure whats wrong, i tried pointing to my 1.5 and 1.6 jdk javac. Anyone can help to get this function working? Thanks!, Arian -- 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