X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-5.4 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_GC
X-Spam-Check-By: sourceware.org
Message-ID: <4F79F30B.8020305@gmail.com>
Date: Mon, 02 Apr 2012 20:42:19 +0200
From: marco atzeri <marco.atzeri@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Gnu Compiler for Java compiling
References: <BAY147-W303F5356A078EF1D320DB8D04C0@phx.gbl> <4F79EC76.8080303@acm.org>
In-Reply-To: <4F79EC76.8080303@acm.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 4/2/2012 8:14 PM, David Rothenberger wrote:
> On 4/2/2012 1:48 AM, Me Myself and I wrote:
>> 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
>
> Check /usr/share/doc/Cygwin/gcc4.README, specifically the section "Java
> users need an additional download to compile source to bytecode."
>
> I was not able to find the "download_ecj.sh" script mentioned there, but
> downloading the ECJ jar file solved the problem for me.
>

use the search

http://cygwin.com/cgi-bin2/package-cat.cgi?file=gcc4-java%2Fgcc4-java-4.3.4-4&grep=download_ecj.sh

--
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

