From owner-freebsd-java@FreeBSD.ORG Sun Mar 27 18:40:53 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B674B16A4CE for ; Sun, 27 Mar 2005 18:40:53 +0000 (GMT) Received: from pd4mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B9BB43D39 for ; Sun, 27 Mar 2005 18:40:53 +0000 (GMT) (envelope-from varju@webct.com) Received: from pd5mr6so.prod.shaw.ca (pd5mr6so-qfe3.prod.shaw.ca [10.0.141.182]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IE000JSSX84F4A0@l-daemon> for freebsd-java@freebsd.org; Sun, 27 Mar 2005 11:40:52 -0700 (MST) Received: from pn2ml7so.prod.shaw.ca ([10.0.121.151]) by pd5mr6so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IE000M02X84A470@pd5mr6so.prod.shaw.ca> for freebsd-java@freebsd.org; Sun, 27 Mar 2005 11:40:52 -0700 (MST) Received: from alex.varju.ca (S010600095beeacbb.vc.shawcable.net [24.83.197.241]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0IE000J0AX84A0@l-daemon> for freebsd-java@freebsd.org; Sun, 27 Mar 2005 11:40:52 -0700 (MST) Received: from localhost ([127.0.0.1]) by alex.varju.ca with esmtp (Exim 4.50 (FreeBSD)) id 1DFcgu-000217-7D; Sun, 27 Mar 2005 10:40:52 -0800 Date: Sun, 27 Mar 2005 10:40:51 -0800 From: Alex Varju In-reply-to: <4246D3C5.5060303@ebs.gr> To: Panagiotis Astithas Message-id: <4246FE33.2090608@webct.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en References: <424490CD.9080203@chuckr.org> <4246D3C5.5060303@ebs.gr> User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050325) cc: Chuck Robey cc: java Subject: Re: eclipse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2005 18:40:53 -0000 Panagiotis Astithas wrote: > If you can get it to work, I'd say that option #1 is not selfish, but > quite helpful for everyone else, indeed! Please give it a shot, the > eclipse port is supposed to be compilable with jdk>=1.4. See the > following lines in the port's Makefile: > > USE_JAVA= yes > JAVA_VERSION= 1.4+ > JAVA_OS= native > > You can start by changing the following line: > > ONLY_FOR_ARCHS= i386 > > in the same file, to: > > ONLY_FOR_ARCHS= i386 amd64 > > and see how far you get from there. Nobody has tried building eclipse > for amd64 with jdk1.5 yet AFAIK, but that doesn't mean it can't be done. > And of course, don't forget to post any patches you come up with :-) I've actually been fighting with getting Eclipse to compile for a few days now, and haven't gotten there yet. Things seem to be going wrong in the native extensions, but I can't seem to get a decent stack trace out of it. Digging through the Eclipse code, it looks like they use different Java files for the native extensions when building Linux x86_64. I'll try to post my experiences in more detail later today. Alex.