From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1824 invoked by alias); 30 Mar 2009 12:54:09 -0000 Received: (qmail 1550 invoked by uid 22791); 30 Mar 2009 12:54:08 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from fk-out-0910.google.com (HELO fk-out-0910.google.com) (209.85.128.188) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Mar 2009 12:54:02 +0000 Received: by fk-out-0910.google.com with SMTP id 18so822301fks.8 for ; Mon, 30 Mar 2009 05:53:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.173.15 with SMTP id a15mr1686614mup.59.1238417639687; Mon, 30 Mar 2009 05:53:59 -0700 (PDT) Date: Mon, 30 Mar 2009 12:54:00 -0000 Message-ID: Subject: Using the newest Classapth with gcj ? From: David Michel To: java@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-03/txt/msg00027.txt.bz2 Hi, I have a java (1.5) project running in Eclipse currently using Sun's compiler and wanted to use gcj instead. So I've been trying to use Eclipse + java-1.5.0-gcj-4.3-1.5.0.0 (just downloaded the standard package from the repository of Ubuntu 8.04 LTS) It didn't compile properly at first giving me errors related to awt/swing... As often the case, the repositories are sometimes not so uptodate with the latest development, so I checked the gcj website and then I realised that the libgcj project has been stopped, or better, merged with the Classpath project which then provides the java libraries. That means that libgcj library provided in Ubuntu's latest repository is relatively old, so If I wanted to have the latest java libraries, I would have to get the latest Classpath, is that right ? I did download the latest development Classpath and run the typical configure + make + make install, but I'm not sure what this has given me! How do I get gcj to use this newly installed Classpath library instead of libgcj ? and how to get this bundled correctly with Eclipse ? Do I have to rebuild a new JRE to be used with Eclipse? Sorry if this a daft question but I cannot find any real useful info and I'm quite confused about JRE, JDK, gcj, libgcj, classpath how they all fit (or not!) together Cheers David