Gnu Compiler for Java compiling

Me Myself and I
Mon Apr 2 08:49:00 GMT 2012

I have just gone through the install with internet download using
the latest cygwin windows installer,
on my 64 bit Microsoft Windows 7.  I assume that I've only gotten
32 bit software, which is not my issue.

I am trying to compile my first java program,

gcj --main=Program -o Program.exe

and I find that I only get the errror message:

Exception in thread "main" java.lang.NoClassDefFoundError: org.eclipse.jdt.internal.compiler.batch.GCCMain
   at Source)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.compiler.batch.GCCMain not found in gnu.gcj.runtime.SystemClassLoader{urls=[], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at Source)

Has there been a corrupted installation or download?  Should I just

reinstall cygwin from the start?  Or is there something simple I should do?

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list