X-Spam-Check-By: sourceware.org Date: Fri, 30 Dec 2005 05:29:24 +0100 From: "Gerrit P. Haase" Reply-To: "Gerrit P. Haase" Message-ID: <184748917476.20051230052924@familiehaase.de> To: cygwin AT cygwin DOT com Subject: Re: gcc-java: gij broken? In-Reply-To: <43B4891F.2020305@users.sourceforge.net> References: <43A0B5C9 DOT 4000705 AT users DOT sourceforge DOT net> <43B4891F DOT 2020305 AT users DOT sourceforge DOT net> MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Yaakov wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > Yaakov S (Cygwin Ports) wrote: >> Either I'm missing something, or gij just plain doesn't work: > Ping? > Gerrit, > > Either I'm missing something, or gij just plain doesn't work: > > gcc-java-3.4.4-1 > jikes-1.22-1 (Cygwin Ports) > Sun JDK 1.5.0_06 > > JIKESPATH either to JDK rt.jar or to libgcj-3.4.4.jar > CLASSPATH either empty or to libgcj-3.4.4.jar > > $ javac HelloWorld.java && java HelloWorld > Hello, World! I'm getting an exception here: Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld > $ jikes HelloWorld.java && java HelloWorld > Hello, World! Dito. > $ gcj -C HelloWorld.java && java HelloWorld > Hello, World! Dito. > $ gcj --main=HelloWorld -o HelloWorld.exe HelloWorld.java && > ./HelloWorld.exe > Hello, World! > > $ javac HelloWorld.java && gij HelloWorld > Segmentation fault (core dumped) > > $ jikes HelloWorld.java && gij HelloWorld > Segmentation fault (core dumped) > > $ gcj -C HelloWorld.java && gij HelloWorld > Segmentation fault (core dumped) Yes, I see the same for the last four. Maybe it is just plain not working? Gerrit -- =^..^= http://nyckelpiga.de/donate.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/