On 09/13/2010 05:13 PM, charfi asma wrote: > Hello, > > I have pb with the java fe > > I installed gcc 4.4.1 fron source and current gcc version from git ($ git clone > git://crules.org/git/gcc-dev.git) but in both versions I can not compile java > files > > I looked for the java compiler gcj but I do not find an executable called gcj or > jc1 (just like g++ or cc1plus for c++ front end) > Is there any configuration option to well install java fe other than > --enable-languages=java ? > > when I compile java file using gcj -save-temps Hello.java --main=Hello -v 2>&1 | > grep ecj I get an empty .jar > > [charfi@is010178 Hello]$ which gcj > which: no gcj in > (/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib/qt4/bin:/export/home/charfi/bin:/usr/bin) > > > > [charfi@is010178 Hello]$ which g++ > /usr/bin/g++ You need to tell us exactly what you did. What commands, configure args, and so on, so that someone can duplicate what you did. Andrew.