This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: gettext util msgfmt error (javac: subprocess failed)
- From: Arian <armyofda12mnkeys at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 22 Jul 2010 11:49:42 -0400
- Subject: Re: gettext util msgfmt error (javac: subprocess failed)
- References: <AANLkTinfO9ihI1pgewFGmpDgi6_2oeooms1LduHcgXm4@mail.gmail.com> <AANLkTilf_99M0_oqdg6UMzO_lNWkRTxamuwiEjss81Gt@mail.gmail.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