delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/02/14:47:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TW_GC,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <4F79F43C.1010000@acm.org>
Date: Mon, 02 Apr 2012 11:47:24 -0700
From: David Rothenberger <daveroth AT acm DOT org>
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 AT cygwin DOT com
Subject: Re: Gnu Compiler for Java compiling
References: <BAY147-W303F5356A078EF1D320DB8D04C0 AT phx DOT gbl> <4F79EC76 DOT 8080303 AT acm DOT org> <4F79F30B DOT 8020305 AT gmail DOT com>
In-Reply-To: <4F79F30B.8020305@gmail.com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 4/2/2012 11:42 AM, marco atzeri wrote:
> 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

It's not part of the most recent gcc4-java package.

515 ~> cygcheck -cd gcc4-java
Cygwin Package Information
Package              Version
gcc4-java            4.5.3-3

516 ~> cygcheck -l gcc4-java | grep download

517 ~> ls -l /usr/sbin/download*
/bin/ls: cannot access /usr/sbin/download*: No such file or directory


-- 
David Rothenberger  ----  daveroth AT acm DOT org

Jones' Second Law:
        The man who smiles when things go wrong has thought of someone
        to blame it on.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019