bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] msgfmt and Java Compiler on Windows


From: Simon Martinelli
Subject: Re: [bug-gettext] msgfmt and Java Compiler on Windows
Date: Tue, 17 Sep 2013 08:06:09 +0200

Hi Daiki,

With verbose:

c:\workspaces\proshop\ProShopTranslation>msgfmt --verbose --java2 -d generated -r Messages -l fr po/fr/LC_MESSAGES/messages.po
msgfmt: Java compiler not found, try installing gcj or set $JAVAC
msgfmt: compilation of Java class failed, please try to set $JAVAC
1193 translated messages, 1 fuzzy translation, 63 untranslated messages.

That's strange because javac is on the PATH. 

c:\workspaces\proshop\ProShopTranslation>javac -version
javac 1.6.0_38

When I set JAVAC as proposed:

c:\workspaces\proshop\ProShopTranslation>set JAVAC=c:\Program Files (x86)\Java\jdk1.6.0_38\bin\javac.exe
c:\workspaces\proshop\ProShopTranslation>msgfmt --verbose --java2 -d generated -r Messages -l fr po/fr/LC_MESSAGES/messages.po
msgfmt: c:\Program Files (x86)\Java\jdk1.6.0_38\bin\javac.exe subprocess failed: Bad file descriptor

One thing that I don't get with gettext and Java is why are there no Java source files generated? It would be much more handy to have the source files instead of the compiled code because I have to put the class files in a special place that the build or Eclipse does not delete them.

Thanks
Simon

reply via email to

[Prev in Thread] Current Thread [Next in Thread]