Image

Imagebradfitz wrote in Imagelinux

Java compiler for Windows

Does anybody have experience using gcj in either Unix or Cygwin to compile native Windows executables?

I have it working fine on Unix but I was wondering if it's possible to change the target and easily whip out an .exe without using Windows at all.

Cygwin would probably work, but it'd be nice to hear it works before I go mess with it.

Microsoft J++ can make .exe files, but only up to JDK 1.1. One possibility if it comes down to it is making my code JDK 1.1 compliant, which shouldn't be too hard ... In fact, I can't think of anything I'm doing that's newer than 1.1 ... but I'd prefer to do everything from gcj if possible.

(yes, this hardly relates to Linux ... but gcj is kinda Linux-ish, right? :-P)