javamingw

MinGW gcj compiler not found by MinGW shell


I tried to compile a simple Java class with gcj, but I'm getting this error: "sh: gcj: command not found". I installed it according to those tutorials: http://www.mingw.org/wiki/Getting_Started http://www.mingw.org/wiki/InstallationHOWTOforMinGW

To fix this problem I added all relevant MinGW paths to the user PATH variable: C:\MinGW\bin;C:\MinGW\MSYS\1.0\local\bin;C:\MinGW\MSYS\1.0\bin

This also didn't fix the problem. What might have gone wrong here? Thanks for any help.

The installation file is "mingw-get-inst-20120426.exe", I'm using Windows 7 64 Bit.


Solution

  • You can't get GCJ through official mingw website since they dont develop it anymore. But there a download here: http://www.thisiscool.com/gcc_mingw.htm