From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26434 invoked by alias); 5 Nov 2011 18:13:46 -0000 Received: (qmail 26421 invoked by uid 22791); 5 Nov 2011 18:13:45 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,TW_GC X-Spam-Check-By: sourceware.org Received: from v38281.1blu.de (HELO v32679.1blu.de) (88.84.155.228) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 05 Nov 2011 18:13:29 +0000 Received: by v32679.1blu.de (Postfix, from userid 8) id 3B8EA8C080A1; Sat, 5 Nov 2011 19:13:28 +0100 (CET) Received: from macmini.home (p4FC608A8.dip0.t-ipconnect.de [79.198.8.168]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by v32679.1blu.de (Postfix) with ESMTPSA id 11E868C0809C for ; Sat, 5 Nov 2011 19:13:22 +0100 (CET) From: Kraus Philipp Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: gcj exception compiling Date: Sat, 05 Nov 2011 18:13:00 -0000 Message-Id: <3E1FD932-EE66-4151-A2B4-026F1D6FA7F0@flashpixx.de> To: cygwin@cygwin.com Mime-Version: 1.0 (Apple Message framework v1084) X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-11/txt/msg00092.txt.bz2 Hello, I try to build a Java class with the gcj under Cygwin. I get this error mes= sage: Exception in thread "main" java.lang.NoClassDefFoundError: org.eclipse.jdt.= inter nal.compiler.batch.GCCMain at gnu.java.lang.MainThread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.compi= ler.b atch.GCCMain not found in gnu.gcj.runtime.SystemClassLoader{urls=3D[], pare= nt=3Dgnu. gcj.runtime.ExtensionClassLoader{urls=3D[], parent=3Dnull}} 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) The class does not have any main function.=20 On the default gcj installation, it creates this error first: /usr/lib/gcc/i686-pc-cygwin/4.5.3/ecj1.exe: error while loading shared libr= aries : cyggcj-11.dll: cannot open shared object file: No such file or directory So I install the gcj-11 library, the setup installs gcj-9 on default. How can I create a working installation? Thanks Phil -- 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