From owner-freebsd-java@FreeBSD.ORG Sun Jun 12 14:45:58 2005 Return-Path: X-Original-To: java@freebsd.org 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 10EE516A420 for ; Sun, 12 Jun 2005 14:45:58 +0000 (GMT) (envelope-from mi@corbulon.video-collage.com) Received: from mail26.sea5.speakeasy.net (mail26.sea5.speakeasy.net [69.17.117.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62EC143D49 for ; Sun, 12 Jun 2005 14:45:57 +0000 (GMT) (envelope-from mi@corbulon.video-collage.com) Received: (qmail 18603 invoked from network); 12 Jun 2005 14:45:56 -0000 Received: from aldan.algebra.com ([216.254.65.224]) (envelope-sender ) by mail26.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 12 Jun 2005 14:45:56 -0000 Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.1/8.13.1) with ESMTP id j5CEjofA018401 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 12 Jun 2005 10:45:52 -0400 (EDT) (envelope-from mi@corbulon.video-collage.com) Received: from corbulon.video-collage.com (mi@localhost.video-collage.com [127.0.0.1]) by corbulon.video-collage.com (8.13.4/8.13.1) with ESMTP id j5CEjfJU019371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Jun 2005 10:45:45 -0400 (EDT) (envelope-from mi@corbulon.video-collage.com) Received: (from mi@localhost) by corbulon.video-collage.com (8.13.4/8.13.4/Submit) id j5CEjWtJ019369; Sun, 12 Jun 2005 10:45:32 -0400 (EDT) (envelope-from mi) From: Mikhail Teterin Message-Id: <200506121445.j5CEjWtJ019369@corbulon.video-collage.com> To: vizion@vizion.occoxmail.com (Vizion) Date: Sun, 12 Jun 2005 10:45:32 -0400 (EDT) In-Reply-To: <200506111422.46841.vizion@vizion.occoxmail.com> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV devel-20050525/925/Sat Jun 11 14:55:32 2005 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 Cc: java@freebsd.org, past@ebs.gr, lioux@freebsd.org Subject: Re: eclipse on amd64 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2005 14:45:58 -0000 > >> Is there any effort to make eclipse build/work FreeBSD/amd64? Thanks! > >> > >> -mi > >> > >> P.S. R-3.0.2-200503110845 is out since, well, Mar 11 :-) > > > >You could try eclipse-devel, since it works on amd64 right now. It is > >based on 3.1M7 at the moment. > > It is working fine for me on FreeBSD 5.3 Yep, eclipse-devel built fine and comes up for me, thank you! However, my goal was to get net/azureus working :-) I managed to get that port to build and modified the startup script to find the jars: /opt/bin/java -cp \ :/opt/share/java/classes/azureus.jar:/opt/eclipse/plugins/org.eclipse.swt.gtk.freebsd.amd64_3.1.0.jar:/opt/eclipse/plugins/org.eclipse.swt_3.1.0.jar \ -Djava.library.path=/opt/eclipse/plugins/org.eclipse.swt.gtk.freebsd.amd64_3.1.0.jar \ -Dazureus.config.path=/home/mi/.Azureus -Duser.dir=/home/mi/.Azureus \ org.gudy.azureus2.ui.swt.Main but it still reports on start-up: Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3135 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at java.lang.System.loadLibrary(System.java:992) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123) at org.eclipse.swt.internal.gtk.OS.(OS.java:19) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54) at org.eclipse.swt.widgets.Display.(Display.java:122) at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.(Unknown Source) at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(Unknown Source) at org.gudy.azureus2.ui.swt.mainwindow.Initializer.(Unknown Source) at org.gudy.azureus2.ui.swt.Main.(Unknown Source) at org.gudy.azureus2.ui.swt.Main.main(Unknown Source) The libswt-pi-gtk-3135.so is right there inside org.eclipse.swt.gtk.freebsd.amd64_3.1.0.jar Is not org.eclipse.swt supposed to find it there? If not, why does it put it inside there? Thanks! -mi