https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61356
--- Comment #2 from Piyush Chauhan <piyushchauhan2011 at gmail dot com> --- I have re-installed the gcc-4.7.3 without java build option just gcc,g++,objc,FORTRAN packages. Now it's working fine. I don't know what happened with gcj! You can close the issue/bug, from my side no problemo :)