From owner-freebsd-java@FreeBSD.ORG Sun Aug 26 18:06:04 2007 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7596E16A417 for ; Sun, 26 Aug 2007 18:06:04 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.224]) by mx1.freebsd.org (Postfix) with ESMTP id 03F3713C457 for ; Sun, 26 Aug 2007 18:06:03 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by hu-out-0506.google.com with SMTP id 28so914194hub for ; Sun, 26 Aug 2007 11:06:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=jciL3CvuZTiF0UfjqFg6Fc+7dghp+3Y9PuG6fENO/VWlF29H8ZyYvPyHoy9FeGdtt+mG43L6zO7iLTU6Omw9mLO1ycIcooXWE/iGrxCcNDEPG/d1qm8rmPKQIPmqzrE1x4033+IsCydtnGOc2qIXyDNnn2eMXQ6yT9Y0yiI193Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=JDblzEFliMImR+JtxBffYBWa9BGXyIc1TJ0gynljsIDv8Zibn1SxRyXlrwNMNJOby6fhp5mWNK6H4M7o8c6TH8fN15Tx+apEy7GOKtBmmqpz7jgaL7B3185EkpqXA7JStps42ZSfenPEY1gv3cHQz7U/kb7IK2ct5lYJr6VrJPw= Received: by 10.82.175.17 with SMTP id x17mr12088576bue.1188151560365; Sun, 26 Aug 2007 11:06:00 -0700 (PDT) Received: from 195-241-214-37.dsl.ip.tiscali.nl ( [195.241.214.37]) by mx.google.com with ESMTPS id d2sm6856335nfc.2007.08.26.11.05.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 26 Aug 2007 11:05:59 -0700 (PDT) Message-ID: <46D1C106.5080304@gmail.com> Date: Sun, 26 Aug 2007 20:05:58 +0200 From: Rene Ladan User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: Indigo 23 , java@freebsd.org References: <6f50eac40708261047o6bcd8459p90cdcd6ee5b9a7d7@mail.gmail.com> In-Reply-To: <6f50eac40708261047o6bcd8459p90cdcd6ee5b9a7d7@mail.gmail.com> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Eclipse 3.2.2 on 7.0-CURRENT 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, 26 Aug 2007 18:06:04 -0000 Indigo 23 schreef: > Anyone have Eclipse 3.2.2 running on 7.0-CURRENT, if so, did you have > to do anything special? > > BTW, I'm using the latest diablo-jdk and jre. > I got Eclipse 3.2.2 running on 7.0-CURRENT (i386) using java/jdk16. Be sure to add -fno-tree-vrp to the CFLAGS in your /etc/make.conf when compiling jdk16. Diablo-jdk doesn't run Eclipse on my box. Whenever I start it, I get back an error 13. Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-java@FreeBSD.ORG Sun Aug 26 18:12:00 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E65E16A469 for ; Sun, 26 Aug 2007 18:12:00 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id F0AB513C48A for ; Sun, 26 Aug 2007 18:11:59 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1791580waf for ; Sun, 26 Aug 2007 11:11:59 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ePt+iVCZ4+EkZ4py49mfjOdtkxm6DpP73dv5kFDyncf0ZSHBe/EP5XDLZ28PXf6VLIzG0S3s1GNSCBX8l9K/bHslL5c+ApO9HO3woHs6TXlYl8FKQ/muKg3h/mDPALL4q14xfUClfFkYJ74KQkFyVRkuuVjrNdr0VB3ToHGoUUQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=BJpcaZxci2gWsU98yMRMi15DLxtMJMItToy7YpYqe+0t54dsBYA9vueW1Cz4fKsl6IXADtDSZ46kj8MaioCOhNaOzpUA2+v7O13084Zz370C5DXoiDGil6XtM4iInDvSG2meUSyHVE9dnJogcuONOW+ruoXVTN2DbxjhQR7JavM= Received: by 10.114.134.1 with SMTP id h1mr3118506wad.1188150447763; Sun, 26 Aug 2007 10:47:27 -0700 (PDT) Received: by 10.115.90.14 with HTTP; Sun, 26 Aug 2007 10:47:27 -0700 (PDT) Message-ID: <6f50eac40708261047o6bcd8459p90cdcd6ee5b9a7d7@mail.gmail.com> Date: Sun, 26 Aug 2007 13:47:27 -0400 From: "Indigo 23" To: freebsd-eclipse@freebsd.org, freebsd-java@freebsd.org, freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Eclipse 3.2.2 on 7.0-CURRENT 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, 26 Aug 2007 18:12:00 -0000 Anyone have Eclipse 3.2.2 running on 7.0-CURRENT, if so, did you have to do anything special? BTW, I'm using the latest diablo-jdk and jre. Thanks. From owner-freebsd-java@FreeBSD.ORG Sun Aug 26 20:12:43 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29DEE16A419; Sun, 26 Aug 2007 20:12:43 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.freebsd.org (Postfix) with ESMTP id 0992A13C45E; Sun, 26 Aug 2007 20:12:43 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.06) with ESMTP id l7QKCgAJ007948 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 26 Aug 2007 13:12:42 -0700 X-Auth-Received: from [192.168.10.45] (c-24-10-12-194.hsd1.ca.comcast.net [24.10.12.194]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l7QKCf12014524 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 26 Aug 2007 13:12:42 -0700 Message-ID: <46D1DEC2.6030003@u.washington.edu> Date: Sun, 26 Aug 2007 13:12:50 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Indigo 23 References: <6f50eac40708261047o6bcd8459p90cdcd6ee5b9a7d7@mail.gmail.com> In-Reply-To: <6f50eac40708261047o6bcd8459p90cdcd6ee5b9a7d7@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.3.310218, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.8.26.124723 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: freebsd-java@freebsd.org, freebsd-ports@freebsd.org, freebsd-eclipse@freebsd.org Subject: Re: Eclipse 3.2.2 on 7.0-CURRENT 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, 26 Aug 2007 20:12:43 -0000 Indigo 23 wrote: > Anyone have Eclipse 3.2.2 running on 7.0-CURRENT, if so, did you have > to do anything special? > > BTW, I'm using the latest diablo-jdk and jre. > > Thanks. AFAIK diablo-jdk / -jre don't work on 7-CURRENT, because the FreeBSD foundation hasn't built a release yet for 7-CURRENT (because it's not a real release yet). HTH, -Garrett From owner-freebsd-java@FreeBSD.ORG Sun Aug 26 20:42:49 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1250216A41B for ; Sun, 26 Aug 2007 20:42:49 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id DF4C313C48D for ; Sun, 26 Aug 2007 20:42:48 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1829817waf for ; Sun, 26 Aug 2007 13:42:48 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rywV2OYpgvUi9pNPqW153D8nig1DKPKL2ED0fh8rtUwRzj1NrVvjhJpX8zeW/my1BZjD29nAAEEEc+vz5BevvNW+z1Z92piZLfANPMIN5MPKDwNb5U8pNDQC4mfE6Yh2I0xdU8uDqX56iY1ntCXHWsWW6msWJ/t/CXR9WIqKBzQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UrFWZU9wSwjtyOKH6QNx2Ntz4FKKEVU8PmKRnF9oo/lRvwzZVExl9G2jkHRf8OoYGQzCCBi1GY6mE6AoJB4m12Mi6zGJtZaPjPFDi2wfwbiDB8M8EIr1FrnfTcs8oo1F01NEdRLqZHRMQ/pL3cOHYWk7Gw5/1Mq+tMeub1w5f3s= Received: by 10.114.131.9 with SMTP id e9mr1793589wad.1188160968042; Sun, 26 Aug 2007 13:42:48 -0700 (PDT) Received: by 10.115.90.14 with HTTP; Sun, 26 Aug 2007 13:42:47 -0700 (PDT) Message-ID: <6f50eac40708261342g264789dx66d817fe9248d112@mail.gmail.com> Date: Sun, 26 Aug 2007 16:42:47 -0400 From: "Indigo 23" To: "Rene Ladan" In-Reply-To: <46D1C106.5080304@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6f50eac40708261047o6bcd8459p90cdcd6ee5b9a7d7@mail.gmail.com> <46D1C106.5080304@gmail.com> Cc: java@freebsd.org, youshi10@u.washington.edu, freebsd-eclipse@freebsd.org, freebsd-ports@freebsd.org, freebsd-java@freebsd.org Subject: Re: Eclipse 3.2.2 on 7.0-CURRENT 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, 26 Aug 2007 20:42:49 -0000 On 8/26/07, Rene Ladan wrote: > Indigo 23 schreef: > > Anyone have Eclipse 3.2.2 running on 7.0-CURRENT, if so, did you have > > to do anything special? > > > > BTW, I'm using the latest diablo-jdk and jre. > > > I got Eclipse 3.2.2 running on 7.0-CURRENT (i386) using java/jdk16. Be sure to add > -fno-tree-vrp to the CFLAGS in your /etc/make.conf when compiling jdk16. > > Diablo-jdk doesn't run Eclipse on my box. Whenever I start it, I get back an error 13. I was using the diablo-jdk/jre, and the strange thing is that NetBeans (5.5.1) seems to run fine with it, but Eclipse spits out this error message during startup: "JVM terminated. Exit code=1 /usr/local/bin/java -Xms40m -Xmx256m -jar /usr/local/eclipse/startup.jar -os freebsd -ws gtk -arch x86 -launcher /usr/local/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 20017 -vm /usr/local/bin/java -vmargs -Xms40m -Xmx256m -jar /usr/local/eclipse/startup.jar" I'll try with jdk16 as you suggested. Thanks. From owner-freebsd-java@FreeBSD.ORG Sun Aug 26 21:08:23 2007 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCD6716A417 for ; Sun, 26 Aug 2007 21:08:23 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id 96FC513C474 for ; Sun, 26 Aug 2007 21:08:23 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1836035waf for ; Sun, 26 Aug 2007 14:08:22 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rywV2OYpgvUi9pNPqW153D8nig1DKPKL2ED0fh8rtUwRzj1NrVvjhJpX8zeW/my1BZjD29nAAEEEc+vz5BevvNW+z1Z92piZLfANPMIN5MPKDwNb5U8pNDQC4mfE6Yh2I0xdU8uDqX56iY1ntCXHWsWW6msWJ/t/CXR9WIqKBzQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UrFWZU9wSwjtyOKH6QNx2Ntz4FKKEVU8PmKRnF9oo/lRvwzZVExl9G2jkHRf8OoYGQzCCBi1GY6mE6AoJB4m12Mi6zGJtZaPjPFDi2wfwbiDB8M8EIr1FrnfTcs8oo1F01NEdRLqZHRMQ/pL3cOHYWk7Gw5/1Mq+tMeub1w5f3s= Received: by 10.114.131.9 with SMTP id e9mr1793589wad.1188160968042; Sun, 26 Aug 2007 13:42:48 -0700 (PDT) Received: by 10.115.90.14 with HTTP; Sun, 26 Aug 2007 13:42:47 -0700 (PDT) Message-ID: <6f50eac40708261342g264789dx66d817fe9248d112@mail.gmail.com> Date: Sun, 26 Aug 2007 16:42:47 -0400 From: "Indigo 23" To: "Rene Ladan" In-Reply-To: <46D1C106.5080304@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6f50eac40708261047o6bcd8459p90cdcd6ee5b9a7d7@mail.gmail.com> <46D1C106.5080304@gmail.com> Cc: java@freebsd.org, youshi10@u.washington.edu, freebsd-eclipse@freebsd.org, freebsd-ports@freebsd.org, freebsd-java@freebsd.org Subject: Re: Eclipse 3.2.2 on 7.0-CURRENT 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, 26 Aug 2007 21:08:23 -0000 On 8/26/07, Rene Ladan wrote: > Indigo 23 schreef: > > Anyone have Eclipse 3.2.2 running on 7.0-CURRENT, if so, did you have > > to do anything special? > > > > BTW, I'm using the latest diablo-jdk and jre. > > > I got Eclipse 3.2.2 running on 7.0-CURRENT (i386) using java/jdk16. Be sure to add > -fno-tree-vrp to the CFLAGS in your /etc/make.conf when compiling jdk16. > > Diablo-jdk doesn't run Eclipse on my box. Whenever I start it, I get back an error 13. I was using the diablo-jdk/jre, and the strange thing is that NetBeans (5.5.1) seems to run fine with it, but Eclipse spits out this error message during startup: "JVM terminated. Exit code=1 /usr/local/bin/java -Xms40m -Xmx256m -jar /usr/local/eclipse/startup.jar -os freebsd -ws gtk -arch x86 -launcher /usr/local/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 20017 -vm /usr/local/bin/java -vmargs -Xms40m -Xmx256m -jar /usr/local/eclipse/startup.jar" I'll try with jdk16 as you suggested. Thanks. From owner-freebsd-java@FreeBSD.ORG Sun Aug 26 23:56:16 2007 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2149816A419 for ; Sun, 26 Aug 2007 23:56:16 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id E4E2F13C459 for ; Sun, 26 Aug 2007 23:56:15 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1877840waf for ; Sun, 26 Aug 2007 16:56:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dBh9kYcV9OjyJ9pCc9Jof+de5RTM7kYUVgNkEIAvcBSYUxSFkjx+DF2FcpNnWmEdfNZiwOFAcr8NivH064VYT0Tv0b9c6Oq2/4+e9u1xQid/wpwnUSGiWMXFQLDTTLSkbOK2t+z4u4AWEOj7uSwCSapGMUUaoZSXN737BK+EPGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VjU8Kimao9GmhMu21hdzIckagpQGmF5jHzoCtPfkEGIjw6YQKSSWLGwNG9ewkn1vrihaOtLMzg/eF2UYpOdJrQYPUH3gwQI17Ktli73wjCZs8Ak4ZJ9OgdYthzoj380vMBgleluvAO3eOUs1EQkcGYIpNJnoJ8jLmtZy+bo7L7A= Received: by 10.114.174.2 with SMTP id w2mr1203118wae.1188172575462; Sun, 26 Aug 2007 16:56:15 -0700 (PDT) Received: by 10.115.90.14 with HTTP; Sun, 26 Aug 2007 16:56:15 -0700 (PDT) Message-ID: <6f50eac40708261656m6b789e39if336c1eab3c7e056@mail.gmail.com> Date: Sun, 26 Aug 2007 19:56:15 -0400 From: "Indigo 23" To: "Rene Ladan" In-Reply-To: <6f50eac40708261342g264789dx66d817fe9248d112@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6f50eac40708261047o6bcd8459p90cdcd6ee5b9a7d7@mail.gmail.com> <46D1C106.5080304@gmail.com> <6f50eac40708261342g264789dx66d817fe9248d112@mail.gmail.com> Cc: java@freebsd.org, youshi10@u.washington.edu, freebsd-eclipse@freebsd.org, freebsd-ports@freebsd.org, freebsd-java@freebsd.org Subject: Re: Eclipse 3.2.2 on 7.0-CURRENT 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, 26 Aug 2007 23:56:16 -0000 I was just wondering how to switch between diablo/jdk16 on a system-wide level? So that when invoking javac/java, it invokes the one I have set (either jdk16 or diablo). Also, how can I force Eclipse to build with JDK16 rather than diablo? Thanks. On 8/26/07, Indigo 23 wrote: > On 8/26/07, Rene Ladan wrote: > > Indigo 23 schreef: > > > Anyone have Eclipse 3.2.2 running on 7.0-CURRENT, if so, did you have > > > to do anything special? > > > > > > BTW, I'm using the latest diablo-jdk and jre. > > > > > I got Eclipse 3.2.2 running on 7.0-CURRENT (i386) using java/jdk16. Be sure to add > > -fno-tree-vrp to the CFLAGS in your /etc/make.conf when compiling jdk16. > > > > Diablo-jdk doesn't run Eclipse on my box. Whenever I start it, I get back an error 13. > > I was using the diablo-jdk/jre, and the strange thing is that NetBeans > (5.5.1) seems to run fine with it, but Eclipse spits out this error > message during startup: > > "JVM terminated. Exit code=1 > /usr/local/bin/java > -Xms40m > -Xmx256m > -jar /usr/local/eclipse/startup.jar > -os freebsd > -ws gtk > -arch x86 > -launcher /usr/local/eclipse/eclipse > -name Eclipse > -showsplash 600 > -exitdata 20017 > -vm /usr/local/bin/java > -vmargs > -Xms40m > -Xmx256m > -jar /usr/local/eclipse/startup.jar" > > I'll try with jdk16 as you suggested. > > Thanks. > From owner-freebsd-java@FreeBSD.ORG Sun Aug 26 23:56:16 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21C8616A41A for ; Sun, 26 Aug 2007 23:56:16 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id E80DE13C45D for ; Sun, 26 Aug 2007 23:56:15 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1877841waf for ; Sun, 26 Aug 2007 16:56:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dBh9kYcV9OjyJ9pCc9Jof+de5RTM7kYUVgNkEIAvcBSYUxSFkjx+DF2FcpNnWmEdfNZiwOFAcr8NivH064VYT0Tv0b9c6Oq2/4+e9u1xQid/wpwnUSGiWMXFQLDTTLSkbOK2t+z4u4AWEOj7uSwCSapGMUUaoZSXN737BK+EPGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VjU8Kimao9GmhMu21hdzIckagpQGmF5jHzoCtPfkEGIjw6YQKSSWLGwNG9ewkn1vrihaOtLMzg/eF2UYpOdJrQYPUH3gwQI17Ktli73wjCZs8Ak4ZJ9OgdYthzoj380vMBgleluvAO3eOUs1EQkcGYIpNJnoJ8jLmtZy+bo7L7A= Received: by 10.114.174.2 with SMTP id w2mr1203118wae.1188172575462; Sun, 26 Aug 2007 16:56:15 -0700 (PDT) Received: by 10.115.90.14 with HTTP; Sun, 26 Aug 2007 16:56:15 -0700 (PDT) Message-ID: <6f50eac40708261656m6b789e39if336c1eab3c7e056@mail.gmail.com> Date: Sun, 26 Aug 2007 19:56:15 -0400 From: "Indigo 23" To: "Rene Ladan" In-Reply-To: <6f50eac40708261342g264789dx66d817fe9248d112@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6f50eac40708261047o6bcd8459p90cdcd6ee5b9a7d7@mail.gmail.com> <46D1C106.5080304@gmail.com> <6f50eac40708261342g264789dx66d817fe9248d112@mail.gmail.com> Cc: java@freebsd.org, youshi10@u.washington.edu, freebsd-eclipse@freebsd.org, freebsd-ports@freebsd.org, freebsd-java@freebsd.org Subject: Re: Eclipse 3.2.2 on 7.0-CURRENT 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, 26 Aug 2007 23:56:16 -0000 I was just wondering how to switch between diablo/jdk16 on a system-wide level? So that when invoking javac/java, it invokes the one I have set (either jdk16 or diablo). Also, how can I force Eclipse to build with JDK16 rather than diablo? Thanks. On 8/26/07, Indigo 23 wrote: > On 8/26/07, Rene Ladan wrote: > > Indigo 23 schreef: > > > Anyone have Eclipse 3.2.2 running on 7.0-CURRENT, if so, did you have > > > to do anything special? > > > > > > BTW, I'm using the latest diablo-jdk and jre. > > > > > I got Eclipse 3.2.2 running on 7.0-CURRENT (i386) using java/jdk16. Be sure to add > > -fno-tree-vrp to the CFLAGS in your /etc/make.conf when compiling jdk16. > > > > Diablo-jdk doesn't run Eclipse on my box. Whenever I start it, I get back an error 13. > > I was using the diablo-jdk/jre, and the strange thing is that NetBeans > (5.5.1) seems to run fine with it, but Eclipse spits out this error > message during startup: > > "JVM terminated. Exit code=1 > /usr/local/bin/java > -Xms40m > -Xmx256m > -jar /usr/local/eclipse/startup.jar > -os freebsd > -ws gtk > -arch x86 > -launcher /usr/local/eclipse/eclipse > -name Eclipse > -showsplash 600 > -exitdata 20017 > -vm /usr/local/bin/java > -vmargs > -Xms40m > -Xmx256m > -jar /usr/local/eclipse/startup.jar" > > I'll try with jdk16 as you suggested. > > Thanks. > From owner-freebsd-java@FreeBSD.ORG Mon Aug 27 00:23:23 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF36716A418 for ; Mon, 27 Aug 2007 00:23:23 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 9D82413C459 for ; Mon, 27 Aug 2007 00:23:23 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id l7R0NMXx095062; Sun, 26 Aug 2007 17:23:22 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id l7R0NL2h095061; Sun, 26 Aug 2007 17:23:21 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sun, 26 Aug 2007 17:23:20 -0700 From: Greg Lewis To: Garrett Cooper Message-ID: <20070827002320.GA93996@misty.eyesbeyond.com> References: <6f50eac40708261047o6bcd8459p90cdcd6ee5b9a7d7@mail.gmail.com> <46D1DEC2.6030003@u.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46D1DEC2.6030003@u.washington.edu> User-Agent: Mutt/1.4.2.2i Cc: Indigo 23 , freebsd-eclipse@freebsd.org, freebsd-ports@freebsd.org, freebsd-java@freebsd.org Subject: Re: Eclipse 3.2.2 on 7.0-CURRENT 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: Mon, 27 Aug 2007 00:23:24 -0000 On Sun, Aug 26, 2007 at 01:12:50PM -0700, Garrett Cooper wrote: > Indigo 23 wrote: > >Anyone have Eclipse 3.2.2 running on 7.0-CURRENT, if so, did you have > >to do anything special? > > > >BTW, I'm using the latest diablo-jdk and jre. > > > >Thanks. > AFAIK diablo-jdk / -jre don't work on 7-CURRENT, because the FreeBSD > foundation hasn't built a release yet for 7-CURRENT (because it's not a > real release yet). It should work with the compat6x port. FYI, the fact that 7.x hasn't had a release yet pretty much rules out doing a binary for it. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Mon Aug 27 00:26:13 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31A7116A419; Mon, 27 Aug 2007 00:26:13 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.freebsd.org (Postfix) with ESMTP id 0E5F113C459; Mon, 27 Aug 2007 00:26:13 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.06) with ESMTP id l7R0Q4I6008885 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 26 Aug 2007 17:26:04 -0700 X-Auth-Received: from [192.168.10.45] (c-24-10-12-194.hsd1.ca.comcast.net [24.10.12.194]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l7R0Q3Gq025117 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 26 Aug 2007 17:26:04 -0700 Message-ID: <46D21A24.9010406@u.washington.edu> Date: Sun, 26 Aug 2007 17:26:12 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Greg Lewis References: <6f50eac40708261047o6bcd8459p90cdcd6ee5b9a7d7@mail.gmail.com> <46D1DEC2.6030003@u.washington.edu> <20070827002320.GA93996@misty.eyesbeyond.com> In-Reply-To: <20070827002320.GA93996@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.3.310218, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.8.26.170327 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: Indigo 23 , freebsd-eclipse@freebsd.org, freebsd-ports@freebsd.org, freebsd-java@freebsd.org Subject: Re: Eclipse 3.2.2 on 7.0-CURRENT 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: Mon, 27 Aug 2007 00:26:13 -0000 Greg Lewis wrote: > On Sun, Aug 26, 2007 at 01:12:50PM -0700, Garrett Cooper wrote: > >> Indigo 23 wrote: >> >>> Anyone have Eclipse 3.2.2 running on 7.0-CURRENT, if so, did you have >>> to do anything special? >>> >>> BTW, I'm using the latest diablo-jdk and jre. >>> >>> Thanks. >>> >> AFAIK diablo-jdk / -jre don't work on 7-CURRENT, because the FreeBSD >> foundation hasn't built a release yet for 7-CURRENT (because it's not a >> real release yet). >> > > It should work with the compat6x port. > > FYI, the fact that 7.x hasn't had a release yet pretty much rules out > doing a binary for it. Threaded library stuff was broken in 7.x for Java until as of late (IIRC). You may want to inspect those threads in current@ to determine whether or not it's possible or ask on the list. -Garrett From owner-freebsd-java@FreeBSD.ORG Mon Aug 27 01:47:42 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED24C16A41B for ; Mon, 27 Aug 2007 01:47:42 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.238]) by mx1.freebsd.org (Postfix) with ESMTP id 96D9613C46C for ; Mon, 27 Aug 2007 01:47:42 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so799670wra for ; Sun, 26 Aug 2007 18:47:41 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ezsys7BPDiBA+OzqnC51ENEjyRv6tYaAThOUKx4LrPly9Da9OhbIedOVTEuMzI8ki/T6EMQA/DNkdNUXxYuDw3OLEF3wl7bBNGyFot1XS5hIDXftZReEWbze5daJyCk2flWR7DibQ53op51B68Pa4+jp2rYhVVLFOem+DRxOOVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=W5JpbMJcrMG6WXsv5zu7YPdHHxcCRE04auyUZYJS8e0E74wJ5hcm/HoZrail952ehNtRjV0ofJFUnhNwxQn1SFtHwjlN02CIe3l8h0DdBrv3nTHZP/3HV5hGAI7YBRv/pmKM6ay1D6/hU0zbf4OaPhCCuj7kynznTpaHNILtyq4= Received: by 10.114.67.2 with SMTP id p2mr1039835waa.1188179260414; Sun, 26 Aug 2007 18:47:40 -0700 (PDT) Received: by 10.115.90.14 with HTTP; Sun, 26 Aug 2007 18:47:40 -0700 (PDT) Message-ID: <6f50eac40708261847n5318e31j6968c01644139ea5@mail.gmail.com> Date: Sun, 26 Aug 2007 21:47:40 -0400 From: "Indigo 23" To: "Garrett Cooper" In-Reply-To: <46D21A24.9010406@u.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6f50eac40708261047o6bcd8459p90cdcd6ee5b9a7d7@mail.gmail.com> <46D1DEC2.6030003@u.washington.edu> <20070827002320.GA93996@misty.eyesbeyond.com> <46D21A24.9010406@u.washington.edu> Cc: freebsd-eclipse@freebsd.org, freebsd-ports@freebsd.org, freebsd-java@freebsd.org Subject: Re: Eclipse 3.2.2 on 7.0-CURRENT 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: Mon, 27 Aug 2007 01:47:43 -0000 Thanks for the info. Do you know if there is there any way to choose which JDK to use when building/running things like Eclipse? I have both JDK16 and diablo-jdk15 installed. On 8/26/07, Garrett Cooper wrote: > Greg Lewis wrote: > > On Sun, Aug 26, 2007 at 01:12:50PM -0700, Garrett Cooper wrote: > > > >> Indigo 23 wrote: > >> > >>> Anyone have Eclipse 3.2.2 running on 7.0-CURRENT, if so, did you have > >>> to do anything special? > >>> > >>> BTW, I'm using the latest diablo-jdk and jre. > >>> > >>> Thanks. > >>> > >> AFAIK diablo-jdk / -jre don't work on 7-CURRENT, because the FreeBSD > >> foundation hasn't built a release yet for 7-CURRENT (because it's not a > >> real release yet). > >> > > > > It should work with the compat6x port. > > > > FYI, the fact that 7.x hasn't had a release yet pretty much rules out > > doing a binary for it. > > Threaded library stuff was broken in 7.x for Java until as of late > (IIRC). You may want to inspect those threads in current@ to determine > whether or not it's possible or ask on the list. > -Garrett > From owner-freebsd-java@FreeBSD.ORG Mon Aug 27 11:08:25 2007 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF5F216A418 for ; Mon, 27 Aug 2007 11:08:25 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CA92313C4A5 for ; Mon, 27 Aug 2007 11:08:25 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7RB8P0M020576 for ; Mon, 27 Aug 2007 11:08:25 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7RB8OBH020572 for freebsd-java@FreeBSD.org; Mon, 27 Aug 2007 11:08:24 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 Aug 2007 11:08:24 GMT Message-Id: <200708271108.l7RB8OBH020572@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 27 Aug 2007 11:08:26 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/60083 java Unsafe use of getaddrinfo in jvm 1.4.2-p5 f java/72151 java JVM crash on 5.2.1-R o java/76631 java any port linux-*-jdk12 will core dump if using linux_b o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/110912 java Java krb5 client leaks UDP connections o java/112595 java Java appletviewer frequently hangs (kse_release loop) o ports/113467 java Multiple "missing return value" errors building JDK on o java/114644 java tomcat goes out of PermSpace, jvm crashes 8 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext f java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires f ports/91244 java Bad instruction on making process of jdk14 o java/97461 java Diablo JDK does not report Update level in a format su o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/115279 java [UPDATE] java/java3d to 1.5.1 o java/115773 java java.nio channel selectors should use kqueue/kevent in 8 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Aug 27 13:53:10 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E9F416A468 for ; Mon, 27 Aug 2007 13:53:10 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id 2E36313C483 for ; Mon, 27 Aug 2007 13:53:09 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1397798wxd for ; Mon, 27 Aug 2007 06:53:09 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IjKw1n/b3OiWUAt9fm7Dofxu2LZ+qVT6lvwHbu+vNy/XpLy0EKf4yNyfnpSNP6ukXatk4Qe6ZqhpNUi/Nt3HG5lgwObpA7M3g6n+Wv2B1bLuvu1lF/eMLkKM+P+RSfhhRyMrnXETfoR/DvW5mDG3S8T0O9N9KBbwwvyR2usKDXU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rf2O8JO/7+cui8OgF1fdBWKL5n06bxf0iK1jXEN7bSvfhJE0ZfMXiNm/ARI1/VpofANK/rT3hd3R14w6oBf7gg5ZUtZDNMuZefGGhCLCs9b0SCEWI9Dt6Yf/xYnlm7aRXEofXFwV05HB+Kvqyh0LocEmPGxKePLPCL4zrAIZDeE= Received: by 10.90.34.3 with SMTP id h3mr5152778agh.1188222788921; Mon, 27 Aug 2007 06:53:08 -0700 (PDT) Received: by 10.90.106.19 with HTTP; Mon, 27 Aug 2007 06:53:08 -0700 (PDT) Message-ID: Date: Mon, 27 Aug 2007 08:53:08 -0500 From: Matt To: "Indigo 23" In-Reply-To: <6f50eac40708261847n5318e31j6968c01644139ea5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6f50eac40708261047o6bcd8459p90cdcd6ee5b9a7d7@mail.gmail.com> <46D1DEC2.6030003@u.washington.edu> <20070827002320.GA93996@misty.eyesbeyond.com> <46D21A24.9010406@u.washington.edu> <6f50eac40708261847n5318e31j6968c01644139ea5@mail.gmail.com> Cc: Garrett Cooper , freebsd-java@freebsd.org, freebsd-ports@freebsd.org, freebsd-eclipse@freebsd.org Subject: Re: Eclipse 3.2.2 on 7.0-CURRENT 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: Mon, 27 Aug 2007 13:53:10 -0000 On 8/26/07, Indigo 23 wrote: > > Do you know if there is there any way to choose which JDK to use when > building/running things like Eclipse? > > I have both JDK16 and diablo-jdk15 installed. > I have this accomplished by adding the following lines to my /usr/local/etc/javavm_opts.conf file: JAVA_HOME=/usr/local/jdk1.6.0 JAVA_OS=native JAVA_VENDOR=freebsd JAVA_VERSION=1.6 From owner-freebsd-java@FreeBSD.ORG Mon Aug 27 16:13:45 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F46316A421 for ; Mon, 27 Aug 2007 16:13:45 +0000 (UTC) (envelope-from falexsandro@inbox.com) Received: from WM30.inbox.com (wm30.inbox.com [208.50.6.30]) by mx1.freebsd.org (Postfix) with SMTP id 0C0D813C442 for ; Mon, 27 Aug 2007 16:13:44 +0000 (UTC) (envelope-from falexsandro@inbox.com) Received: from inbox.com (127.0.0.1:25) by inbox.com with [InBox.Com SMTP Server] id <708270014460.WM30> for from ; Mon, 27 Aug 2007 7:08:18 AM -0800 Received: from falexsandro@inbox.com by (208.50.6.137:25) via WM30.inbox.com (201.22.61.34:1467) with [InBox.Com SMTP Server] id 708270010378.WM37; Mon, 27 Aug 2007 07:08:16 -0800 Message-ID: <46D2E8D5.4030001@inbox.com> Date: Mon, 27 Aug 2007 12:08:05 -0300 From: Flavio Alexsandro Silva User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070716 SeaMonkey/1.1.3 MIME-Version: 1.0 To: Indigo 23 , freebsd-java@freebsd.org References: <6f50eac40708261047o6bcd8459p90cdcd6ee5b9a7d7@mail.gmail.com> <46D1DEC2.6030003@u.washington.edu> <20070827002320.GA93996@misty.eyesbeyond.com> <46D21A24.9010406@u.washington.edu> <6f50eac40708261847n5318e31j6968c01644139ea5@mail.gmail.com> In-Reply-To: <6f50eac40708261847n5318e31j6968c01644139ea5@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-IWM-ACU: 9jJkEnoTt3E-ADIGpHyCExJqzbwuOkrCUBJmCYNu0knnyWm2RM6VpBEvzeX6 oT9ddZbE_rG-LOhPhNMNvK78YxbTKZZg_8A_wRm3EjAgw5cisab03hpv0__b P Cc: Subject: Re: Eclipse 3.2.2 on 7.0-CURRENT 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: Mon, 27 Aug 2007 16:13:45 -0000 Indigo 23 wrote: > Thanks for the info. > > Do you know if there is there any way to choose which JDK to use when > building/running things like Eclipse? > > I have both JDK16 and diablo-jdk15 installed. > > On 8/26/07, Garrett Cooper wrote: > >> Greg Lewis wrote: >> >>> On Sun, Aug 26, 2007 at 01:12:50PM -0700, Garrett Cooper wrote: >>> >>> >>>> Indigo 23 wrote: >>>> >>>> >>>>> Anyone have Eclipse 3.2.2 running on 7.0-CURRENT, if so, did you have >>>>> to do anything special? >>>>> >>>>> BTW, I'm using the latest diablo-jdk and jre. >>>>> >>>>> Thanks. >>>>> >>>>> >>>> AFAIK diablo-jdk / -jre don't work on 7-CURRENT, because the FreeBSD >>>> foundation hasn't built a release yet for 7-CURRENT (because it's not a >>>> real release yet). >>>> >>>> >>> It should work with the compat6x port. >>> >>> FYI, the fact that 7.x hasn't had a release yet pretty much rules out >>> doing a binary for it. >>> >> Threaded library stuff was broken in 7.x for Java until as of late >> (IIRC). You may want to inspect those threads in current@ to determine >> whether or not it's possible or ask on the list. >> -Garrett >> >> > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > > One of the way, is the latest installed JDK... Another is to use the jvmwrapper to configure! And about the eclipse... I'm running the eclipse 3.2.2 and Netbeans 5.5.1 in a FreeBSD 7-Current (yesterday cvs-checkout), but i'm using the jdk1.5 port build, not the diablo-jdk!!! -- Flávio -- Flávio Alexsandro Silva "Unix is user friendly. It's just selective about who its friends are." "Linux is for people who hate Windows. BSD is for people who love UNIX." From owner-freebsd-java@FreeBSD.ORG Mon Aug 27 18:27:25 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAD6316A41A for ; Mon, 27 Aug 2007 18:27:25 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.178]) by mx1.freebsd.org (Postfix) with ESMTP id 93AB313C457 for ; Mon, 27 Aug 2007 18:27:25 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: by el-out-1112.google.com with SMTP id s27so291451ele for ; Mon, 27 Aug 2007 11:27:25 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CiyBqIY/sQXt8nSUWFEo7TQmbTtOZh/yAGTWnt57AlYxBBjrQdZw3ZW1whVIxmpxLbNRsuSNa9IqRBR8myyhebZF4gutOEVTWlwYxaitDCj5pCSsirD0/ISl2+Y4cAtGh0vN5EDatutxZKcvvV3ZrFAlvOtRvVuMz3GDgNbBoik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IuuJNZ95aqDdsvNa/KI+WiffQ7JtwjtgjV5jNxKOgIbQ7IHPzlxx4tcLOXKTy0tpCJXIjDBzYKchhFa4Z/iWDlh1mYJUgXaMAR2lCusfr1cSe7ksbzbiTnJXz/tBcI1cYnNvif03+rkfKFcbwcvDgjZ6bUOJB1Q9km9Vc+R2Eps= Received: by 10.114.177.1 with SMTP id z1mr1133963wae.1188239241137; Mon, 27 Aug 2007 11:27:21 -0700 (PDT) Received: by 10.115.90.14 with HTTP; Mon, 27 Aug 2007 11:27:20 -0700 (PDT) Message-ID: <6f50eac40708271127k4962b6b4j98fb5531f5fbfcff@mail.gmail.com> Date: Mon, 27 Aug 2007 14:27:20 -0400 From: "Indigo 23" To: Matt In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6f50eac40708261047o6bcd8459p90cdcd6ee5b9a7d7@mail.gmail.com> <46D1DEC2.6030003@u.washington.edu> <20070827002320.GA93996@misty.eyesbeyond.com> <46D21A24.9010406@u.washington.edu> <6f50eac40708261847n5318e31j6968c01644139ea5@mail.gmail.com> Cc: falexsandro@inbox.com, Garrett Cooper , freebsd-java@freebsd.org, freebsd-ports@freebsd.org, freebsd-eclipse@freebsd.org Subject: Re: Eclipse 3.2.2 on 7.0-CURRENT 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: Mon, 27 Aug 2007 18:27:25 -0000 Thanks for the info. On 8/27/07, Matt wrote: > On 8/26/07, Indigo 23 wrote: > > > > Do you know if there is there any way to choose which JDK to use when > > building/running things like Eclipse? > > > > I have both JDK16 and diablo-jdk15 installed. > > > > I have this accomplished by adding the following lines to my > /usr/local/etc/javavm_opts.conf file: > > JAVA_HOME=/usr/local/jdk1.6.0 > JAVA_OS=native > JAVA_VENDOR=freebsd > JAVA_VERSION=1.6 > From owner-freebsd-java@FreeBSD.ORG Mon Aug 27 19:50:44 2007 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC41716A417 for ; Mon, 27 Aug 2007 19:50:44 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net (neerbosch.nijmegen.internl.net [217.149.193.38]) by mx1.freebsd.org (Postfix) with ESMTP id 68C8913C48A for ; Mon, 27 Aug 2007 19:50:44 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net by neerbosch.nijmegen.internl.net via neerbosch.nijmegen.internl.net [217.149.193.38] with ESMTP id l7RJoe7L018192 (8.13.4/1.4); Mon, 27 Aug 2007 21:50:40 +0200 (MEST) Received: from localhost by neerbosch.nijmegen.internl.net via mboland@localhost with ESMTP id l7RJoer6018189 (8.13.4/2.02); Mon, 27 Aug 2007 21:50:40 +0200 (MEST) X-Authentication-Warning: neerbosch.nijmegen.internl.net: mboland owned process doing -bs Date: Mon, 27 Aug 2007 21:50:40 +0200 (MEST) From: Michiel Boland To: Ronald Klop In-Reply-To: <1187200271.50815@guido.klop.ws> Message-ID: References: <1187200271.50815@guido.klop.ws> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: bug-followup@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: java/115557: jdk1.6.0: Runtime.exec(...) fails always 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: Mon, 27 Aug 2007 19:50:44 -0000 In jdk 1.6 there is some magic performed via file descriptor 3 in j2se/src/solaris/native/java/lang/UNIXProcess_md.c that was not in jdk15. The problem is that the closeDescriptors() function in the patchset was not updated to take this into account. diff -ur bsd-jdk16-patches-1.orig/jdk16.patches bsd-jdk16-patches-1/jdk16.patches --- bsd-jdk16-patches-1.orig/jdk16.patches 2007-07-24 09:05:48.000000000 +0200 +++ bsd-jdk16-patches-1/jdk16.patches 2007-08-27 20:44:20.000000000 +0200 @@ -80764,7 +80764,7 @@ +static int +closeDescriptors(void) +{ -+ return _thread_sys_closefrom(3); ++ return _thread_sys_closefrom(FAIL_FILENO + 1); +} + +#elif defined(_ALLBSD_SOURCE) @@ -80782,7 +80782,7 @@ + /* + * BSDNOTE: There's no known way to find list of all open file descriptors + * associated with process in FreeBSD. Therefore we have to pass from -+ * fd == 3 to maximum fd per process number. It's possible to retrive ++ * fd == FAIL_FILENO + 1 to maximum fd per process number. It's possible to retrive + * max number of fd's with three ways: sysctl(kern.maxfilesperproc), + * getrlimit(RLIMIT_NOFILE) and getdtablesize(). In current implementation + * getdtablesize() returns MIN() of first two ways. @@ -80797,7 +80797,7 @@ + max_fd = getdtablesize(); + ebadf = 0; + -+ for (i = 3; i < max_fd; i++) { ++ for (i = FAIL_FILENO + 1; i < max_fd; i++) { + if (close(i) < 0) { ebadf++; } else { ebadf = 0; } + /* + * GUESS_FINISHED subsequent calls to close() returned EBADF, assume From owner-freebsd-java@FreeBSD.ORG Tue Aug 28 15:11:22 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CB2E16A420 for ; Tue, 28 Aug 2007 15:11:22 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id BB16413C4D0 for ; Tue, 28 Aug 2007 15:11:21 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id l7SFBKLe007346; Tue, 28 Aug 2007 08:11:20 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id l7SFBJuh007345; Tue, 28 Aug 2007 08:11:19 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 28 Aug 2007 08:11:19 -0700 From: Greg Lewis To: Nick Johnson Message-ID: <20070828151119.GA7309@misty.eyesbeyond.com> References: <20070823111051.N82369@turing> <20070823114932.C82369@turing> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070823114932.C82369@turing> User-Agent: Mutt/1.4.2.2i Cc: freebsd-java@freebsd.org Subject: Re: making nio use kevent/kqueue 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: Tue, 28 Aug 2007 15:11:22 -0000 G'day Nick, On Thu, Aug 23, 2007 at 12:12:55PM -0700, Nick Johnson wrote: > Looking at it a bit more, it looks like the "right" thing to do is to > create a KeventArrayWrapper, possibly based on the EPollArrayWrapper.c so > that multiple ready FDs can be returned at one time. > > That means creating a KeventArrayWrapper.java based on > j2se/src/solaris/classes/sun/nio/ch/EPollArrayWrapper.java as well as a > KeventSelectorImpl.java based on EPollSelectorImpl.java and > KeventSelectorProvider.java based on EPollSelectorProvider.java. > > It also means modifying > src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java to select the > KeventSelectorProvider and possibly tweaking some makefiles to ensure that > everything gets built, including: > > make/java/nio/Makefile > make/java/nio/mapfile* (do we end up using mapfile-linux or > mapfile-solaris?) Ummm mapfile-bsd :). FWIW, I think this would be a great addition to the BSD port of the JDK. I'd really encourage you to give it a try. If you get something going to the point where you want to place it under version control then please feel free to talk to me about access to the porting team's repo. > On Thu, 23 Aug 2007, Nick Johnson wrote: > > > I think there could be a considerable performance gain if java.nio were > > tweaked to use kevent/kqueue(2) as opposed to poll(2). > > > > It looks like the files that would need to be touched for this are: > > > > j2se/src/solaris/native/sun/nio/ch/ > > DevPollArrayWrapper.c (not sure about this one actually since > > FreeBSD doesn't use /dev/poll) > > PollArrayWrapper.c > > SocketChannelImpl.c > > > > Does that sound about right? I see select(2) and poll(2) used in other > > places as well, though outside of nio where they're likely to show the > > greatest benefit. > > > > Are there any caveats or "gotchas" I should be aware if should I decide to > > take some free time to try to come up with a kevent patch for nio? > > > > Also, is there a quicker way to build a JVM when just changing a file or > > two like this? It would be lousy to have to wait 2 hours to build after > > every minor change... The build process is mostly smart enough to just rebuild the affected files. You might want to convince it that you don't want to build a release image every time though (I forget what controls this). If you wanted to you could also set up the appropriate environment variables and just build in the specific "make" directory for your changes. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Tue Aug 28 15:15:19 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E95B916A41A for ; Tue, 28 Aug 2007 15:15:18 +0000 (UTC) (envelope-from 4sinfo@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id BEAEA13C480 for ; Tue, 28 Aug 2007 15:15:18 +0000 (UTC) (envelope-from 4sinfo@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so2549092waf for ; Tue, 28 Aug 2007 08:15:18 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:from:to:subject:date:mime-version:content-type:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=MCBvlpai5JfZvLPrdmkC7eyl9jS5D90P2HKxriN+FwNNqXTeq8b6a1DDdeXI3V52GoEAvVLUzE9WVew5LogJaTMwaAX0p5Dum8LiQ5EKFIgHLytnvvSZaUnR4ZEVo22DPwhtf+ICHwH7/CvHYUamXtPP0IqKHQzcrfgRrgYUyhY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:from:to:subject:date:mime-version:content-type:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=I25xvODhTSETDinj6d5WRP3i1uDNi9f93t0pZO03a22sOgn/DzVjh9kiqWUshE7LBtpq2CvFuPXaea4oteWaN8hOyL+I8/+HggtoPIclJMj5janDNDuIrNMiks+iw9TYfCyh1tmTWiUiPtIuinuJjsxRM0dTdUqCzNQ3/+EVPN8= Received: by 10.114.198.1 with SMTP id v1mr801030waf.1188313229444; Tue, 28 Aug 2007 08:00:29 -0700 (PDT) Received: from intech5 ( [125.63.77.194]) by mx.google.com with ESMTPS id v35sm10902388wah.2007.08.28.08.00.25 (version=SSLv3 cipher=RC4-MD5); Tue, 28 Aug 2007 08:00:28 -0700 (PDT) Message-ID: <10c601c7e984$35f593f0$3100a8c0@intech5> From: "Sonal" <4sinfo@gmail.com> To: Date: Tue, 28 Aug 2007 19:01:02 +0530 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Pay only 3 year after 30 years get 9,83,45,164/ 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: Tue, 28 Aug 2007 15:15:19 -0000 Hello,=20 This is an excellent policy "Life Time Super pension", where you have to = pay only Rs.24,000.00 for 3 years and get Rs.6,34,54,369.00 /- after 30 years. =20 addition to this give the Tax Benefit under Sec:80 C. Sec : 80 c=20 says that an individual can invest upto Rs.1 Lac per annum in different Tax Saving Instruments and the Entire 1 Lac=20 WILL BE DEDUCTED FROM THE TAXABLE INCOME.=20 That means, you can save upto 30% of your Investment So please hurry up............... Name of the Policy - LIFE TIME. Name of the Policy - LIFE TIME. Minimum Term - 3 Years. Minimum Premium - Rs.24000 per annum. Tax Benefit - Full amount invested will be deducted from your Taxable Income. ( ie., Upto 30% Tax Benefit) Pay only 3 year after 30 years 9,83,45,164/-=20 Invite your colleagues to add a reference for you. This could add value = to you (Get discount of Rs.1000.00 on your first premium amount) For more information and services Send your address age: and Tel no. to=20 icicipru.li@gmail.com or reliance.gi@gmail.com From owner-freebsd-java@FreeBSD.ORG Thu Aug 30 18:30:17 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3ABC416A418 for ; Thu, 30 Aug 2007 18:30:17 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net (neerbosch.nijmegen.internl.net [217.149.193.38]) by mx1.freebsd.org (Postfix) with ESMTP id CA70613C467 for ; Thu, 30 Aug 2007 18:30:16 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net by neerbosch.nijmegen.internl.net via neerbosch.nijmegen.internl.net [217.149.193.38] with ESMTP for id l7UITsT4016295 (8.13.4/1.4); Thu, 30 Aug 2007 20:29:54 +0200 (MEST) Received: from localhost by neerbosch.nijmegen.internl.net via mboland@localhost with ESMTP for id l7UITscD016292 (8.13.4/2.02); Thu, 30 Aug 2007 20:29:54 +0200 (MEST) X-Authentication-Warning: neerbosch.nijmegen.internl.net: mboland owned process doing -bs Date: Thu, 30 Aug 2007 20:29:54 +0200 (MEST) From: Michiel Boland To: freebsd-java@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: jdk16 does not build on 32bit platforms when WITHOUT_WEB=true 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: Thu, 30 Aug 2007 18:30:17 -0000 Hi. See subject. The build of java/jdk16 bombs on i386 when WITHOUT_WEB=true. It fails with [...] gmake PACK_OUTPUTDIR=/usr/ports/java/jdk16/work/control/build/bsd-i586/pack/pack-jre-jars \ VAR_IMAGE_DIR=/usr/ports/java/jdk16/work/control/build/bsd-i586/j2re-image \ JARS_TO_PACK="lib/ext/localedata.jar lib/plugin.jar lib/javaws.jar lib/deploy.jar" \ EXTRA_PACKOPTS="--strip-debug" \ pack-jars gmake[3]: Entering directory `/usr/ports/java/jdk16/work/install/make/pack' [...] ls: /usr/ports/java/jdk16/work/control/build/bsd-i586/j2re-image/lib/plugin.jar: No such file or directory Exception in thread "main" java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:114) at java.util.jar.JarFile.(JarFile.java:133) at java.util.jar.JarFile.(JarFile.java:97) at com.sun.java.util.jar.pack.Driver.main(Driver.java:235) gmake[3]: *** [pack-jars] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/install/make/pack' obviously, if you say WITHOUT_WEB, there is no plugin.jar... From owner-freebsd-java@FreeBSD.ORG Thu Aug 30 19:04:40 2007 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C3EF16A419 for ; Thu, 30 Aug 2007 19:04:40 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 0FB1113C46A for ; Thu, 30 Aug 2007 19:04:27 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l7UJ3s8H076769; Thu, 30 Aug 2007 15:03:54 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@FreeBSD.org Date: Thu, 30 Aug 2007 15:03:50 -0400 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_YSx1GmbtpxnQ8ZV" Message-Id: <200708301503.52459.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.90.2/4109/Thu Aug 30 13:18:52 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Michiel Boland Subject: Re: jdk16 does not build on 32bit platforms when WITHOUT_WEB=true 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: Thu, 30 Aug 2007 19:04:40 -0000 --Boundary-00=_YSx1GmbtpxnQ8ZV Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thursday 30 August 2007 02:29 pm, Michiel Boland wrote: > Hi. See subject. The build of java/jdk16 bombs on i386 when > WITHOUT_WEB=true. It fails with > > [...] > gmake > PACK_OUTPUTDIR=/usr/ports/java/jdk16/work/control/build/bsd-i586/pa >ck/pack-jre-jars \ > VAR_IMAGE_DIR=/usr/ports/java/jdk16/work/control/build/bsd-i586/j2r >e-image \ JARS_TO_PACK="lib/ext/localedata.jar lib/plugin.jar > lib/javaws.jar lib/deploy.jar" \ EXTRA_PACKOPTS="--strip-debug" \ > pack-jars > gmake[3]: Entering directory > `/usr/ports/java/jdk16/work/install/make/pack' [...] > ls: > /usr/ports/java/jdk16/work/control/build/bsd-i586/j2re-image/lib/pl >ugin.jar: No such file or directory Exception in thread "main" > java.util.zip.ZipException: error in opening zip file at > java.util.zip.ZipFile.open(Native Method) > at java.util.zip.ZipFile.(ZipFile.java:114) > at java.util.jar.JarFile.(JarFile.java:133) > at java.util.jar.JarFile.(JarFile.java:97) > at com.sun.java.util.jar.pack.Driver.main(Driver.java:235) > gmake[3]: *** [pack-jars] Error 1 > gmake[3]: Leaving directory > `/usr/ports/java/jdk16/work/install/make/pack' > > obviously, if you say WITHOUT_WEB, there is no plugin.jar... Try the attached patch. Jung-uk Kim --Boundary-00=_YSx1GmbtpxnQ8ZV Content-Type: text/plain; charset="iso-8859-1"; name="jdk16.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="jdk16.diff" --- Makefile.orig Tue Aug 28 11:24:32 2007 +++ Makefile Thu Aug 30 15:02:14 2007 @@ -116,7 +116,9 @@ BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:${PORTSDIR}/java/diablo-jdk15 -.if !defined(WITHOUT_WEB) +.if defined(WITHOUT_WEB) +MAKE_ENV+= DONT_BUILD_DEPLOY="YES" +.else USE_GNOME= desktopfileutils .endif --Boundary-00=_YSx1GmbtpxnQ8ZV-- From owner-freebsd-java@FreeBSD.ORG Thu Aug 30 19:13:10 2007 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35A4816A417 for ; Thu, 30 Aug 2007 19:13:10 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 6FB1713C48D for ; Thu, 30 Aug 2007 19:13:09 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l7UJD0Ko077375; Thu, 30 Aug 2007 15:13:01 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@FreeBSD.org Date: Thu, 30 Aug 2007 15:12:52 -0400 User-Agent: KMail/1.6.2 References: <200708301503.52459.jkim@FreeBSD.org> In-Reply-To: <200708301503.52459.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_5ax1GPIdmTcKTG9" Message-Id: <200708301512.57784.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.90.2/4109/Thu Aug 30 13:18:52 2007 on anuket.mj.niksun.com X-Virus-Status: Clean X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Michiel Boland Subject: Re: jdk16 does not build on 32bit platforms when WITHOUT_WEB=true 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: Thu, 30 Aug 2007 19:13:10 -0000 --Boundary-00=_5ax1GPIdmTcKTG9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thursday 30 August 2007 03:03 pm, Jung-uk Kim wrote: > On Thursday 30 August 2007 02:29 pm, Michiel Boland wrote: > > Hi. See subject. The build of java/jdk16 bombs on i386 when > > WITHOUT_WEB=true. It fails with > > > > [...] > > gmake > > PACK_OUTPUTDIR=/usr/ports/java/jdk16/work/control/build/bsd-i586/ > >pa ck/pack-jre-jars \ > > VAR_IMAGE_DIR=/usr/ports/java/jdk16/work/control/build/bsd-i586/j > >2r e-image \ JARS_TO_PACK="lib/ext/localedata.jar lib/plugin.jar > > lib/javaws.jar lib/deploy.jar" \ EXTRA_PACKOPTS="--strip-debug" \ > > pack-jars > > gmake[3]: Entering directory > > `/usr/ports/java/jdk16/work/install/make/pack' [...] > > ls: > > /usr/ports/java/jdk16/work/control/build/bsd-i586/j2re-image/lib/ > >pl ugin.jar: No such file or directory Exception in thread "main" > > java.util.zip.ZipException: error in opening zip file at > > java.util.zip.ZipFile.open(Native Method) > > at java.util.zip.ZipFile.(ZipFile.java:114) > > at java.util.jar.JarFile.(JarFile.java:133) > > at java.util.jar.JarFile.(JarFile.java:97) > > at com.sun.java.util.jar.pack.Driver.main(Driver.java:235) > > gmake[3]: *** [pack-jars] Error 1 > > gmake[3]: Leaving directory > > `/usr/ports/java/jdk16/work/install/make/pack' > > > > obviously, if you say WITHOUT_WEB, there is no plugin.jar... > > Try the attached patch. Oops, typo... Sorry, try this patch instead. Jung-uk Kim --Boundary-00=_5ax1GPIdmTcKTG9-- From owner-freebsd-java@FreeBSD.ORG Thu Aug 30 19:49:15 2007 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7889C16A421 for ; Thu, 30 Aug 2007 19:49:15 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id B700113C45B for ; Thu, 30 Aug 2007 19:49:14 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l7UJmeEO080023; Thu, 30 Aug 2007 15:48:40 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@FreeBSD.org Date: Thu, 30 Aug 2007 15:48:36 -0400 User-Agent: KMail/1.6.2 References: <200708301503.52459.jkim@FreeBSD.org> <200708301512.57784.jkim@FreeBSD.org> In-Reply-To: <200708301512.57784.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_W8x1GZQseKez0Wi" Message-Id: <200708301548.38354.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.90.2/4109/Thu Aug 30 13:18:52 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Michiel Boland Subject: Re: jdk16 does not build on 32bit platforms when WITHOUT_WEB=true 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: Thu, 30 Aug 2007 19:49:15 -0000 --Boundary-00=_W8x1GZQseKez0Wi Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thursday 30 August 2007 03:12 pm, Jung-uk Kim wrote: > On Thursday 30 August 2007 03:03 pm, Jung-uk Kim wrote: > > On Thursday 30 August 2007 02:29 pm, Michiel Boland wrote: > > > Hi. See subject. The build of java/jdk16 bombs on i386 when > > > WITHOUT_WEB=true. It fails with > > > > > > [...] > > > gmake > > > PACK_OUTPUTDIR=/usr/ports/java/jdk16/work/control/build/bsd-i58 > > >6/ pa ck/pack-jre-jars \ > > > VAR_IMAGE_DIR=/usr/ports/java/jdk16/work/control/build/bsd-i586 > > >/j 2r e-image \ JARS_TO_PACK="lib/ext/localedata.jar > > > lib/plugin.jar lib/javaws.jar lib/deploy.jar" \ > > > EXTRA_PACKOPTS="--strip-debug" \ pack-jars > > > gmake[3]: Entering directory > > > `/usr/ports/java/jdk16/work/install/make/pack' [...] > > > ls: > > > /usr/ports/java/jdk16/work/control/build/bsd-i586/j2re-image/li > > >b/ pl ugin.jar: No such file or directory Exception in thread > > > "main" java.util.zip.ZipException: error in opening zip file at > > > java.util.zip.ZipFile.open(Native Method) > > > at java.util.zip.ZipFile.(ZipFile.java:114) > > > at java.util.jar.JarFile.(JarFile.java:133) > > > at java.util.jar.JarFile.(JarFile.java:97) > > > at com.sun.java.util.jar.pack.Driver.main(Driver.java:235) > > > gmake[3]: *** [pack-jars] Error 1 > > > gmake[3]: Leaving directory > > > `/usr/ports/java/jdk16/work/install/make/pack' > > > > > > obviously, if you say WITHOUT_WEB, there is no plugin.jar... > > > > Try the attached patch. > > Oops, typo... Sorry, try this patch instead. Sigh... I found a real culprit. Please drop the attachment in the files directory and retry. Sorry for the inconvenience. Today's not my day. :-( Jung-uk Kim --Boundary-00=_W8x1GZQseKez0Wi Content-Type: text/plain; charset="iso-8859-1"; name="patch-install-make-common-Pack.gmk" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-install-make-common-Pack.gmk" --- ../../install/make/common/Pack.gmk 27 Jun 2007 18:48:09 -0000 1.2 +++ ../../install/make/common/Pack.gmk 30 Aug 2007 19:38:31 -0000 1.3 @@ -45,7 +45,7 @@ # These are loaded from the ClassPath CP_JRE_PACKED_JARS = lib/ext/localedata.jar -ifeq ($(ARCH_DATA_MODEL),32) +ifeq ($(BUILD_DEPLOY), true) CP_JRE_PACKED_JARS += lib/plugin.jar CP_JRE_PACKED_JARS += lib/javaws.jar CP_JRE_PACKED_JARS += lib/deploy.jar --Boundary-00=_W8x1GZQseKez0Wi-- From owner-freebsd-java@FreeBSD.ORG Sat Sep 1 11:11:28 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10C7B16A417 for ; Sat, 1 Sep 2007 11:11:28 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net (neerbosch.nijmegen.internl.net [217.149.193.38]) by mx1.freebsd.org (Postfix) with ESMTP id A11E913C47E for ; Sat, 1 Sep 2007 11:11:27 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net by neerbosch.nijmegen.internl.net via neerbosch.nijmegen.internl.net [217.149.193.38] with ESMTP for id l81BBDcH004484 (8.13.4/1.4); Sat, 1 Sep 2007 13:11:13 +0200 (MEST) Received: from localhost by neerbosch.nijmegen.internl.net via mboland@localhost with ESMTP for id l81BBDvI004481 (8.13.4/2.02); Sat, 1 Sep 2007 13:11:13 +0200 (MEST) X-Authentication-Warning: neerbosch.nijmegen.internl.net: mboland owned process doing -bs Date: Sat, 1 Sep 2007 13:11:11 +0200 (MEST) From: Michiel Boland To: freebsd-java@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: still problems with exec() in jdk16 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: Sat, 01 Sep 2007 11:11:28 -0000 Hi. Sorry to be a bore, but there are still problems with exec() in the current java/jdk16 port. I noticed this after the subversion module in netbeans broke. I narrowed it down to the following. import java.io.IOException; public class ExecTest { public static void main(String[] args) throws IOException, InterruptedException { Process p = Runtime.getRuntime().exec("ls", new String[] { } ); int exitcode = p.waitFor(); System.out.println("exitcode = " + exitcode); } } This program, when run with the jdk16 java will generate a hot spot error. Stack trace from hs_err_pid*.log: C [libc.so.7+0xc6d30] strcmp+0x60 C [libjava.so+0x20317] Java_java_lang_UNIXProcess_forkAndExec+0x367 The only reference to strcmp in UNIXProcess_md.c that makes sense here is in execvpe /* Parent and child PATH the same? Use child PATH. */ || (strcmp(parentPath, effectivePath()) == 0) It appears that parentPath is 0. The only way that could happen is that Java_java_lang_UNIXProcess_initIDs is never called. I believe the following patch needs to be made to UNIXProcess.java.bsd. (In effect, UNIXProcess.java.bsd should be identical to UNIXProcess.java.linux.) --- UNIXProcess.java.bsd.orig 2007-08-31 20:43:03.000000000 +0200 +++ UNIXProcess.java.bsd 2007-08-31 21:24:40.000000000 +0200 @@ -195,4 +195,10 @@ } } + /* This routine initializes JNI field offsets for the class */ + private static native void initIDs(); + + static { + initIDs(); + } }