X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,TW_GC X-Spam-Check-By: sourceware.org From: Kraus Philipp Content-Type: text/plain; charset=us-ascii Subject: gcj exception compiling Date: Sat, 5 Nov 2011 19:13:21 +0100 Message-Id: <3E1FD932-EE66-4151-A2B4-026F1D6FA7F0@flashpixx.de> To: cygwin AT cygwin DOT com Mime-Version: 1.0 (Apple Message framework v1084) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pA5IDoNX029306 Hello, I try to build a Java class with the gcj under Cygwin. I get this error message: 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.compiler.b atch.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) The class does not have any main function. 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 libraries : 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