public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Me Myself and I <stargate7thsymbol@live.co.uk>
To: <cygwin@cygwin.com>
Subject: Gnu Compiler for Java compiling
Date: Mon, 02 Apr 2012 08:49:00 -0000	[thread overview]
Message-ID: <BAY147-W303F5356A078EF1D320DB8D04C0@phx.gbl> (raw)


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 Program.java --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 gnu.java.lang.MainThread.run(Unknown 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 java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at gnu.java.lang.MainThread.run(Unknown 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:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

             reply	other threads:[~2012-04-02  8:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-02  8:49 Me Myself and I [this message]
2012-04-02 18:14 ` David Rothenberger
2012-04-02 18:42   ` marco atzeri
2012-04-02 18:47     ` David Rothenberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY147-W303F5356A078EF1D320DB8D04C0@phx.gbl \
    --to=stargate7thsymbol@live.co.uk \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).