From owner-freebsd-java Sun Feb 10 4:15:54 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by hub.freebsd.org (Postfix) with ESMTP id DDCA937B402 for ; Sun, 10 Feb 2002 04:15:48 -0800 (PST) Received: from vee.net (wintermute.home.vee.net [203.18.245.2]) by smtp0.adl1.internode.on.net (8.11.6/8.11.6) with ESMTP id g1ACCha47327; Sun, 10 Feb 2002 22:42:44 +1030 (CST) (envelope-from mike@vee.net) Message-ID: <3C666342.9080201@vee.net> Date: Sun, 10 Feb 2002 22:40:42 +1030 From: Mike Gratton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8+) Gecko/20020208 X-Accept-Language: en-au, en-gb MIME-Version: 1.0 To: shudo@computer.org Cc: freebsd-java@FreeBSD.ORG Subject: FreeBSD native 1.3.1p5 + ShuJIT crash Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi guys, I'm getting an error trying to run dbXML 1.0b4 (now called Xindice) using the native 1.3.1p5 (-classic) JDK and ShuJIT (both 0.7.4 and 0.7.10). If I'm not using ShuJIT, this error does not occur. If someone could take a look at it, I'd appreciate it. I've tried getting a stacktrace from gdb using java_g, but it never seems to be able to find libshujit.so, even though I've set LD_LIBRARY_PATH appropriately beforehand. The crash occurs when dbXML is starting, here's the output: --- Starting dbXML -------------- shuJIT for Sun Classic VM/x86 by Kazuyuki Shudo dbXML 1.0b4 (Mustard) [...] shuJIT 0.7.10 compiled with gcc version 2.95.3 20010315 (release) [FreeBSD] FPU control word: 0x037f FPU status word: 0x0020 FPU tag word: 0xffffffff FPU FIP : 0x082d28ca SS: 002f, CS: 001f, DS: 002f, ES: 002f, FS: 002f, GS: 002f EAX: b80a00c0, ECX: 00000001, EDX: 0805836c, EBX: 33d112ec ESI: bfbfd0c0, EDI: 0000000f ESP: bfbfd078, EBP: bfbfd090 EIP: 09e3a362 (ESP+4): 00000002, (ESP): 0805836c (EBP+4): 33cf8e95 (retrun addr.) (EIP): 0f b7 78 3c c1 e7 02 29 fc 57 8d 7c 3c 04 8d 7c trapno: 0c method by EIP (at EBP + 12): org/openorb/CORBA/Any#write_value (Lorg/omg/CORBA/portable/OutputStream;)V --- -- Mike Gratton "Every motive escalate." Blatant self-promotion: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 11 5: 5:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by hub.freebsd.org (Postfix) with ESMTP id 5C23C37B404 for ; Mon, 11 Feb 2002 05:05:07 -0800 (PST) Received: from rpsmtp1.aist.go.jp by mx1.aist.go.jp with ESMTP id g1BD4jH19584; Mon, 11 Feb 2002 22:04:45 +0900 (JST) env-from (shudo@computer.org) Received: from mail11.aist.go.jp by rpsmtp1.aist.go.jp with ESMTP id g1BD4j012463; Mon, 11 Feb 2002 22:04:45 +0900 (JST) env-from (shudo@computer.org) Received: from aist.go.jp by mail11.aist.go.jp with ESMTP id g1BD4iJ14676; Mon, 11 Feb 2002 22:04:44 +0900 (JST) env-from (shudo@computer.org) Date: Mon, 11 Feb 2002 22:04:50 +0900 (JST) Message-Id: <20020211.220450.730550539.shudoh@localhost> To: mike@vee.net Cc: freebsd-java@FreeBSD.ORG Subject: Re: FreeBSD native 1.3.1p5 + ShuJIT crash From: shudo@computer.org In-Reply-To: <3C666342.9080201@vee.net> References: <3C666342.9080201@vee.net> X-Mailer: Mew version 2.1 on XEmacs 21.4.6 (Common Lisp) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Mike, > I'm getting an error trying to run dbXML 1.0b4 (now called Xindice) > using the native 1.3.1p5 (-classic) JDK and ShuJIT (both 0.7.4 and > 0.7.10). If I'm not using ShuJIT, this error does not occur. Now I could reproduce your problem on Linux. I try to distinguish the cause and fix it. Thanks. Starting Xindice ---------------- shuJIT for Sun Classic VM/x86 by Kazuyuki Shudo Xindice 1.0rc1 (DarkHorse) Database: 'db' initializing Script: 'GET' added to script storage Service: 'db' started ERROR: Could not start service 'HTTPServer' Signal 11 handling failed shuJIT 0.7.11 compiled with gcc version 3.1 20020131 (Red Hat Linux Rawhide 3.1-0.20) FPU control word: 0x037f FPU status word: 0x0000 FPU tag word: 0xffffffff FPU FIP : 0x00000000 SS: 002b, CS: 0023, DS: 002b, ES: 002b, FS: 0000, GS: 0000 ... method by EIP (at EBP + 12): org/openorb/CORBA/Any#write_value (Lorg/omg/CORBA/portable/OutputStream;)V Kazuyuki Shudo shudo@computer.org http://www.shudo.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 11 11: 2:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9997337B416 for ; Mon, 11 Feb 2002 11:02:33 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1BJ2Xp53692 for java@freebsd.org; Mon, 11 Feb 2002 11:02:33 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 11 Feb 2002 11:02:33 -0800 (PST) Message-Id: <200202111902.g1BJ2Xp53692@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Subject: Current problem reports assigned to you Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/11/01] ports/31688 java JDK 1.3.1 Update for Sun's Java Communica o [2001/11/01] ports/31689 java JDK 1.3.1 update for FreeBSD/Java Commapi o [2002/01/20] ports/34099 java /usr/ports/java/jdk13 fails to build 3 problems total. Non-critical problems To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 11 20:58:13 2002 Delivered-To: freebsd-java@freebsd.org Received: from areilly.bpc-users.org (CPE-144-132-240-160.nsw.bigpond.net.au [144.132.240.160]) by hub.freebsd.org (Postfix) with SMTP id 82FD237B8E5 for ; Mon, 11 Feb 2002 20:54:16 -0800 (PST) Received: (qmail 64788 invoked by uid 1000); 12 Feb 2002 04:54:15 -0000 From: "Andrew Reilly" Date: Tue, 12 Feb 2002 15:54:15 +1100 To: Gunnar Flygt Cc: FreeBSD Stable , freebsd-java@freebsd.org Subject: Re: Java for FreeBSD Message-ID: <20020212155415.A64695@gurney.reilly.home> References: <20020211142834.A81586@sr.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020211142834.A81586@sr.se>; from flygt@sr.se on Mon, Feb 11, 2002 at 02:28:34PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Feb 11, 2002 at 02:28:34PM +0100, Gunnar Flygt wrote: > What's the status for Java native version for FreeBSD, that was > announced in stable a few weeks ago? I've just installed the native j2ee_sdk that lives in /usr/ports/java/jdk13, seemingly without problems. I had to have the linux-jdk13 port installed first, which wasn't expressed as a package dependancy, but wasn't hard to fix, either. I'm a little disappointed that it didn't actually solve the problem that I wanted solved: Java in a native web browser. I had hoped that the build process for either mozilla or galeon would have noticed the working jvm and done something to make use of it. Sadly, that doesn't seem to be the case. Has anyone managed to get mozilla's own jvm, "electric fire" to do anything useful? Can the j2ee sdk (jdk13) be used to run applets, even in stand-alone mode? I want to do GUIs, rather than server-side database applications. -- Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 11 21:52:14 2002 Delivered-To: freebsd-java@freebsd.org Received: from orca.seaple.icc.ne.jp (orca.seaple.icc.ne.jp [210.170.8.81]) by hub.freebsd.org (Postfix) with ESMTP id 9ECC037B400 for ; Mon, 11 Feb 2002 21:52:09 -0800 (PST) Received: from there (cr1-199-037.seaple.icc.ne.jp [202.215.199.37]) by orca.seaple.icc.ne.jp (8.9.3/3.7W-000828) id OAA22602; Tue, 12 Feb 2002 14:47:17 +0900 (JST) Message-Id: <200202120547.OAA22602@orca.seaple.icc.ne.jp> Content-Type: text/plain; charset="iso-2022-jp" From: Michael Westbay To: freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD Date: Tue, 12 Feb 2002 14:48:10 +0900 X-Mailer: KMail [version 1.3.2] References: <20020211142834.A81586@sr.se> <20020212155415.A64695@gurney.reilly.home> In-Reply-To: <20020212155415.A64695@gurney.reilly.home> Cc: "Andrew Reilly" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Reilly-san, > I'm a little disappointed that it didn't actually solve the > problem that I wanted solved: Java in a native web browser.=20 Applets do work in Konqueror (KDE) on FreeBSD with the native JDK. The o= nly=20 problem is that LiveScript (JavaScript) control over an applet doesn't wo= rk=20 in Konqueror and some applets appear outside of the browser frame. > Can the j2ee sdk (jdk13) be used to run applets, even in > stand-alone mode? I want to do GUIs, rather than server-side > database applications. I would recommend creating an application (as opposed to applet) and=20 deploying with WebStart. That works fine on Netscape 4.7x, Mozilla, and=20 Konqueror (although I recall having to tweak some things to get it to fin= d=20 the native JRE). You get the advantages of an application (which could t= alk=20 to a web service if you so chose) with the deployability of an applet. --=20 Michael Westbay Work: Beacon-IT http://www.beacon-it.co.jp/ Home: http://www.seaple.icc.ne.jp/~westbay Commentary: http://www.japanesebaseball.com/forum/ Due to severe bugs in Microsoft Outlook, Outlook users may no be able to read beyond this point... begin =20 Your mail client is begin-bug free. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 11 23:19:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from areilly.bpc-users.org (CPE-144-132-240-160.nsw.bigpond.net.au [144.132.240.160]) by hub.freebsd.org (Postfix) with SMTP id 8AB5C37B402 for ; Mon, 11 Feb 2002 23:19:06 -0800 (PST) Received: (qmail 66153 invoked from network); 12 Feb 2002 07:11:24 -0000 Received: from localhost (HELO gurney.reilly.home) (andrew@127.0.0.1) by localhost with SMTP; 12 Feb 2002 07:11:24 -0000 Date: Tue, 12 Feb 2002 18:11:23 +1100 From: Andrew Reilly To: Michael Westbay Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD Message-ID: <20020212181123.A63446@gurney.lake> References: <20020211142834.A81586@sr.se> <20020212155415.A64695@gurney.reilly.home> <200202120547.OAA22602@orca.seaple.icc.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <200202120547.OAA22602@orca.seaple.icc.ne.jp>; from westbay@seaple.icc.ne.jp on Tue, Feb 12, 2002 at 16:48:10 +1100 X-Mailer: Balsa 1.3.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Michael, Thanks for your suggestions. On 2002.02.12 16:48 Michael Westbay wrote: > Applets do work in Konqueror (KDE) on FreeBSD with the native JDK. The only > problem is that LiveScript (JavaScript) control over an applet doesn't work > in Konqueror and some applets appear outside of the browser frame. Hmm. I've gone the GNOME path, mostly because I don't like C++. I'd prefer not to have to keep two gigantic tool and library sets current, just to run Konqueror... > > Can the j2ee sdk (jdk13) be used to run applets, even in > > stand-alone mode? I want to do GUIs, rather than server-side > > database applications. > > I would recommend creating an application (as opposed to applet) and > deploying with WebStart. That works fine on Netscape 4.7x, Mozilla, and > Konqueror (although I recall having to tweak some things to get it to find > the native JRE). You get the advantages of an application (which could talk > to a web service if you so chose) with the deployability of an applet. I've found Java Web Start on the Sun pages, and it does indeed look (a) interesting, and (b) closer to what I really wanted in the first place than I knew existed. A small tweak to my system (sym-linking /usr/local/bin/bash to /bin/bash) allowed the linux version of the installer to run, and a bit of mucking about with the gnome MIME type configurer has convinced both galeon and mozilla to at least _start_ the javaws gizmo. Their javascript buttons don't work, but thankfully they have a no-javascript version of the page. The trouble is that the first thing that it seems to do in all cases (on the demo app page) is go looking on sun's web site for the JRE, having decided that I don't have an appropriate one running. This, despite the fact that it seems to be running under said jre. I notice that the install has produced an executable: javawsbin, which is unbranded, but presumably a linux binary. Wonder if that's causing a problem? For a nominally system-independant software platform, Sun seems to be going out of their way to tie Java to their preferred platforms (four of them: windows, solaris-sparc, solaris-i386, linux-i386). Pretty poor, I think. -- Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 0:15:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id C538237B41D for ; Tue, 12 Feb 2002 00:15:07 -0800 (PST) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id BAA05087; Tue, 12 Feb 2002 01:06:00 -0500 Date: Tue, 12 Feb 2002 01:05:59 -0500 (EST) From: Mikhail Kruk To: Andrew Reilly Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD In-Reply-To: <20020212155415.A64695@gurney.reilly.home> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Mozilla requires java plugin which doesn't yet work in native jdk (requires native threading, people are working on that) You can always view applets with appletviewer, works pretty well. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 0:26:37 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by hub.freebsd.org (Postfix) with ESMTP id E9F7A37B41A for ; Tue, 12 Feb 2002 00:26:31 -0800 (PST) Received: from rpsmtp1.aist.go.jp by mx1.aist.go.jp with ESMTP id g1C8MrH10872; Tue, 12 Feb 2002 17:22:53 +0900 (JST) env-from (shudo@computer.org) Received: from mail02.aist.go.jp by rpsmtp1.aist.go.jp with ESMTP id g1C8Mqp13803; Tue, 12 Feb 2002 17:22:52 +0900 (JST) env-from (shudo@computer.org) Received: from aist.go.jp by mail02.aist.go.jp with ESMTP id g1C8MqT28671; Tue, 12 Feb 2002 17:22:52 +0900 (JST) env-from (shudo@computer.org) Date: Tue, 12 Feb 2002 17:22:58 +0900 (JST) Message-Id: <20020212.172258.884010917.shudoh@localhost> To: meshko@cs.brandeis.edu Cc: areilly@bigpond.net.au, freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD From: shudo@computer.org In-Reply-To: References: <20020212155415.A64695@gurney.reilly.home> X-Mailer: Mew version 2.1 on XEmacs 21.4.6 (Common Lisp) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org From: Mikhail Kruk > Mozilla requires java plugin which doesn't yet work in native jdk > (requires native threading, people are working on that) That's a false story. Java Plug-in does not require native threads, and work with Green Threads. I could confirm it on Linux and Fuyuhiko Maruyama achieved it on FreeBSD. Kazuyuki Shudo shudo@computer.org http://www.shudo.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 1: 8:20 2002 Delivered-To: freebsd-java@freebsd.org Received: from eowyn.vianetworks.nl (eowyn.iae.nl [212.61.25.227]) by hub.freebsd.org (Postfix) with ESMTP id 1203937B405 for ; Tue, 12 Feb 2002 01:08:16 -0800 (PST) Received: from uucp.iae.nl (uucp.iae.nl [212.61.26.37]) by eowyn.vianetworks.nl (Postfix) with ESMTP id BCCF82100A; Tue, 12 Feb 2002 10:05:05 +0100 (CET) Received: (from uucp@localhost) by uucp.iae.nl (8.9.1/8.9.1) with IAEhv.nl id KAA02689; Tue, 12 Feb 2002 10:05:05 +0100 (MET) Received: from bowtie.nl (euripides.intra.bowtie.nl [192.168.4.15]) by bowtie.nl (8.11.1/8.11.1) with ESMTP id g1C93um88613; Tue, 12 Feb 2002 10:03:57 +0100 (CET) (envelope-from marc@bowtie.nl) Message-ID: <3C68DA7C.6000307@bowtie.nl> Date: Tue, 12 Feb 2002 10:03:56 +0100 From: Marc van Kempen Organization: BowTie Technology User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: shudo@computer.org Cc: meshko@cs.brandeis.edu, areilly@bigpond.net.au, freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD References: <20020212155415.A64695@gurney.reilly.home> <20020212.172258.884010917.shudoh@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org shudo@computer.org wrote: > From: Mikhail Kruk > >>Mozilla requires java plugin which doesn't yet work in native jdk >>(requires native threading, people are working on that) >> > > That's a false story. > Java Plug-in does not require native threads, > and work with Green Threads. > > I could confirm it on Linux and Fuyuhiko Maruyama achieved it on FreeBSD. > > Kazuyuki Shudo shudo@computer.org http://www.shudo.net/ > Are you saying that jdk1.3.1 pl5 has a plugin that works with Mozilla? If so, please tell me where it is and how do I get it to work? Regards, Marc. -- ---------------------------------------------------- Marc van Kempen tel. +31 40 2 64 98 60 BowTie Technology fax. +31 40 2 64 98 61 Raiffeisenstraat 7 mailto:marc@bowtie.nl 5611 CH Eindhoven http://www.bowtie.nl ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 1:47:40 2002 Delivered-To: freebsd-java@freebsd.org Received: from shikima.mine.nu (pc1-card4-0-cust77.cdf.cable.ntl.com [62.252.49.77]) by hub.freebsd.org (Postfix) with ESMTP id 2AF3F37B41B for ; Tue, 12 Feb 2002 01:47:37 -0800 (PST) Received: from rasputin by shikima.mine.nu with local (Exim 3.33 #1) id 16aZTQ-0000zl-00; Tue, 12 Feb 2002 09:43:40 +0000 Date: Tue, 12 Feb 2002 09:43:40 +0000 From: Rasputin To: Andrew Reilly Cc: java@freebsd.org Subject: Re: Java for FreeBSD Message-ID: <20020212094340.A3815@shikima.mine.nu> Reply-To: Rasputin References: <20020211142834.A81586@sr.se> <20020212155415.A64695@gurney.reilly.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020212155415.A64695@gurney.reilly.home>; from areilly@bigpond.net.au on Tue, Feb 12, 2002 at 03:54:15PM +1100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Andrew Reilly [020212 05:00]: > On Mon, Feb 11, 2002 at 02:28:34PM +0100, Gunnar Flygt wrote: > > What's the status for Java native version for FreeBSD, that was > > announced in stable a few weeks ago? > > I've just installed the native j2ee_sdk that lives in > /usr/ports/java/jdk13, seemingly without problems. I had to > have the linux-jdk13 port installed first, which wasn't > expressed as a package dependancy, but wasn't hard to fix, > either. Um, isn't that the J2SE, not the J2EE? I had to install JBoss to get the J2EE APIs. -- All theoretical chemistry is really physics; and all theoretical chemists know it. -- Richard P. Feynman Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 3:36: 0 2002 Delivered-To: freebsd-java@freebsd.org Received: from areilly.bpc-users.org (CPE-144-132-240-160.nsw.bigpond.net.au [144.132.240.160]) by hub.freebsd.org (Postfix) with SMTP id B85BA37B41D for ; Tue, 12 Feb 2002 03:35:56 -0800 (PST) Received: (qmail 67602 invoked from network); 12 Feb 2002 11:30:51 -0000 Received: from localhost (HELO gurney.reilly.home) (andrew@127.0.0.1) by localhost with SMTP; 12 Feb 2002 11:30:51 -0000 Date: Tue, 12 Feb 2002 22:30:51 +1100 From: Andrew Reilly To: Rasputin Cc: java@freebsd.org Subject: Re: Java for FreeBSD Message-ID: <20020212223051.C63446@gurney.lake> References: <20020211142834.A81586@sr.se> <20020212155415.A64695@gurney.reilly.home> <20020212094340.A3815@shikima.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <20020212094340.A3815@shikima.mine.nu>; from rasputin@submonkey.net on Tue, Feb 12, 2002 at 20:43:40 +1100 X-Mailer: Balsa 1.3.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 2002.02.12 20:43 Rasputin wrote: > * Andrew Reilly [020212 05:00]: > > On Mon, Feb 11, 2002 at 02:28:34PM +0100, Gunnar Flygt wrote: > > > What's the status for Java native version for FreeBSD, that was > > > announced in stable a few weeks ago? > > > > I've just installed the native j2ee_sdk that lives in > > /usr/ports/java/jdk13, seemingly without problems. I had to > > have the linux-jdk13 port installed first, which wasn't > > expressed as a package dependancy, but wasn't hard to fix, > > either. > > Um, isn't that the J2SE, not the J2EE? > I had to install JBoss to get the J2EE APIs. Could easily have been. I know next to nothing about Java (yet). I'm just getting confused by the installation process. The ee was probably just something that I saw, going past, on a web page while I was looking for the right sack of bits to download. -- Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 4: 5:53 2002 Delivered-To: freebsd-java@freebsd.org Received: from orca.seaple.icc.ne.jp (orca.seaple.icc.ne.jp [210.170.8.81]) by hub.freebsd.org (Postfix) with ESMTP id 204D137B402 for ; Tue, 12 Feb 2002 04:05:49 -0800 (PST) Received: from there (cr1-199-037.seaple.icc.ne.jp [202.215.199.37]) by orca.seaple.icc.ne.jp (8.9.3/3.7W-000828) id VAA09087 for ; Tue, 12 Feb 2002 21:01:01 +0900 (JST) Message-Id: <200202121201.VAA09087@orca.seaple.icc.ne.jp> Content-Type: text/plain; charset="iso-2022-jp" From: Michael Westbay To: freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD Date: Tue, 12 Feb 2002 21:01:55 +0900 X-Mailer: KMail [version 1.3.2] References: <20020211142834.A81586@sr.se> <200202120547.OAA22602@orca.seaple.icc.ne.jp> <20020212181123.A63446@gurney.lake> In-Reply-To: <20020212181123.A63446@gurney.lake> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Reilly-san wrote: >> [much about Web Start snipped] > > [...] The trouble is that the first thing that it > seems to do in all cases (on the demo app page) is go looking on > sun's web site for the JRE, having decided that I don't have an > appropriate one running. This, despite the fact that it seems to > be running under said jre. Take a look at ~/javaws/javaws.cfg. Mine looks like this: # #Wed Oct 17 15:37:38 JST 2001 javaws.cfg.jre.0.platform=3D1.3 javaws.cfg.jre.0.location=3Dhttp\://java.sun.com/products/autodl/j2se javaws.cfg.jre.0.product=3D1.3.1 javaws.cfg.jre.0.path=3D/usr/local/jdk1.3.1/bin/java I've run quite a few samples with this setup without being prompted for a= =20 different JRE. I'm pretty sure that this was the only file I needed to=20 tweak. And I don't even have the Linux JDK on my machine any more. > For a nominally system-independant software platform, Sun > seems to be going out of their way to tie Java to their preferred > platforms (four of them: windows, solaris-sparc, solaris-i386, > linux-i386). Pretty poor, I think. You have a point. That's where Lewis-san, Koster-san, Maruyama-san, and=20 countless others have picked up the ball to keep Sun's promise alive. --=20 Michael Westbay Work: Beacon-IT http://www.beacon-it.co.jp/ Home: http://www.seaple.icc.ne.jp/~westbay Commentary: http://www.japanesebaseball.com/forum/ Due to severe bugs in Microsoft Outlook, Outlook users may no be able to read beyond this point... begin =20 Your mail client is begin-bug free. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 6:12:33 2002 Delivered-To: freebsd-java@freebsd.org Received: from math.uni-paderborn.de (math.upb.de [131.234.100.10]) by hub.freebsd.org (Postfix) with ESMTP id 8CDC237B419 for ; Tue, 12 Feb 2002 06:12:29 -0800 (PST) Received: from math.uni-paderborn.de (math.uni-paderborn.de [131.234.100.10]) by math.uni-paderborn.de (8.10.1/8.10.1) with ESMTP id g1CE9gA03610 for ; Tue, 12 Feb 2002 15:09:43 +0100 (MET) Date: Tue, 12 Feb 2002 15:09:42 +0100 (MET) From: Jens Siebert To: Subject: JDK1.3.1p5 and NetBeans 3.3.1 and OpenJIT 1.1.16 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi there... I tried to run NetBeans 3.3.1 using the nativ JDK1.3.1 and OpenJIT 1.1.16. Without OpenJIT NetBeans works fine, but slow... After enabling OpenJIT NetBeans stops loading while showing it's startscreen... (It says "Loading Tomcat Server 3.2") But there is no exception-output on the console or something that could tell me why it is stopping at this point... Does anybody have a clue ? Greetings -- Jens Siebert RB Mathematik, Uni Paderborn Linux from Scratch (www.linuxfromscratch.org) just rocks !!! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 6:32: 2 2002 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 5221E37B405 for ; Tue, 12 Feb 2002 06:32:00 -0800 (PST) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id JAA06089; Tue, 12 Feb 2002 09:25:49 -0500 Date: Tue, 12 Feb 2002 09:25:49 -0500 (EST) From: Mikhail Kruk To: shudo@computer.org Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD In-Reply-To: <20020212.172258.884010917.shudoh@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Mozilla requires java plugin which doesn't yet work in native jdk > > (requires native threading, people are working on that) > > That's a false story. > Java Plug-in does not require native threads, > and work with Green Threads. > > I could confirm it on Linux and Fuyuhiko Maruyama achieved it on FreeBSD. Have there been any information about that on this mailing list?? I remember a lot of discussion of how it's absolutely impossible to get plugin working with green threads. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 7: 8:37 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id 640B537B428 for ; Tue, 12 Feb 2002 07:08:30 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g1CFBP768383 for ; Tue, 12 Feb 2002 16:11:29 +0100 (CET) (envelope-from hquiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Tue, 12 Feb 2002 16:11:24 +0100 (CET) From: Herve Quiroz To: java@freebsd.org Subject: Re: Proposal for bsd.port.mk In-Reply-To: <200112071329.fB7DTpR63093@zaphod.euronet.nl> Message-ID: <20020212155653.H68351-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org How are things going for bsd.port.mk ? I saw there has been an update on Ernst's page (2001-01-15 I think)... Recently I took a look upon NetBSD pkgsrc java system. Looks like the latest bsd.port.mk proposal more or less... I am not sure we came to some final decision about the location of libs and the CLASSPATH management. For CLASSPATH I remember we decided not to have it set automatically after installing a new java lib (because of some RMI aps and so). But in such a case there should be a unified location for all the java libs. Maybe /usr/local/lib or /usr/local/lib/java. Or maybe it could be easier to have all java-related in /usr/local/java. So /usr/local/java being the $PREFIX for all java-related ports. This way, there would be : /usr/local/java/lib (with GNU Trove, JSX...) /usr/local/java/linux-ibm-jdk13 /usr/local/java/jdk-1.1.8 /usr/local/java/doc/jdk-1.1.8 /usr/local/java/doc/jakarta-ant But then, where to put the java tools that are not java executables (e.g. jikes) which should be in $PATH (usually $PREFIX/bin) ? Also, maybe there should be something in the proposal to normalize the location of ports. I mean a java tool (like ant or mmake) should go in devel, lang, or java ? Same for java libs. Herve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 8: 9:43 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by hub.freebsd.org (Postfix) with ESMTP id 669C437B402 for ; Tue, 12 Feb 2002 08:09:40 -0800 (PST) Received: from rpsmtp1.aist.go.jp by mx1.aist.go.jp with ESMTP id g1CFnVH12818; Wed, 13 Feb 2002 00:49:31 +0900 (JST) env-from (shudo@computer.org) Received: from mail11.aist.go.jp by rpsmtp1.aist.go.jp with ESMTP id g1CFnVn02030; Wed, 13 Feb 2002 00:49:31 +0900 (JST) env-from (shudo@computer.org) Received: from aist.go.jp by mail11.aist.go.jp with ESMTP id g1CFnTx25592; Wed, 13 Feb 2002 00:49:30 +0900 (JST) env-from (shudo@computer.org) Date: Wed, 13 Feb 2002 00:49:35 +0900 (JST) Message-Id: <20020213.004935.730551162.shudoh@localhost> To: meshko@cs.brandeis.edu Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD From: shudo@computer.org In-Reply-To: References: <20020212.172258.884010917.shudoh@localhost> X-Mailer: Mew version 2.1 on XEmacs 21.4.6 (Common Lisp) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Mikhail, > > > Mozilla requires java plugin which doesn't yet work in native jdk > > > (requires native threading, people are working on that) > > > > That's a false story. > > Java Plug-in does not require native threads, > > and work with Green Threads. > > > > I could confirm it on Linux and Fuyuhiko Maruyama achieved it on FreeBSD. > > Have there been any information about that on this mailing list?? AFAIK, Not yet. > I remember a lot of discussion of how it's absolutely impossible to get > plugin working with green threads. I could also remember. Once I almost believed it. But my version of Java Plug-in can invoke a Java VM which uses Green Threads on Linux. Fuyuhiko said he could achieve it on FreeBSD independently. Java Plug-in consists of two parts, a shared library (javaplugin_oji.so or javaplugin.so) and an executable (java_vm). First a web browser loads the library. Next the library do fork(2) and exec(2) the executable to create a process which becomes a Java VM. The created process and the web browser are different processes, so the created process can use a different thread library from the web browser. The invoked Java VM can use Green Threads, even though the parent web browser needs native threads. I thought of using JIT compilers for Classic VM like shuJIT and OpenJIT with Java Plug-in. But the original source code of JDK 1.3.1 Java Plug-in is written as invoking HotSpot Client VM. I tried to change the source code so as to invoke Classic VM. Then I found the structure of Java Plug-in in which there are two parts. I tried Green Threads and succeeded. Kazuyuki Shudo shudo@computer.org http://www.shudo.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 14:24:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from eos.telenet-ops.be (eos.telenet-ops.be [195.130.132.40]) by hub.freebsd.org (Postfix) with ESMTP id 862D737B4A6 for ; Tue, 12 Feb 2002 14:23:55 -0800 (PST) Received: from fortuna.paeps.cx (D57623FC.kabel.telenet.be [213.118.35.252]) by eos.telenet-ops.be (Postfix) with ESMTP id 82BD22016F for ; Tue, 12 Feb 2002 23:04:56 +0100 (CET) Received: from juno.paeps.cx (juno.paeps.cx [10.0.0.2]) by fortuna.paeps.cx (Postfix) with ESMTP id 164981AEF for ; Tue, 12 Feb 2002 23:23:54 +0100 (CET) Received: by juno.paeps.cx (Postfix, from userid 1001) id D61993D2D; Tue, 12 Feb 2002 23:23:52 +0100 (CET) Date: Tue, 12 Feb 2002 23:23:52 +0100 From: Philip Paeps To: java@freebsd.org Subject: Mozilla Plugin (JDK1.3.1) Message-ID: <20020212222352.GA62023@juno.paeps.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi! This might have been asked before, but I didn't find anything particularly helpful in the archives or on Google. I've just installed the native JDK1.3.1 from the ports (/usr/ports/java/jdk13), and tried using the plugin (from /usr/local/linux-jdk1.3.1/jre/plugin/i386/ns600), but got the following error: LoadPlugin: failed to initialize shared library /usr/local/linux-jdk1.3.1/ jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/linux-jdk1.3.1/jre/ plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol "stderr"] I don't really see where that might have come from, but as a result, I can't view any Java in Mozilla :-/ Anyone have any ideas? Thanks! - Philip -- Philip Paeps Systems Programmer philip@paeps.cx http://www.vitaya.tv TEL: +32 2 257 91 58 GSM: +32 486 114 720 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 14:30:56 2002 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-80.oz.net [216.39.147.80]) by hub.freebsd.org (Postfix) with SMTP id 9222F37B41C for ; Tue, 12 Feb 2002 14:30:08 -0800 (PST) Received: (qmail 5492 invoked from network); 12 Feb 2002 22:30:07 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 12 Feb 2002 22:30:07 -0000 Subject: Re: Mozilla Plugin (JDK1.3.1) From: Joe Kelsey To: Philip Paeps Cc: java@freebsd.org In-Reply-To: <20020212222352.GA62023@juno.paeps.cx> References: <20020212222352.GA62023@juno.paeps.cx> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.1 Date: 12 Feb 2002 14:30:07 -0800 Message-Id: <1013553007.5388.1.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 2002-02-12 at 14:23, Philip Paeps wrote: > LoadPlugin: failed to initialize shared library /usr/local/linux-jdk1.3.1/ > jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/linux-jdk1.3.1/jre/ > plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol "stderr"] The linux-jdk1.3.1 plugin is a *linux* emulation library and cannot be loaded into a *native* executable. Patchset 6 will have a working plugin. Everyone please just calm down and the patchset will be out shortly. /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 14:32:55 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 1F73F37B417 for ; Tue, 12 Feb 2002 14:32:51 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16alTg-0001VU-00; Tue, 12 Feb 2002 14:32:44 -0800 Date: Tue, 12 Feb 2002 14:32:43 -0800 To: Joe Kelsey Cc: Philip Paeps , java@freebsd.org Subject: Re: Mozilla Plugin (JDK1.3.1) Message-ID: <20020212223243.GA5787@gnuppy.monkey.org> References: <20020212222352.GA62023@juno.paeps.cx> <1013553007.5388.1.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1013553007.5388.1.camel@zircon.zircon.seattle.wa.us> User-Agent: Mutt/1.3.27i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Feb 12, 2002 at 02:30:07PM -0800, Joe Kelsey wrote: > The linux-jdk1.3.1 plugin is a *linux* emulation library and cannot be > loaded into a *native* executable. > > Patchset 6 will have a working plugin. Everyone please just calm down > and the patchset will be out shortly. > > /Joe Calm Down ??? Na... [incite riot here]. ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 14:37:50 2002 Delivered-To: freebsd-java@freebsd.org Received: from eos.telenet-ops.be (eos.telenet-ops.be [195.130.132.40]) by hub.freebsd.org (Postfix) with ESMTP id 9F76537B404 for ; Tue, 12 Feb 2002 14:37:43 -0800 (PST) Received: from fortuna.paeps.cx (D57623FC.kabel.telenet.be [213.118.35.252]) by eos.telenet-ops.be (Postfix) with ESMTP id 5CC6B1FFB9; Tue, 12 Feb 2002 23:18:44 +0100 (CET) Received: from juno.paeps.cx (juno.paeps.cx [10.0.0.2]) by fortuna.paeps.cx (Postfix) with ESMTP id 7D8B31AEF; Tue, 12 Feb 2002 23:37:41 +0100 (CET) Received: by juno.paeps.cx (Postfix, from userid 1001) id 11BCD3D2D; Tue, 12 Feb 2002 23:37:40 +0100 (CET) Date: Tue, 12 Feb 2002 23:37:40 +0100 From: Philip Paeps To: Joe Kelsey Cc: Philip Paeps , java@freebsd.org Subject: Re: Mozilla Plugin (JDK1.3.1) Message-ID: <20020212223740.GD62023@juno.paeps.cx> References: <20020212222352.GA62023@juno.paeps.cx> <1013553007.5388.1.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1013553007.5388.1.camel@zircon.zircon.seattle.wa.us> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Feb 12, 2002 at 02:30:07PM -0800, Joe Kelsey wrote: > On Tue, 2002-02-12 at 14:23, Philip Paeps wrote: > > LoadPlugin: failed to initialize shared library /usr/local/linux-jdk1.3.1/ > > jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/linux-jdk1.3.1/jre/ > > plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol "stderr"] > > The linux-jdk1.3.1 plugin is a *linux* emulation library and cannot be > loaded into a *native* executable. Whoops - how thick of me to look over that! Mea culpa! > Patchset 6 will have a working plugin. Everyone please just calm down > and the patchset will be out shortly. Ah, lovely! Thanks, I'll just wait patiently then (and subscribe to this list ;-)). - Philip -- Philip Paeps Systems Programmer philip@paeps.cx http://www.vitaya.tv TEL: +32 2 257 91 58 GSM: +32 486 114 720 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 14:56:53 2002 Delivered-To: freebsd-java@freebsd.org Received: from corb.mc.mpls.visi.com (corb.mc.mpls.visi.com [208.42.156.1]) by hub.freebsd.org (Postfix) with ESMTP id 7E2B337B404 for ; Tue, 12 Feb 2002 14:56:49 -0800 (PST) Received: from [209.98.155.26] (envy.blackcore.com [209.98.155.26]) by corb.mc.mpls.visi.com (Postfix) with ESMTP id BCE7A8126 for ; Tue, 12 Feb 2002 16:56:48 -0600 (CST) User-Agent: Microsoft-Entourage/10.0.0.1331 Date: Tue, 12 Feb 2002 16:56:47 -0600 Subject: Incorrect timestamps with native 1.3.1 jdk? From: Timothy Kettering To: FreeBSD-Java Message-ID: In-Reply-To: <20020212155653.H68351-100000@puget.esil.univ-mrs.fr> Mime-version: 1.0 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I searched the freebsd archives, and could only find one reference (from ma= y 2000) to a similar problem with jvm 1.2.2, and no solution was posted. I hate asking on listservs, but I'm stuck here and would like to fix this. I'm running 4.5 STABLE and using javavm 1.3.1 native (all installed via ports) The problem I have is that I'm getting timestamps that seem incorrect. I wrote a very simple test application that instances a current Date object, then spits out the timestamp in a long format. I compared that with the timestamp that's returned on my OSX development machine which I ran at the same time. =20 They're really different (more than just a few milliseconds difference). I did more investigation by formatting the date to a string using SimpleDateFormat and I'm seeing that the freebsd java implementation appear= s to be 12 hours ahead of the current time. Running the same application on my OSX box returns the current time correctly. I.e. If it were 4PM now, th= e java application on the freebsd box would say its 4AM the next day. I checked the server clock to be sure, and the server clock is set to the correct time and timezone. I checked the system properties, and the freebsd jvm doesn=B9t report anythin= g for the user.timezone. (returns an empty string), on my OSX machine, the same program returns an empty string as well. I checked that and other system properties which were returned, as part of a loop, so it can't because I coded it wrong or something. So, I guess what I'm asking is ideas or suggestions from more experienced java developers on where I should be looking to try to figure out this. I'= m thinking that mabye the freebsd jvm didn=B9t get the system values correctly, and if not, how do I set them? I'm in CST (central standard time, GMT +600) if that helps. Thanks in advance. --=20 Tim http://www.blackcore.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 15:14:29 2002 Delivered-To: freebsd-java@freebsd.org Received: from nova.fnal.gov (nova.fnal.gov [131.225.121.207]) by hub.freebsd.org (Postfix) with ESMTP id 230C637B41C for ; Tue, 12 Feb 2002 15:14:23 -0800 (PST) Received: from localhost (tez@localhost) by nova.fnal.gov (8.10.2+Sun/8.10.2) with ESMTP id g1CNEHw04672; Tue, 12 Feb 2002 17:14:17 -0600 (CST) X-Authentication-Warning: nova.fnal.gov: tez owned process doing -bs Date: Tue, 12 Feb 2002 17:14:17 -0600 (CST) From: Tim Zingelman X-X-Sender: tez@nova.fnal.gov To: Timothy Kettering Cc: FreeBSD-Java Subject: Re: Incorrect timestamps with native 1.3.1 jdk? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 12 Feb 2002, Timothy Kettering wrote: > > The problem I have is that I'm getting timestamps that seem incorrect. I > wrote a very simple test application that instances a current Date object= , > then spits out the timestamp in a long format. I compared that with the > timestamp that's returned on my OSX development machine which I ran at th= e > same time. > > They're really different (more than just a few milliseconds difference). = I > did more investigation by formatting the date to a string using > SimpleDateFormat and I'm seeing that the freebsd java implementation appe= ars > to be 12 hours ahead of the current time. Running the same application o= n > my OSX box returns the current time correctly. I.e. If it were 4PM now, = the > java application on the freebsd box would say its 4AM the next day. > > I checked the server clock to be sure, and the server clock is set to the > correct time and timezone. > > I checked the system properties, and the freebsd jvm doesn=B9t report any= thing > for the user.timezone. (returns an empty string), on my OSX machine, the > same program returns an empty string as well. I checked that and other > system properties which were returned, as part of a loop, so it can't > because I coded it wrong or something. > > I'm in CST (central standard time, GMT +600) if that helps. We currently use the linux-jdk, but we put: TZ=3DCST6CDT in the environment and that seems to make things work. - Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 20:12: 1 2002 Delivered-To: freebsd-java@freebsd.org Received: from chen.org.nz (adsl-210.54.19.51.quicksilver.net.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id A7F0237B402 for ; Tue, 12 Feb 2002 20:11:54 -0800 (PST) Received: (from jonc@localhost) by chen.org.nz (8.11.6/8.11.6) id g1D4BeP08751; Wed, 13 Feb 2002 17:11:40 +1300 (NZDT) (envelope-from jonc) Date: Wed, 13 Feb 2002 17:11:40 +1300 From: Jonathan Chen To: timster@blackcore.com Cc: freebsd-java@freebsd.org Subject: Re: Incorrect timestamps with native 1.3.1 jdk? Message-ID: <20020213171140.A8612@grimoire.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > The problem I have is that I'm getting timestamps that seem incorrect. I > wrote a very simple test application that instances a current Date object, > then spits out the timestamp in a long format. I compared that with the > timestamp that's returned on my OSX development machine which I ran at the > same time. > They're really different (more than just a few milliseconds difference). If I write a simple program: import java.util.Date; public class DateTest { static void main ( String args []) { Date now = new Date (); System.out.println ("Now = " + (now.getTime () / 1000)); } } And the run it: /tmp,5:05pm> java DateTest Now = 1013573273 /tmp,5:07pm> date +%s 1013573276 The results are what I expect it to be (ie 3 seconds difference from when I ran the java program and when I typed in "date +%s"). So, from what I see, there doesn't appear to be a problem with the Date object at all. -- Jonathan Chen ------------------------------------------------------------------------ "We laugh in the face of danger, we drop icecubes down the vest of fear" - Edmond Blackadder III To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 20:32:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id E088737B416 for ; Tue, 12 Feb 2002 20:32:01 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16ar5L-00047K-00 for freebsd-java@freebsd.org; Tue, 12 Feb 2002 21:32:00 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1D4VtY57641 for freebsd-java@freebsd.org; Wed, 13 Feb 2002 15:01:55 +1030 (CST) (envelope-from glewis) Date: Wed, 13 Feb 2002 15:01:55 +1030 From: Greg Lewis To: freebsd-java@freebsd.org Subject: 1.3.1 patchset 6 Message-ID: <20020213150154.A57632@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, Patchset 6 for JDK 1.3.1 is up on the web site. The main highlights are: 1. The Java web browser plugin for Mozilla is working (Joe Kelsey and Fuyuhiko Maruyama). 2. Several bug fixes, including the division by zero problem. 3. An improved native threads subsystem (Bill Huey). 4. Work has begun on the HotSpot VM (Bill Huey and Joe Kelsey). See THANKS and ChangeLog in the patchset for more information. Please test the plugin as extensively as you can! Similarly, please test the native threads subsystem if you are able (recent version of the FreeBSD-STABLE source code required for this). We know of one problem with native threads (try the Java 2D demo for instance) but please report other issues. If you are a Chinese, Japanese or Korean user you should still also apply the Open Motif patch from http://www.freebsd.org/cgi/query-pr.cgi?pr=30421 and rebuild Open Motif before building the JDK. This prevents a potential memory fault when using XIM. The patch will become unnecessary on your platform once the Open Motif port/package has been updated. I recommend people switch to using this version if they want to use a native JDK 1.3.1. Note that I am still in the process of testing the update to FreeBSD's ports/java/jdk13. This should be available sometime tomorrow. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 796 6999 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 20:34:23 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 76AAE37B41E for ; Tue, 12 Feb 2002 20:33:45 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16ar71-0004Lq-00; Tue, 12 Feb 2002 21:33:44 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1D4Xdj57660; Wed, 13 Feb 2002 15:03:39 +1030 (CST) (envelope-from glewis) Date: Wed, 13 Feb 2002 15:03:39 +1030 From: Greg Lewis To: Philip Paeps Cc: freebsd-java@FreeBSD.ORG Subject: Re: Mozilla Plugin (JDK1.3.1) Message-ID: <20020213150339.A57644@misty.eyesbeyond.com> References: <20020212222352.GA62023@juno.paeps.cx> <1013553007.5388.1.camel@zircon.zircon.seattle.wa.us> <20020212223740.GD62023@juno.paeps.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020212223740.GD62023@juno.paeps.cx>; from philip@paeps.cx on Tue, Feb 12, 2002 at 11:37:40PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Feb 12, 2002 at 11:37:40PM +0100, Philip Paeps wrote: > On Tue, Feb 12, 2002 at 02:30:07PM -0800, Joe Kelsey wrote: > > Patchset 6 will have a working plugin. Everyone please just calm down > > and the patchset will be out shortly. > > Ah, lovely! Thanks, I'll just wait patiently then (and subscribe to > this list ;-)). Its up now... -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 796 6999 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 20:35:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id E273137B419 for ; Tue, 12 Feb 2002 20:35:31 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16ar8k-000119-00; Tue, 12 Feb 2002 21:35:31 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1D4ZM957674; Wed, 13 Feb 2002 15:05:22 +1030 (CST) (envelope-from glewis) Date: Wed, 13 Feb 2002 15:05:22 +1030 From: Greg Lewis To: Mikhail Kruk Cc: shudo@computer.org, freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD Message-ID: <20020213150522.B57644@misty.eyesbeyond.com> References: <20020212.172258.884010917.shudoh@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from meshko@cs.brandeis.edu on Tue, Feb 12, 2002 at 09:25:49AM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Feb 12, 2002 at 09:25:49AM -0500, Mikhail Kruk wrote: > > > Mozilla requires java plugin which doesn't yet work in native jdk > > > (requires native threading, people are working on that) > > > > That's a false story. > > Java Plug-in does not require native threads, > > and work with Green Threads. > > > > I could confirm it on Linux and Fuyuhiko Maruyama achieved it on FreeBSD. > > Have there been any information about that on this mailing list?? > I remember a lot of discussion of how it's absolutely impossible to get > plugin working with green threads. The proof of the pudding is in patchset 6, plugin + Classic JVM + green threads = happy browsing of Java enable web sites :) -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 796 6999 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 22: 3:53 2002 Delivered-To: freebsd-java@freebsd.org Received: from conn.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by hub.freebsd.org (Postfix) with ESMTP id 8F1AB37B405 for ; Tue, 12 Feb 2002 22:03:49 -0800 (PST) Received: from [209.98.155.26] (envy.blackcore.com [209.98.155.26]) by conn.mc.mpls.visi.com (Postfix) with ESMTP id CF802811F for ; Wed, 13 Feb 2002 00:03:48 -0600 (CST) User-Agent: Microsoft-Entourage/10.0.0.1331 Date: Wed, 13 Feb 2002 00:03:47 -0600 Subject: Re: Incorrect timestamps with native 1.3.1 jdk? From: Timothy Kettering To: Message-ID: In-Reply-To: <20020213171140.A8612@grimoire.chen.org.nz> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I tried that same test below. The results came out identical for me as well, so java is indeed returning the correct unix timestamp. I also did some further digging around after I posted my initial email, and heres what I found out. I modified the program that Jonathan Chen posted to also do a format using SimpleDateFormat.. Code follows: import java.util.Date; import java.text.*; public class DateTest { static void main (String args []) { Date now = new Date (); SimpleDateFormat formatter = new SimpleDateFormat("zzz"); System.out.println ("Now = " + (now.getTime () / 1000)); System.out.println("timezone is: " + formatter.format(now)); } } I get the following result: /javafiles > java DateTest Now = 1013579034 timezone is: GMT+06:00 However, if I type in "date" at the same terminal: /javafiles > date Tue Feb 12 23:49:56 CST 2002 As far as I can see, there's a problem here. CST is -600 GMT, not +600 GMT. This would very well explain why I'm getting 12 hour differences when formatting my Date objects. So what I'm wondering is - am I supposed to set some sort of system variable for java to use, or was java supposed to automatically pick up this timezone information from my server and its gone slightly screwy? -tim -- Tim Kettering http://www.blackcore.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 22:32:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id B91E837B416 for ; Tue, 12 Feb 2002 22:32:35 -0800 (PST) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id BAA09491; Wed, 13 Feb 2002 01:32:27 -0500 Date: Wed, 13 Feb 2002 01:32:27 -0500 (EST) From: Mikhail Kruk To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD In-Reply-To: <20020213150522.B57644@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org First impressions are here: XIM still throws exception with input when I have LANG set (see below for exact message). Another problem: I think plugin build is broken with respect to the way gtk and glib are installed by ports: In file included from /usr/X11R6/include/gtk12/gdk/gdk.h:31, from ../../oji-plugin/src/motif/navig5/JavaVM5.cpp:88: /usr/X11R6/include/gtk12/gdk/gdktypes.h:33: glib.h: No such file or directory gmake[1]: *** [../../tmp/bsd/i386/JavaVM5.o] Error 1 gmake[1]: Leaving directory `/usr/home/meshko/tmp/java/j2sdk1.3.1/ext/plugin/build/solaris' gmake: *** [plugin-all] Error 1 I have GTK_HDRS=/usr/X11R6/include/gtk12/ and glib.h is located in /usr/local/include/glib12/glib.h so it seems that I can't compile plugin as is without editing makefile. java.awt.AWTException: cannot open XIM at sun.awt.motif.X11InputMethod.(X11InputMethod.java:148) at sun.awt.motif.X11InputMethodDescriptor.createInputMethod(X11InputMeth odDescriptor.java:78) at sun.awt.im.InputContext.getInputMethodInstance(InputContext.java:691) at sun.awt.im.InputContext.getInputMethod(InputContext.java:641) at sun.awt.im.InputContext.dispatchEvent(InputContext.java:193) at sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext.java:1 77) at java.awt.Component.dispatchEventImpl(Component.java:2527) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh read.java:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 22:42: 5 2002 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 4187A37B416 for ; Tue, 12 Feb 2002 22:42:03 -0800 (PST) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id BAA09500 for ; Wed, 13 Feb 2002 01:42:02 -0500 Date: Wed, 13 Feb 2002 01:42:01 -0500 (EST) From: Mikhail Kruk Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > I have > GTK_HDRS=/usr/X11R6/include/gtk12/ > and glib.h is located in > /usr/local/include/glib12/glib.h > > so it seems that I can't compile plugin as is without editing makefile. ok, nevermind that :( LIBG_HDRS are there but still build instructions should read: setenv LIBG_HDRS /usr/local/include/glib12 setenv GTK_HDRS /usr/X11R6/include/gtk12/ since that's what ports do... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 23:16:13 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 20A8937B404 for ; Tue, 12 Feb 2002 23:16:11 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16ateD-0005BZ-00; Wed, 13 Feb 2002 00:16:10 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1D7G6058359; Wed, 13 Feb 2002 17:46:06 +1030 (CST) (envelope-from glewis) Date: Wed, 13 Feb 2002 17:46:06 +1030 From: Greg Lewis To: Mikhail Kruk Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD Message-ID: <20020213174606.A58333@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from meshko@cs.brandeis.edu on Wed, Feb 13, 2002 at 01:42:01AM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Feb 13, 2002 at 01:42:01AM -0500, Mikhail Kruk wrote: > > I have > > GTK_HDRS=/usr/X11R6/include/gtk12/ > > and glib.h is located in > > /usr/local/include/glib12/glib.h > > > > so it seems that I can't compile plugin as is without editing makefile. > > ok, nevermind that :( > LIBG_HDRS are there > but still build instructions should read: > > setenv LIBG_HDRS /usr/local/include/glib12 > setenv GTK_HDRS /usr/X11R6/include/gtk12/ > > since that's what ports do... D'oh. Thats what its set to in the patches for the port Makefile even. Too many late nights. I will update patchset the BUILD file in the patchset tomorrow morning. Thanks for the quick report. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 12 23:28:22 2002 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id D059037B400 for ; Tue, 12 Feb 2002 23:28:18 -0800 (PST) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id CAA09630; Wed, 13 Feb 2002 02:28:14 -0500 Date: Wed, 13 Feb 2002 02:28:14 -0500 (EST) From: Mikhail Kruk To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD In-Reply-To: <20020213174606.A58333@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > setenv GTK_HDRS /usr/X11R6/include/gtk12/ > > > > since that's what ports do... > > D'oh. Thats what its set to in the patches for the port Makefile even. > Too many late nights. I will update patchset the BUILD file in the > patchset tomorrow morning. > > Thanks for the quick report. Thank you guys for the great job!! I'm sitting here testing the stuff. Native threads seem to be in decent shape but gui applications seem to cause signal 1 almost always (Swing sooner, awt later). Plugin is really impressive! Even sound works. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 0:46:20 2002 Delivered-To: freebsd-java@freebsd.org Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (Postfix) with ESMTP id 6947437B405 for ; Wed, 13 Feb 2002 00:46:16 -0800 (PST) Received: (from uucp@localhost) by frmug.org (8.11.3/8.11.3/frmug-2.7/nospam) with UUCP id g1D8j3o01809; Wed, 13 Feb 2002 09:45:03 +0100 (CET) (envelope-from earzur@noos.fr) Received: from noos.fr (localhost [127.0.0.1]) by amelie.frmug.org (Postfix) with ESMTP id D0212710C; Wed, 13 Feb 2002 09:34:33 +0100 (CET) Message-ID: <3C6A2519.2030401@noos.fr> Date: Wed, 13 Feb 2002 09:34:33 +0100 From: Erwan Arzur User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.8) Gecko/20020205 X-Accept-Language: en-us MIME-Version: 1.0 To: Timothy Kettering Cc: freebsd-java@freebsd.org Subject: Re: Incorrect timestamps with native 1.3.1 jdk? References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Timothy Kettering wrote: > > As far as I can see, there's a problem here. CST is -600 GMT, not +600 GMT. > This would very well explain why I'm getting 12 hour differences when > formatting my Date objects. > > So what I'm wondering is - am I supposed to set some sort of system variable > for java to use, or was java supposed to automatically pick up this timezone > information from my server and its gone slightly screwy? > > -tim > > Just read the sources of java.util.Date / java.util.TimeZone, and you'll see as i did how much date and timezones handling sucks in the java standard library. What happens is that the OS timezone names and java's one are different, thus you *have* to specify it on the command line. This is to keep it "portable across different architecture" (what they did not assert is that any decent OS should provide means to keep programs independent from timezones !) As i'm currently working in France, every single application i write must set the user.timezone system property to "ECT" (while the OS thinks appropriately MET or CET) in order to display correct times. I remember posting a bug about that four years ago, and someone in Sun replied me it was normal TimeZone handling, and not a tipycal "everyone should use CST and a QWERTY keyboard" behaviour ;-) And read the source : in src/java/util/TimeZone.java new SimpleTimeZone(-6*ONE_HOUR, "America/Regina" /*CST*/), // America/Regina Saskatchewan(CA) -6:00 - CST //---------------------------------------------------------- So when you use, CST, java thinks you're in the America/Regina time zone. :-) And this comment speaks for itself : // The following data is current as of 1998. // Total Unix zones: 343 // Total Java zones: 289 // Not all Unix zones become Java zones due to duplication and overlap. Find the appropriate timezone in this file, and use /path/to/java -Duser.timezone="MYTZ" this will solve your problem ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 1:50:44 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 814AD37B417 for ; Wed, 13 Feb 2002 01:50:41 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1D9ogG01074; Wed, 13 Feb 2002 10:50:42 +0100 (CET) (envelope-from ernst) Message-Id: <200202130950.g1D9ogG01074@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Herve Quiroz , java@freebsd.org Subject: Re: Proposal for bsd.port.mk Date: Wed, 13 Feb 2002 10:50:42 +0100 X-Mailer: KMail [version 1.3.2] References: <20020212155653.H68351-100000@puget.esil.univ-mrs.fr> In-Reply-To: <20020212155653.H68351-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Herve, > How are things going for bsd.port.mk ? I saw there has been an update on > Ernst's page (2001-01-15 I think)... Yup. Have been working on it, although not too much. I've created a sample bsd.java.mk file, but it doesn't really do anything yet. > Recently I took a look upon NetBSD pkgsrc java system. Looks like the > latest bsd.port.mk proposal more or less... Could you provide us with a link? > I am not sure we came to some final decision about the location of libs > and the CLASSPATH management. For CLASSPATH I remember we decided not to Well, perhaps we could modify javavmwrapper so that it installs a script in ${PREFIX}/bin/java that will (1) choose the right java executable and (2) set the classpath to include all .jar files below ${PREFIX}/share/java/classes or so... > have it set automatically after installing a new java lib (because of some > RMI aps and so). But in such a case there should be a unified location for > all the java libs. Maybe /usr/local/lib or /usr/local/lib/java. Or maybe > it could be easier to have all java-related in /usr/local/java. So > /usr/local/java being the $PREFIX for all java-related ports. This way, > there would be : > /usr/local/java/lib (with GNU Trove, JSX...) > /usr/local/java/linux-ibm-jdk13 > /usr/local/java/jdk-1.1.8 > /usr/local/java/doc/jdk-1.1.8 > /usr/local/java/doc/jakarta-ant Nah, we should not make that distinction between Java programs and other programs. There is no /usr/local/ruby directory either. > Also, maybe there should be something in the proposal to normalize the > location of ports. I mean a java tool (like ant or mmake) should go in > devel, lang, or java ? Same for java libs. Good point. I'm more and more in favor of putting things in devel, www and textproc instead of java... Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 2:15:56 2002 Delivered-To: freebsd-java@freebsd.org Received: from eomer.vianetworks.nl (eomer.vianetworks.nl [212.61.15.10]) by hub.freebsd.org (Postfix) with ESMTP id EA9E237B402 for ; Wed, 13 Feb 2002 02:15:50 -0800 (PST) Received: from uucp.iae.nl (uucp.iae.nl [212.61.26.37]) by eomer.vianetworks.nl (Postfix) with ESMTP id 5634421348 for ; Wed, 13 Feb 2002 11:15:05 +0100 (CET) Received: (from uucp@localhost) by uucp.iae.nl (8.9.1/8.9.1) with IAEhv.nl id LAA00689 for java@freebsd.org; Wed, 13 Feb 2002 11:15:05 +0100 (MET) Received: (from marc@localhost) by bowtie.nl (8.11.1/8.11.1) id g1DAC1a99762; Wed, 13 Feb 2002 11:12:01 +0100 (CET) (envelope-from marc) Date: Wed, 13 Feb 2002 11:12:01 +0100 From: Marc van Kempen To: java@freebsd.org Subject: plugin fails to execute! Message-ID: <20020213111201.A99561@nietzsche.intra.bowtie.nl> Reply-To: marc@bowtie.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I just finished building the jdk1.3.1pl6 (by hand, not via the port), and after building the plugin and images I tried to get the plugin to work with mozilla. When running it as user marc the browser just hangs when trying to load an applet, when running it as root I get the following error: Turning tracing on.... INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2 < System error?:: No such file or directory Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0. INTERNAL ERROR on Browser End: Could not read ack from browser System error?:: Resource temporarily unavailable I have set the following environment variables: MOZILLA_WORKAROUND=1 JAVA_PLUGIN_DEBUG=1 JAVA_PLUGIN_TRACE=1 JAVA_PLUGIN_TRACE_VERBOSE=1 JAVA_PLUGIN_LD_DEBUG=1 But to no avail. Any ideas what causes this? Regards, Marc. -- ---------------------------------------------------- Marc van Kempen tel. +31 40 2 64 98 60 BowTie Technology fax. +31 40 2 64 98 61 Raiffeisenstraat 7 mailto:marc@bowtie.nl 5611 CH Eindhoven http://www.bowtie.nl ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 2:40:23 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id 47A5E37B402; Wed, 13 Feb 2002 02:40:13 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g1DAlLs26771; Wed, 13 Feb 2002 11:47:25 +0100 (CET) (envelope-from hquiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Wed, 13 Feb 2002 11:47:21 +0100 (CET) From: Herve Quiroz To: Ernst de Haan Cc: java@FreeBSD.ORG Subject: Re: Proposal for bsd.port.mk In-Reply-To: <200202130950.g1D9ogG01074@zaphod.euronet.nl> Message-ID: <20020213112519.W26682-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Recently I took a look upon NetBSD pkgsrc java system. Looks like the > > latest bsd.port.mk proposal more or less... > > Could you provide us with a link? Here you are, the ports.tar.gz equivalent : ftp://ftp.fr.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/pkgsrc.tar.gz (or maybe you can browse directly on the ftp...) BTW, not really topic related but pkgsrc has nice htmls for each package and for each category (so people get freshports information locally at each cvsup). > > > I am not sure we came to some final decision about the location of libs > > and the CLASSPATH management. For CLASSPATH I remember we decided not to > > Well, perhaps we could modify javavmwrapper so that it installs a script in > ${PREFIX}/bin/java that will (1) choose the right java executable and (2) set > the classpath to include all .jar files below ${PREFIX}/share/java/classes or > so... Okay. But then you cannot install 2 versions of the same lib and then choose what to use at runtime/compiletime... I am not saying it's bad (as we can anyway override the CLASSPATH using command line parameters) but we must take notice and make a choice. > > have it set automatically after installing a new java lib (because of some > > RMI aps and so). But in such a case there should be a unified location for > > all the java libs. Maybe /usr/local/lib or /usr/local/lib/java. Or maybe > > it could be easier to have all java-related in /usr/local/java. So > > /usr/local/java being the $PREFIX for all java-related ports. This way, > > there would be : > > /usr/local/java/lib (with GNU Trove, JSX...) > > /usr/local/java/linux-ibm-jdk13 > > /usr/local/java/jdk-1.1.8 > > /usr/local/java/doc/jdk-1.1.8 > > /usr/local/java/doc/jakarta-ant > > Nah, we should not make that distinction between Java programs and other > programs. There is no /usr/local/ruby directory either. I agree. I think the best is to have everything (C, C++, ruby...) used the same way in the system. But then maybe $PREFIX/lib[/java] would better suit this "unified" way ? > > Also, maybe there should be something in the proposal to normalize the > > location of ports. I mean a java tool (like ant or mmake) should go in > > devel, lang, or java ? Same for java libs. > > Good point. I'm more and more in favor of putting things in devel, www and > textproc instead of java... Either we go for multiple entries (I mean jakarta-ant being in java/ and devel/ via a link or so) or we should get rid of the java/ dir. As you said before there is no ruby/ or c++/ category. Anyway, how many people are working on the proposal ? Do every java-related port maintainer agree with it ? Help needed ? As soon as we have something "pure" and efficient for java ports, I will try to port/maintain some of the libs I use (Gameframe, log4j, and maybe later some XML-related like JSX, eXist...) ;) Herve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 6: 0:22 2002 Delivered-To: freebsd-java@freebsd.org Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (Postfix) with ESMTP id 4688337B400 for ; Wed, 13 Feb 2002 06:00:17 -0800 (PST) Received: (from uucp@localhost) by frmug.org (8.11.3/8.11.3/frmug-2.7/nospam) with UUCP id g1DE08m20785; Wed, 13 Feb 2002 15:00:08 +0100 (CET) (envelope-from earzur@noos.fr) Received: from noos.fr (localhost [127.0.0.1]) by amelie.frmug.org (Postfix) with ESMTP id 14761716A; Wed, 13 Feb 2002 14:52:03 +0100 (CET) Message-ID: <3C6A6F82.1000504@noos.fr> Date: Wed, 13 Feb 2002 14:52:02 +0100 From: Erwan Arzur User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.8) Gecko/20020205 X-Accept-Language: en-us MIME-Version: 1.0 To: Greg Lewis Cc: freebsd-java@freebsd.org Subject: Re: 1.3.1 patchset 6 References: <20020213150154.A57632@misty.eyesbeyond.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greg Lewis wrote: > Hi all, > > Patchset 6 for JDK 1.3.1 is up on the web site. The main highlights are: > > 1. The Java web browser plugin for Mozilla is working (Joe Kelsey and > Fuyuhiko Maruyama). > 2. Several bug fixes, including the division by zero problem. > 3. An improved native threads subsystem (Bill Huey). > 4. Work has begun on the HotSpot VM (Bill Huey and Joe Kelsey). > Hello Greg, Thanks to all for this great work ! I just gave it a try and i've some problems to report, though i may not have used the appropriate compilation method. I just used the port makefile updated with the new PATCHLEVEL variable. Except a small problem regarding this new distfile without md5 checksum, the compilation goes well but i did not found the plugin compiled anywhere. Do you have to build it manually ? I tried to compile it using "gmake plugin" from work/j2sdk1.3.1/make and it compiled (after some tweaking with the location of gdk/gtk headers), but i have no clue on how to install it. tried to simlink it from /usr/X11R6/lib/mozilla/plugin, but i get an immediate core dump trying to open any page with a java applet (http://java.sun.com being one of those). about:plugins reports the plugin appropriately though. Could you please give some more specific instructions to those who are too keen to see this working and can't wait for the updated port ? ;-) Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 7: 7:15 2002 Delivered-To: freebsd-java@freebsd.org Received: from corb.mc.mpls.visi.com (corb.mc.mpls.visi.com [208.42.156.1]) by hub.freebsd.org (Postfix) with ESMTP id E77E637B402 for ; Wed, 13 Feb 2002 07:07:07 -0800 (PST) Received: from [209.98.155.26] (envy.blackcore.com [209.98.155.26]) by corb.mc.mpls.visi.com (Postfix) with ESMTP id 4585F81A5 for ; Wed, 13 Feb 2002 09:07:07 -0600 (CST) User-Agent: Microsoft-Entourage/10.0.0.1331 Date: Wed, 13 Feb 2002 09:07:07 -0600 Subject: Re: Incorrect timestamps with native 1.3.1 jdk? From: Timothy Kettering To: FreeBSD-Java Message-ID: In-Reply-To: <3C6A2519.2030401@noos.fr> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Just read the sources of java.util.Date / java.util.TimeZone, and you'll > see as i did how much date and timezones handling sucks in the java > standard library. > Yeah, I was warned by many senior java developers that the Date/TimeZone stuff was pretty treacherous and not to even speak the name of GregorianCalendar! I've made some fixes in my code that ensure that the proper timezone is set before the program does it calculations. However, when I did the devlopment of this application on my workstation, which is Mac OS X, the JVM had no problem with the dates, picked up the correct timezone that my system was set to, and worked just fine. It was only when I migrated the application over to the freeBSD server that the timezone issue reared its ugly head. So I guess what I'm asking is why the JVM on OS X would be able to pick up the timezone information from the system without any problem, but not the freeBSD JVM? And the companion question - should it be done? -- Tim Kettering http://www.blackcore.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 7:11:44 2002 Delivered-To: freebsd-java@freebsd.org Received: from arjun.niksun.com (gwnew.niksun.com [63.148.27.34]) by hub.freebsd.org (Postfix) with ESMTP id 3610B37B4C6 for ; Wed, 13 Feb 2002 07:10:50 -0800 (PST) Received: from niksun.com (arjun.niksun.com [10.0.0.5]) by arjun.niksun.com (8.9.3/8.9.3) with ESMTP id KAA63777 for ; Wed, 13 Feb 2002 10:10:49 -0500 (EST) (envelope-from dragos@niksun.com) Message-ID: <3C6A81FD.A45AB8C8@niksun.com> Date: Wed, 13 Feb 2002 10:10:53 -0500 From: Dragos Ilie Organization: NIKSUN, Inc. http://www.niksun.com X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD Java Subject: Socket bug Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Apparently I've hit a socket bug using linux-jdk-1.3.1.01_1. I have a client connecting to a web server. The web server streams data to the client. The native method java.net.SocketInputStream.socketRead() throws a SocketException: Resource temporarily unavailable instead of blocking until data becomes available. This happens after we call read() for a number of times (it varies). After looking around on the web this is what I think happens. The native code calls the C function recv(). If no data is available then errno will be set to EAGAIN (resource unavailable). When the native code sees that happen it panics and closes its side of the TCP connection by sending a FIN (verified with tcpdump). Depending on your luck you'll either get the SocketException or an IOException when you try to read again from the socket. The interesting part is that the server keeps open its end of the TCP connection and sends the remaining data. The client is however unable to read it. I guess the socket is marked as closed. Apparently this happens only on FreeBSD when using a jdk derived from the Blackdown port. A way to reproduce this problem is presented at the location below http://www.geocrawler.com/archives/3/162/2000/4/0/3640547/ Did anybody experience this problem? Are there any known workarounds? We tried the workaround shown in the URL above but it did not work for us. Regards, Dragos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 8: 5: 4 2002 Delivered-To: freebsd-java@freebsd.org Received: from dragon.realtime.net (dragon.realtime.net [205.238.128.89]) by hub.freebsd.org (Postfix) with SMTP id DDFE737B400 for ; Wed, 13 Feb 2002 08:04:55 -0800 (PST) Received: from tigerfish2.my.domain ([66.25.223.20]) by dragon.realtime.net ; Wed, 13 Feb 2002 10:04:19 -0600 Received: (from brucegb@localhost) by tigerfish2.my.domain (8.11.6/8.11.6) id g1DG4IG56063 for freebsd-java@freebsd.org; Wed, 13 Feb 2002 10:04:18 -0600 (CST) (envelope-from brucegb) Date: Wed, 13 Feb 2002 10:04:18 -0600 From: Bruce Burden To: freebsd-java@freebsd.org Subject: Re: plugin fails to execute! Message-ID: <20020213100418.E20348@tigerfish2.my.domain> References: <20020213111201.A99561@nietzsche.intra.bowtie.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020213111201.A99561@nietzsche.intra.bowtie.nl>; from marc@bowtie.nl on Wed, Feb 13, 2002 at 11:12:01AM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Feb 13, 2002 at 11:12:01AM +0100, Marc van Kempen wrote: > > When running it as user marc the browser just hangs when trying > to load an applet, when running it as root I get the following error: > > Turning tracing on.... > INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2 > < > System error?:: No such file or directory > Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0. > INTERNAL ERROR on Browser End: Could not read ack from browser > System error?:: Resource temporarily unavailable > > I get the above behavior if I am running as a user, and go to the Sun Java site: bash-2.05a$ mozilla INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2 < System error?:: No such file or directory Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0. INTERNAL ERROR on Browser End: Could not read ack from browser System error?:: Resource temporarily unavailable bash-2.05a$ Since I am running under xdm, starting mozilla from "root" gives me: su-2.05a# mozilla Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server Gtk-WARNING **: cannot open display: :0.0 I built/installed Java w/patch 6 via the ports, with the "NO_CHECKSUM=yes" and 6 specified in the Makefile as the patch level. I changed the LIBG_HDRS and GTK_HDRS to point to /usr/local/include/glib12 and /usr/X11R6/include/gtk12/, respectively. I build the plugin via the instructiion in the BUILD file (which, btw, has 600 for its permissions). As with Marc, Mozilla seems happy with the plugin. FreeBSD 4.5-RELEASE XFree86-4.1.0_12,1 fvwm-2.4.4 (no Gnome, currently) mozilla-0.9.7_2,1 jdk-1.3.1p6 gtk-1.2.10_3 glib-1.2.10_5 Bruce -- ------------------------------------------------------------------------ "I like bad!" Bruce Burden Austin, TX. - Thuganlitha The Power and the Prophet Robert Don Hughes To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 9: 0:47 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 8FCA637B416 for ; Wed, 13 Feb 2002 09:00:43 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16b2ls-0005CU-00; Wed, 13 Feb 2002 10:00:42 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1DH0aT60058; Thu, 14 Feb 2002 03:30:36 +1030 (CST) (envelope-from glewis) Date: Thu, 14 Feb 2002 03:30:35 +1030 From: Greg Lewis Cc: Mikhail Kruk , freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD Message-ID: <20020214033035.A59862@misty.eyesbeyond.com> References: <20020213174606.A58333@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020213174606.A58333@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Wed, Feb 13, 2002 at 05:46:06PM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Feb 13, 2002 at 05:46:06PM +1030, Greg Lewis wrote: > > D'oh. Thats what its set to in the patches for the port Makefile even. > Too many late nights. I will update patchset the BUILD file in the > patchset tomorrow morning. > I have updated the BUILD file and included it in the patchset. I'm a little dubious about this change now that I think on it more, but its there. Remember that the patchset is also for NetBSD, so unless these paths are accurate for NetBSD as well I may either change things back or add additional notes. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 9: 3:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.mstar2.net (mail.mstar2.net [216.126.197.66]) by hub.freebsd.org (Postfix) with ESMTP id 8709B37B402 for ; Wed, 13 Feb 2002 09:03:29 -0800 (PST) Date: Wed, 13 Feb 2002 10:03:32 -0700 Message-Id: <200202131003.AA613089578@mail.mstar2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Guerry Semones" Reply-To: X-Sender: To: Subject: Compiling C++ JNI Application with FreeBSD JDK1.3.1 GREEN Threads? Help! X-Mailer: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org :-), We have a C++ application that we are porting from Windows 2000 to FreeBSD. The application makes calls from C++ to Java classes via JNI and the libjvm.so stuff. We tried linking in the *_g.so libs, as well as the the non-_g.so libs. The application compiles, but upon execution, we get the following message: Cannot open "/usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi_g.so"* ** Signal 11 For whatever reason, something is looking for the native_threads directory (which doesn't exist!), rather than the /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi_g.so which does.... We are using pointing to the classic jvm. Also, we'd just as well choose to use native_threads, but we get the impression that they aren't available yet for FreeBSD. Any help would be much appreciated! Thanks in advance, Guerry gsemones@treenleaf.com ________________________________________________________________ Sent via the Mstar2 mail system at mail.mstar2.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 9: 3:37 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id E971637B416 for ; Wed, 13 Feb 2002 09:03:32 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16b2oc-0002SE-00; Wed, 13 Feb 2002 10:03:31 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1DH3Rd60080; Thu, 14 Feb 2002 03:33:27 +1030 (CST) (envelope-from glewis) Date: Thu, 14 Feb 2002 03:33:26 +1030 From: Greg Lewis To: Erwan Arzur Cc: freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 6 Message-ID: <20020214033326.B59862@misty.eyesbeyond.com> References: <20020213150154.A57632@misty.eyesbeyond.com> <3C6A6F82.1000504@noos.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C6A6F82.1000504@noos.fr>; from earzur@noos.fr on Wed, Feb 13, 2002 at 02:52:02PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Feb 13, 2002 at 02:52:02PM +0100, Erwan Arzur wrote: > I just gave it a try and i've some problems to report, though i may not > have used the appropriate compilation method. > > I just used the port makefile updated with the new PATCHLEVEL variable. > Except a small problem regarding this new distfile without md5 checksum, > the compilation goes well but i did not found the plugin compiled anywhere. > > Do you have to build it manually ? I tried to compile it using "gmake > plugin" from work/j2sdk1.3.1/make and it compiled (after some tweaking > with the location of gdk/gtk headers), but i have no clue on how to > install it. > > tried to simlink it from /usr/X11R6/lib/mozilla/plugin, but i get an > immediate core dump trying to open any page with a java applet > (http://java.sun.com being one of those). about:plugins reports the > plugin appropriately though. > > Could you please give some more specific instructions to those who are > too keen to see this working and can't wait for the updated port ? ;-) The impatient are expected to fend for themselves. If I spent time on updating the instructions I would have less time to update the port :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 9: 4:33 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 0894A37B402 for ; Wed, 13 Feb 2002 09:04:29 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16b2pL-0000ed-00; Wed, 13 Feb 2002 09:04:15 -0800 Date: Wed, 13 Feb 2002 09:04:15 -0800 To: Mikhail Kruk Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD Message-ID: <20020213170415.GA2470@gnuppy.monkey.org> References: <20020213174606.A58333@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Feb 13, 2002 at 02:28:14AM -0500, Mikhail Kruk wrote: > Thank you guys for the great job!! > I'm sitting here testing the stuff. Native threads seem to be in decent > shape but gui applications seem to cause signal 1 almost always (Swing > sooner, awt later). > Plugin is really impressive! Even sound works. If you're using native threading with Swing, then you've run into a problem with signal delivery that has yet to be worked out. SIGUSR1 I believe isn't being caught for some reason and it's one of the last bugs that prevent the native threading implemenation from fully working at this time. I'm not sure what other bugs are left once this has been squashed. There's also a problem in the pthreads library that inappropriately wakes a thread without checking to see if it was marked as suspended. Hopefully, that'll be worked out soon. I'm still HotSpot hacking over here. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 9: 6:26 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 91C3F37B421 for ; Wed, 13 Feb 2002 09:06:03 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16b2r4-00033d-00; Wed, 13 Feb 2002 10:06:02 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1DH5r160097; Thu, 14 Feb 2002 03:35:53 +1030 (CST) (envelope-from glewis) Date: Thu, 14 Feb 2002 03:35:53 +1030 From: Greg Lewis To: Marc van Kempen Cc: java@FreeBSD.ORG Subject: Re: plugin fails to execute! Message-ID: <20020214033553.C59862@misty.eyesbeyond.com> References: <20020213111201.A99561@nietzsche.intra.bowtie.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020213111201.A99561@nietzsche.intra.bowtie.nl>; from marc@bowtie.nl on Wed, Feb 13, 2002 at 11:12:01AM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Feb 13, 2002 at 11:12:01AM +0100, Marc van Kempen wrote: > I just finished building the jdk1.3.1pl6 (by hand, not via the port), > and after building the plugin and images I tried to get the > plugin to work with mozilla. > > When running it as user marc the browser just hangs when trying > to load an applet, when running it as root I get the following error: > > Turning tracing on.... > INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2 > < > System error?:: No such file or directory > Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0. > INTERNAL ERROR on Browser End: Could not read ack from browser > System error?:: Resource temporarily unavailable Is java_vm actually present in the jdk installation? It should be, for example, in jre/bin/i386/green_threads/ (from memory). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 9:12:15 2002 Delivered-To: freebsd-java@freebsd.org Received: from relay.comm2000.it (mindseal.comm2000.it [194.133.0.6]) by hub.freebsd.org (Postfix) with ESMTP id 3AB7437B41B for ; Wed, 13 Feb 2002 09:12:04 -0800 (PST) Received: from insomma.local.lan (irimi.datacode.it [212.97.41.22]) by relay.comm2000.it (8.11.2/MFAGMM-19990726) with ESMTP id g1DHBwW01733 for ; Wed, 13 Feb 2002 18:11:59 +0100 X-SMTP-Peer: irimi.datacode.it [212.97.41.22] Received: (from nobody@localhost) by insomma.local.lan (8.11.6/8.11.3) id g1DGcwp86548; Wed, 13 Feb 2002 17:38:58 +0100 (CET) (envelope-from massimo@datacode.it) X-Authentication-Warning: insomma.local.lan: nobody set sender to massimo@datacode.it using -f Received: from 192.168.1.13 ( [192.168.1.13]) as user massimo@mail.local.lan by webapps.datacode.it with HTTP; Wed, 13 Feb 2002 17:38:58 +0100 Message-ID: <1013618338.3c6a96a25eaa3@webapps.datacode.it> Date: Wed, 13 Feb 2002 17:38:58 +0100 From: Massimo Lusetti To: Rasputin Cc: freebsd-java@freebsd.org Subject: JBoss on FreeBSD (was "Re: Java for FreeBSD") References: <20020211142834.A81586@sr.se> <20020212155415.A64695@gurney.reilly.home> <20020212094340.A3815@shikima.mine.nu> In-Reply-To: <20020212094340.A3815@shikima.mine.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 X-Originating-IP: 192.168.1.13 X-WebMailBy: DATACODE , Modena - Italy Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Quoting Rasputin : > I had to install JBoss to get the J2EE APIs. Well i'm very interested on how (performance side) it goes. I got it on a mid size server compared to other operating system JVM and it do its job very well on heavy loads but it loose poorly on low/mid loads. Mine test was run on _only_ ejb calls, i got no test on serving HTTP requests... Have anyone other experience also with other "servlet container" and/or "J2EE container" Regards -- Massimo Lusetti DATACODE s.r.l. Network Department Manager url: http://www.datacode.it info: info@datacode.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 9:17:52 2002 Delivered-To: freebsd-java@freebsd.org Received: from cartman.streamcheck.com (cartman.streamcheck.com [216.94.129.229]) by hub.freebsd.org (Postfix) with ESMTP id 4138237B416 for ; Wed, 13 Feb 2002 09:17:50 -0800 (PST) Received: from [204.92.55.162] (helo=jay2k) by cartman.streamcheck.com with esmtp (Exim 3.20 #2) id 16b32U-000OWr-00 for freebsd-java@freebsd.org; Wed, 13 Feb 2002 12:17:50 -0500 From: "Jason Bigue" To: Subject: RE: JBoss on FreeBSD (was "Re: Java for FreeBSD") Date: Wed, 13 Feb 2002 12:17:49 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal In-Reply-To: <1013618338.3c6a96a25eaa3@webapps.datacode.it> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Have anyone other experience also with other "servlet container" > and/or "J2EE container" Haven't tried the new patch yet, but we've been testing Resin (www.caucho.com) as a servlet engine and with our app the performance with FreeBSD/the last native jdk beats the native 1.2.2 jdk and also beats the performance of the same setup on linux/jdk 1.3.1 by quite a bit - more requests/sec at a lighter load. Looking forward to testing the latest version. Jason Bigue jason@candescent.ca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 9:20:53 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id D210C37B436 for ; Wed, 13 Feb 2002 09:20:47 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16b35F-0000hS-00; Wed, 13 Feb 2002 09:20:41 -0800 Date: Wed, 13 Feb 2002 09:20:41 -0800 To: Jason Bigue Cc: freebsd-java@freebsd.org Subject: Re: JBoss on FreeBSD (was "Re: Java for FreeBSD") Message-ID: <20020213172041.GA2680@gnuppy.monkey.org> References: <1013618338.3c6a96a25eaa3@webapps.datacode.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Feb 13, 2002 at 12:17:49PM -0500, Jason Bigue wrote: > Haven't tried the new patch yet, but we've been testing Resin > (www.caucho.com) as a servlet engine and with our app the performance with > FreeBSD/the last native jdk beats the native 1.2.2 jdk and also beats the > performance of the same setup on linux/jdk 1.3.1 by quite a bit - more > requests/sec at a lighter load. With HotSpot turned on or off ? What kind of things does it do ? server packets over a socket ? > Looking forward to testing the latest version. Just wait until HotSpot and NIO (in 1.4) is fully working... > Jason Bigue > jason@candescent.ca ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 9:29:32 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp03.wxs.nl (smtp03.wxs.nl [195.121.6.37]) by hub.freebsd.org (Postfix) with ESMTP id C716137B416; Wed, 13 Feb 2002 09:29:25 -0800 (PST) Received: from cybertron.kruijff ([213.10.151.186]) by smtp03.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id GRHF8Z01.CMP; Wed, 13 Feb 2002 18:29:23 +0100 Date: Wed, 13 Feb 2002 18:29:22 +0100 From: Alex X-Mailer: The Bat! (v1.53d) Reply-To: Alex X-Priority: 3 (Normal) Message-ID: <15611674597.20020213182922@cybertron.tmfweb.nl> To: "Andrew Reilly" Cc: Gunnar Flygt , FreeBSD Stable , freebsd-java@freebsd.org Subject: Re[2]: Java for FreeBSD In-Reply-To: <20020212155415.A64695@gurney.reilly.home> References: <20020211142834.A81586@sr.se> <20020212155415.A64695@gurney.reilly.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello Andrew, Tuesday, February 12, 2002, 5:54:15 AM, you wrote: AR> On Mon, Feb 11, 2002 at 02:28:34PM +0100, Gunnar Flygt wrote: >> What's the status for Java native version for FreeBSD, that was >> announced in stable a few weeks ago? AR> I've just installed the native j2ee_sdk that lives in AR> /usr/ports/java/jdk13, seemingly without problems. I had to AR> have the linux-jdk13 port installed first, which wasn't AR> expressed as a package dependancy, but wasn't hard to fix, AR> either. Is there away to install JDK 1.3+ without X? I tried to install it on 4.4 but it wanted to install X and asked me lot of quistions about it. I also needed to download two compressed files by hand (normal). Didn't hear anything about needing linux-jdk due. -- Best regards, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 9:34: 9 2002 Delivered-To: freebsd-java@freebsd.org Received: from cartman.streamcheck.com (cartman.streamcheck.com [216.94.129.229]) by hub.freebsd.org (Postfix) with ESMTP id 4A68537B405 for ; Wed, 13 Feb 2002 09:34:08 -0800 (PST) Received: from [204.92.55.162] (helo=jay2k) by cartman.streamcheck.com with esmtp (Exim 3.20 #2) id 16b3IF-000OfY-00; Wed, 13 Feb 2002 12:34:07 -0500 From: "Jason Bigue" To: "Bill Huey" Cc: Subject: RE: JBoss on FreeBSD (was "Re: Java for FreeBSD") Date: Wed, 13 Feb 2002 12:34:06 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal In-Reply-To: <20020213172041.GA2680@gnuppy.monkey.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > With HotSpot turned on or off ? Off. > What kind of things does it do ? It's a web-based reporting system done w/ servlets. Does a lot of DB communication, calculates a variety of stats; loads our machines quite a it. We've been using FreeBSD for the front end & linux for the back-end (java) but with what we're seeing now we'll be *upgrading* our machines to FreeBSD asap. > Just wait until HotSpot and NIO (in 1.4) is fully working.. Keep up the good work! J. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 9:49:21 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 455AF37B400 for ; Wed, 13 Feb 2002 09:49:17 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16b3Wt-0000jx-00; Wed, 13 Feb 2002 09:49:15 -0800 Date: Wed, 13 Feb 2002 09:49:15 -0800 To: Jason Bigue Cc: freebsd-java@freebsd.org Subject: Re: JBoss on FreeBSD (was "Re: Java for FreeBSD") Message-ID: <20020213174915.GA2799@gnuppy.monkey.org> References: <20020213172041.GA2680@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Feb 13, 2002 at 12:34:06PM -0500, Jason Bigue wrote: > > With HotSpot turned on or off ? > > Off. Excellent. > > What kind of things does it do ? > > It's a web-based reporting system done w/ servlets. Does a lot of DB > communication, calculates a variety of stats; loads our machines quite a it. > > We've been using FreeBSD for the front end & linux for the back-end (java) > but with what we're seeing now we'll be *upgrading* our machines to FreeBSD > asap. > > > Just wait until HotSpot and NIO (in 1.4) is fully working.. > Keep up the good work! I've narrowed all the large HotSpot changes into one big ~3k line file, did an initial merge of solaris stuff and have a passing understanding of how that compiler does high speed mutexes outside of the pthreads system. I believe I have enough understanding of the code to actually do core work on it and I believe that I should have something ready for testing in about 4 weeks from this point. It's more unspeakably evil object oriented virtual machine hackery, kind of like another JVM that needs to be ported over with its own runtime system (threading, type, bytecode, etc...). I can't even begin to explain what I have to put up with just to get something simple conceptualized to a clear degree in some fashion... bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 11: 7:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 9F23937B402 for ; Wed, 13 Feb 2002 11:06:24 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16b4jJ-0006aE-00 for freebsd-java@FreeBSD.ORG; Wed, 13 Feb 2002 12:06:10 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1DJ65b60573 for freebsd-java@FreeBSD.ORG; Thu, 14 Feb 2002 05:36:05 +1030 (CST) (envelope-from glewis) Date: Thu, 14 Feb 2002 05:36:05 +1030 From: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 6 Message-ID: <20020214053605.A60507@misty.eyesbeyond.com> References: <20020213150154.A57632@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="liOOAslEiF7prFVr" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020213150154.A57632@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Wed, Feb 13, 2002 at 03:01:55PM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Feb 13, 2002 at 03:01:55PM +1030, Greg Lewis wrote: > Note that I am still in the process of testing the update to FreeBSD's > ports/java/jdk13. This should be available sometime tomorrow. I've built and installed the port with the attached patch. I even got a working plugin out of it :). Be warned though, I haven't tested flags like WITHOUT_PLUGIN. I'm going to run some builds with different options and if they work ok I will send-pr the patch later today. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="jdk13.diff" Index: Makefile =================================================================== RCS file: /usr/packages/java/jdk/repository/port13/jdk13/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- Makefile 2002/02/10 23:21:59 1.4 +++ Makefile 2002/02/13 19:03:23 @@ -20,12 +20,17 @@ gtar:${PORTSDIR}/archivers/gtar \ ${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-jdk13 \ ${X11BASE}/lib/libMrm.a:${PORTSDIR}/x11-toolkits/open-motif-devel +.if !defined(WITHOUT_PLUGIN) +RUN_DEPENDS= glib12.3:$(PORTSDIR)/devel/glib12 \ + gtk12.3:$(PORTSDIR)/x11-toolkits/gtk12 \ + nspr4.1:$(PORTSDIR)/devel/nspr +.endif RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper WRKSRC= ${WRKDIR}/j2sdk1.3.1/make JDK_VERSION= 1.3.1 -JDK_PATCHSET_VERSION= 5 +JDK_PATCHSET_VERSION= 6 JDK13DIR?= ${LOCALBASE}/linux-jdk${JDK_VERSION} @@ -39,7 +44,14 @@ CLASSPATH="" \ LD_LIBRARY_PATH="" \ JAVA_COMPILER="" +.if !defined(WITHOUT_PLUGIN) +MAKE_ENV+= LIBG_HDRS="${LOCALBASE}/include/glib12" \ + GTK_HDRS="${X11BASE}/include/gtk12" \ + LIBIDL_HDRS= +ALL_TARGET= all plugin images +.else ALL_TARGET= all images +.endif TAR= gtar # Necessary for proper extraction of sources BSD_TAR= /usr/bin/tar PLIST_SUB+= JDK_VERSION=${JDK_VERSION} @@ -54,6 +66,19 @@ PLIST_SUB+= DEBUG:="" .endif +.if defined(WITH_NATIVE_THREADS) +PLIST_SUB+= NATIVE:="" +MAKE_ENV+= HPIS="green native" +.else +PLIST_SUB+= NATIVE:="@comment " +.endif + +.if defined(WITHOUT_PLUGIN) +PLIST_SUB+= PLUGIN:="@comment " +.else +PLIST_SUB+= PLUGIN:="" +.endif + .if defined(BATCH) || defined(PACKAGE_BUILDING) IGNORE= "You can not legally distribute pre-compiled binaries" .endif @@ -68,9 +93,16 @@ pre-patch: @cd ${WRKDIR} && \ + ${CHMOD} -R u+w * && \ ${MKDIR} -p j2sdk1.3.1/ext/plugin/oji-plugin/include/bsd/jdk12 && \ ${MKDIR} -p j2sdk1.3.1/ext/plugin/oji-plugin/include/solaris/navig5/private && \ ${MKDIR} -p j2sdk1.3.1/src/bsd/doc/man && \ + ${MKDIR} -p hotspot1.3.1/build/bsd && \ + ${MKDIR} -p hotspot1.3.1/build/bsd/makefiles && \ + ${MKDIR} -p hotspot1.3.1/build/bsd/package && \ + ${MKDIR} -p hotspot1.3.1/src/os/bsd/launcher && \ + ${MKDIR} -p hotspot1.3.1/src/os/bsd/vm && \ + ${MKDIR} -p hotspot1.3.1/src/os_cpu/bsd_i486/vm && \ ${PATCH} < ${WRKDIR}/jdk131.patches .if !defined(NODEBUG) @@ -92,5 +124,17 @@ post-install: ${LOCALBASE}/bin/registervm "${PREFIX}/jdk${JDK_VERSION}/bin/java # FREEBSD-JDK${JDK_VERSION}" +.if !defined(WITHOUT_PLUGIN) + @${ECHO_MSG} + @${ECHO_MSG} The use the Java plugin with Mozilla you must create a + @${ECHO_MSG} symbolic link from + @${ECHO_MSG} + @${ECHO_MSG} ${PREFIX}/jdk${JDK_VERSION}/jre/plugin/i386/ns600/libjavaplugin_oji.so + @${ECHO_MSG} + @${ECHO_MSG} to your Mozilla plugins directory, which is usually found at + @${ECHO_MSG} + @${ECHO_MSG} ${X11BASE}/lib/mozilla/plugins + @${ECHO_MSG} +.endif .include Index: distinfo =================================================================== RCS file: /usr/packages/java/jdk/repository/port13/jdk13/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 2002/02/10 23:21:59 1.3 +++ distinfo 2002/02/13 18:45:58 @@ -1,2 +1,2 @@ MD5 (j2sdk-1_3_1-src.tar.gz) = 787a01655133df85e65eda7deb2ece57 -MD5 (bsd-jdk131-patches-5.tar.gz) = 7a7ddb0f86f4796fe8b46286d8865dcb +MD5 (bsd-jdk131-patches-6.tar.gz) = 9cade10b81d6034fdd2176bef32bdbf9 Index: pkg-plist =================================================================== RCS file: /usr/packages/java/jdk/repository/port13/jdk13/pkg-plist,v retrieving revision 1.3 diff -u -r1.3 pkg-plist --- pkg-plist 2002/02/10 23:21:59 1.3 +++ pkg-plist 2002/02/13 18:45:57 @@ -4,6 +4,8 @@ jdk%%JDK_VERSION%%/README jdk%%JDK_VERSION%%/README.html jdk%%JDK_VERSION%%/bin/.java_wrapper +jdk%%JDK_VERSION%%/bin/ControlPanel +jdk%%JDK_VERSION%%/bin/HtmlConverter jdk%%JDK_VERSION%%/bin/appletviewer %%DEBUG:%%jdk%%JDK_VERSION%%/bin/appletviewer_g jdk%%JDK_VERSION%%/bin/awt_robot @@ -22,6 +24,8 @@ %%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/green_threads/jarsigner_g jdk%%JDK_VERSION%%/bin/i386/green_threads/java %%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/green_threads/java_g +%%PLUGIN:%%jdk%%JDK_VERSION%%/bin/i386/green_threads/java_vm +%%PLUGIN:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/green_threads/java_vm_g jdk%%JDK_VERSION%%/bin/i386/green_threads/javac %%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/green_threads/javac_g jdk%%JDK_VERSION%%/bin/i386/green_threads/javadoc @@ -54,6 +58,52 @@ %%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/green_threads/serialver_g jdk%%JDK_VERSION%%/bin/i386/green_threads/tnameserv %%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/green_threads/tnameserv_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/appletviewer +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/appletviewer_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/extcheck +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/extcheck_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/idlj +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/idlj_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/jar +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/jar_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/jarsigner +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/jarsigner_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/java +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/java_g +%%PLUGIN:%%%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/java_vm +%%PLUGIN:%%%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/java_vm_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/javac +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/javac_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/javadoc +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/javadoc_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/javah +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/javah_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/javap +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/javap_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/jdb +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/jdb_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/keytool +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/keytool_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/native2ascii +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/native2ascii_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/oldjava +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/oldjava_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/oldjavac +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/oldjavac_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/oldjdb +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/oldjdb_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/policytool +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/policytool_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/rmic +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/rmic_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/rmid +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/rmid_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/rmiregistry +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/rmiregistry_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/serialver +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/serialver_g +%%NATIVE:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/tnameserv +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/bin/i386/native_threads/tnameserv_g jdk%%JDK_VERSION%%/bin/idlj %%DEBUG:%%jdk%%JDK_VERSION%%/bin/idlj_g jdk%%JDK_VERSION%%/bin/jar @@ -641,34 +691,90 @@ jdk%%JDK_VERSION%%/include/jvmpi.h jdk%%JDK_VERSION%%/jre/CHANGES jdk%%JDK_VERSION%%/jre/COPYRIGHT +jdk%%JDK_VERSION%%/jre/ControlPanel.html jdk%%JDK_VERSION%%/jre/LICENSE jdk%%JDK_VERSION%%/jre/LICENSE.fr jdk%%JDK_VERSION%%/jre/README jdk%%JDK_VERSION%%/jre/Welcome.html jdk%%JDK_VERSION%%/jre/bin/.java_wrapper +jdk%%JDK_VERSION%%/jre/bin/ControlPanel jdk%%JDK_VERSION%%/jre/bin/awt_robot jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/appletviewer +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/appletviewer_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/extcheck +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/extcheck_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/idlj +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/idlj_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/jar +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/jar_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/jarsigner +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/jarsigner_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/java +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/java_g +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/java_vm +%%PLUGIN:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/java_vm_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/javac +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/javac_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/javadoc +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/javadoc_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/javah +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/javah_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/javap +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/javap_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/jdb +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/jdb_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/keytool +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/keytool_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/native2ascii +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/native2ascii_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/oldjava +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/oldjava_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/oldjavac +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/oldjavac_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/oldjdb +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/oldjdb_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/policytool +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/policytool_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/rmic +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/rmic_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/rmid +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/rmid_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/rmiregistry +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/rmiregistry_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/serialver +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/serialver_g jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/tnameserv +%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/green_threads/tnameserv_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/appletviewer_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/extcheck_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/idlj_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/jar_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/jarsigner_g +%%NATIVE:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/java +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/java_g +%%PLUGIN:%%%%NATIVE:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/java_vm +%%PLUGIN:%%%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/java_vm_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/javac_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/javadoc_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/javah_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/javap_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/jdb_g +%%NATIVE:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/keytool +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/keytool_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/native2ascii_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/oldjava_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/oldjavac_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/oldjdb_g +%%NATIVE:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/policytool +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/policytool_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/rmic_g +%%NATIVE:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/rmid +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/rmid_g +%%NATIVE:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/rmiregistry +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/rmiregistry_g +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/serialver_g +%%NATIVE:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/tnameserv +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/bin/i386/native_threads/tnameserv_g jdk%%JDK_VERSION%%/jre/bin/java jdk%%JDK_VERSION%%/jre/bin/keytool jdk%%JDK_VERSION%%/jre/bin/policytool @@ -724,6 +830,8 @@ %%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/libioser12_g.so jdk%%JDK_VERSION%%/jre/lib/i386/libjava.so %%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/libjava_g.so +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/lib/i386/libjavaplugin_jni.so +%%PLUGIN:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/libjavaplugin_jni_g.so jdk%%JDK_VERSION%%/jre/lib/i386/libjawt.so %%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/libjawt_g.so jdk%%JDK_VERSION%%/jre/lib/i386/libjcov.so @@ -741,6 +849,8 @@ %%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/libverify_g.so jdk%%JDK_VERSION%%/jre/lib/i386/libzip.so %%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/libzip_g.so +%%NATIVE:%%jdk%%JDK_VERSION%%/jre/lib/i386/native_threads/libhpi.so +%%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/native_threads/libhpi_g.so jdk%%JDK_VERSION%%/jre/lib/images/cursors/cursors.properties jdk%%JDK_VERSION%%/jre/lib/images/cursors/invalid32x32.gif jdk%%JDK_VERSION%%/jre/lib/images/cursors/motif_CopyDrop32x32.gif @@ -749,9 +859,22 @@ jdk%%JDK_VERSION%%/jre/lib/images/cursors/motif_LinkNoDrop32x32.gif jdk%%JDK_VERSION%%/jre/lib/images/cursors/motif_MoveDrop32x32.gif jdk%%JDK_VERSION%%/jre/lib/images/cursors/motif_MoveNoDrop32x32.gif +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/lib/javaplugin.jar jdk%%JDK_VERSION%%/jre/lib/jvm.cfg jdk%%JDK_VERSION%%/jre/lib/jvm.hprof.txt jdk%%JDK_VERSION%%/jre/lib/jvm.jcov.txt +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/lib/locale/de/LC_MESSAGES/sunw_java_plugin.mo +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/lib/locale/es/LC_MESSAGES/sunw_java_plugin.mo +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/lib/locale/fr/LC_MESSAGES/sunw_java_plugin.mo +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/lib/locale/it/LC_MESSAGES/sunw_java_plugin.mo +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/lib/locale/ja/LC_MESSAGES/sunw_java_plugin.mo +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/lib/locale/ko.UTF-8/LC_MESSAGES/sunw_java_plugin.mo +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/lib/locale/ko/LC_MESSAGES/sunw_java_plugin.mo +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/lib/locale/sv/LC_MESSAGES/sunw_java_plugin.mo +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/lib/locale/zh.GBK/LC_MESSAGES/sunw_java_plugin.mo +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/lib/locale/zh/LC_MESSAGES/sunw_java_plugin.mo +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/lib/locale/zh_TW.BIG5/LC_MESSAGES/sunw_java_plugin.mo +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/lib/locale/zh_TW/LC_MESSAGES/sunw_java_plugin.mo jdk%%JDK_VERSION%%/jre/lib/psfont.properties.ja jdk%%JDK_VERSION%%/jre/lib/psfontj2d.properties jdk%%JDK_VERSION%%/jre/lib/rt.jar @@ -760,7 +883,12 @@ jdk%%JDK_VERSION%%/jre/lib/security/java.security jdk%%JDK_VERSION%%/jre/lib/sunrsasign.jar jdk%%JDK_VERSION%%/jre/lib/tzmappings +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/plugin/i386/ns4/javaplugin.so +%%PLUGIN:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/plugin/i386/ns4/javaplugin_g.so +%%PLUGIN:%%jdk%%JDK_VERSION%%/jre/plugin/i386/ns600/libjavaplugin_oji.so +%%PLUGIN:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/plugin/i386/ns600/libjavaplugin_oji_g.so jdk%%JDK_VERSION%%/lib/dt.jar +jdk%%JDK_VERSION%%/lib/htmlconverter.jar jdk%%JDK_VERSION%%/lib/i386/libdt_socket.so jdk%%JDK_VERSION%%/lib/i386/libjdwp.so jdk%%JDK_VERSION%%/lib/ir.idl @@ -795,10 +923,39 @@ @dirrm jdk%%JDK_VERSION%%/man @dirrm jdk%%JDK_VERSION%%/lib/i386 @dirrm jdk%%JDK_VERSION%%/lib -@dirrm jdk%%JDK_VERSION%%/jre/plugin +%%PLUGIN:%%@dirrm jdk%%JDK_VERSION%%/jre/plugin/i386/ns600 +%%PLUGIN:%%@dirrm jdk%%JDK_VERSION%%/jre/plugin/i386/ns4 +%%PLUGIN:%%@dirrm jdk%%JDK_VERSION%%/jre/plugin/i386 +%%PLUGIN:%%@dirrm jdk%%JDK_VERSION%%/jre/plugin @dirrm jdk%%JDK_VERSION%%/jre/lib/security +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/zh_TW/LC_MESSAGES +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/zh_TW.BIG5/LC_MESSAGES +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/zh_TW.BIG5 +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/zh_TW +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/zh/LC_MESSAGES +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/zh.GBK/LC_MESSAGES +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/zh.GBK +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/zh +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/sv/LC_MESSAGES +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/sv +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/ko/LC_MESSAGES +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/ko.UTF-8/LC_MESSAGES +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/ko.UTF-8 +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/ko +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/ja/LC_MESSAGES +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/ja +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/it/LC_MESSAGES +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/it +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/fr/LC_MESSAGES +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/fr +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/es/LC_MESSAGES +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/es +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/de/LC_MESSAGES +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/de +@dirrm jdk%%JDK_VERSION%%/jre/lib/locale @dirrm jdk%%JDK_VERSION%%/jre/lib/images/cursors @dirrm jdk%%JDK_VERSION%%/jre/lib/images +%%NATIVE:%%@dirrm jdk%%JDK_VERSION%%/jre/lib/i386/native_threads @dirrm jdk%%JDK_VERSION%%/jre/lib/i386/green_threads @dirrm jdk%%JDK_VERSION%%/jre/lib/i386/classic @dirrm jdk%%JDK_VERSION%%/jre/lib/i386 @@ -808,6 +965,7 @@ @dirrm jdk%%JDK_VERSION%%/jre/lib/audio @dirrm jdk%%JDK_VERSION%%/jre/lib/applet @dirrm jdk%%JDK_VERSION%%/jre/lib +%%NATIVE:%%@dirrm jdk%%JDK_VERSION%%/jre/bin/i386/native_threads @dirrm jdk%%JDK_VERSION%%/jre/bin/i386/green_threads @dirrm jdk%%JDK_VERSION%%/jre/bin/i386 @dirrm jdk%%JDK_VERSION%%/jre/bin @@ -911,6 +1069,7 @@ @dirrm jdk%%JDK_VERSION%%/demo/applets/Animator @dirrm jdk%%JDK_VERSION%%/demo/applets @dirrm jdk%%JDK_VERSION%%/demo +%%NATIVE:%%@dirrm jdk%%JDK_VERSION%%/bin/i386/native_threads @dirrm jdk%%JDK_VERSION%%/bin/i386/green_threads @dirrm jdk%%JDK_VERSION%%/bin/i386 @dirrm jdk%%JDK_VERSION%%/bin --liOOAslEiF7prFVr-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 11:10: 2 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 4784B37B41B; Wed, 13 Feb 2002 11:09:57 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16b4mu-0000Hs-00; Wed, 13 Feb 2002 12:09:53 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1DJ9lU60593; Thu, 14 Feb 2002 05:39:47 +1030 (CST) (envelope-from glewis) Date: Thu, 14 Feb 2002 05:39:46 +1030 From: Greg Lewis To: Alex Cc: Andrew Reilly , Gunnar Flygt , FreeBSD Stable , freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD Message-ID: <20020214053946.B60507@misty.eyesbeyond.com> References: <20020211142834.A81586@sr.se> <20020212155415.A64695@gurney.reilly.home> <15611674597.20020213182922@cybertron.tmfweb.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15611674597.20020213182922@cybertron.tmfweb.nl>; from freebsd@cybertron.tmfweb.nl on Wed, Feb 13, 2002 at 06:29:22PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Feb 13, 2002 at 06:29:22PM +0100, Alex wrote: > Is there away to install JDK 1.3+ without X? Not from the port. It needs to be built on a machine with X, but once you've done that you can create a package and move it to other machines you have without X. The SCSL doesn't stop you doing this internally, you just can't distribute the binary to others. > I tried to install it on 4.4 but it wanted to install X and asked me > lot of quistions about it. I also needed to download two compressed > files by hand (normal). Didn't hear anything about needing linux-jdk > due. Think compiler, think bootstrapping. Trust me, you need the linux-jdk13 port installed. If you don't the port build will die and complain about not bootstrapping with a valid JDK. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 11:40:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 12A6737B400; Wed, 13 Feb 2002 11:40:35 -0800 (PST) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.1/8.12.1) with ESMTP id g1DJeLg0019714; Wed, 13 Feb 2002 14:40:21 -0500 (EST) Date: Wed, 13 Feb 2002 14:40:20 -0500 (EST) From: Daniel Eischen To: Greg Lewis Cc: Alex , Andrew Reilly , Gunnar Flygt , FreeBSD Stable , freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD In-Reply-To: <20020214053946.B60507@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 14 Feb 2002, Greg Lewis wrote: > On Wed, Feb 13, 2002 at 06:29:22PM +0100, Alex wrote: > > Is there away to install JDK 1.3+ without X? > > Not from the port. It needs to be built on a machine with X, but once > you've done that you can create a package and move it to other machines > you have without X. The SCSL doesn't stop you doing this internally, > you just can't distribute the binary to others. > > > I tried to install it on 4.4 but it wanted to install X and asked me > > lot of quistions about it. I also needed to download two compressed > > files by hand (normal). Didn't hear anything about needing linux-jdk > > due. > > Think compiler, think bootstrapping. Trust me, you need the linux-jdk13 > port installed. If you don't the port build will die and complain about > not bootstrapping with a valid JDK. But once you have it bootstrapped, you don't need the Linux JDK port. Why don't you provide a native JDK as a bootstrap and depend on that? Take a look at ports/lang/gnat. You need an Ada compiler to build the Ada compiler. I provide a native bootstrap compiler so if the port builder doesn't have a previous Ada compiler installed, it will download the bootstrap compiler and use it (from the work directory, so it get's cleaned right along with everything else). -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 11:44: 8 2002 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 692C237B416 for ; Wed, 13 Feb 2002 11:44:06 -0800 (PST) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id MAA08716; Wed, 13 Feb 2002 12:44:00 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id g1DJi0M29254; Wed, 13 Feb 2002 12:44:00 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15466.49663.27042.298945@caddis.yogotech.com> Date: Wed, 13 Feb 2002 12:43:59 -0700 To: Daniel Eischen Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD In-Reply-To: References: <20020214053946.B60507@misty.eyesbeyond.com> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > > I tried to install it on 4.4 but it wanted to install X and asked me > > > lot of quistions about it. I also needed to download two compressed > > > files by hand (normal). Didn't hear anything about needing linux-jdk > > > due. > > > > Think compiler, think bootstrapping. Trust me, you need the linux-jdk13 > > port installed. If you don't the port build will die and complain about > > not bootstrapping with a valid JDK. > > But once you have it bootstrapped, you don't need the Linux > JDK port. Why don't you provide a native JDK as a bootstrap > and depend on that? If we could provide a native JDK, we wouldn't need the port to build anything at all. :) There are still a couple of hoops to jump through before the native binary can be released. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 11:48:17 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 6665837B402; Wed, 13 Feb 2002 11:48:13 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16b5NS-0000wG-00; Wed, 13 Feb 2002 11:47:38 -0800 Date: Wed, 13 Feb 2002 11:47:38 -0800 To: Daniel Eischen Cc: Greg Lewis , Alex , Andrew Reilly , Gunnar Flygt , FreeBSD Stable , freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD Message-ID: <20020213194738.GA3598@gnuppy.monkey.org> References: <20020214053946.B60507@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Feb 13, 2002 at 02:40:20PM -0500, Daniel Eischen wrote: > But once you have it bootstrapped, you don't need the Linux > JDK port. Why don't you provide a native JDK as a bootstrap > and depend on that? It's just a formality. If you can look at the build environment and find the bootstrap variable, you can then make it point to the previously built native J2SE. > Take a look at ports/lang/gnat. You need an Ada compiler to > build the Ada compiler. I provide a native bootstrap compiler > so if the port builder doesn't have a previous Ada compiler > installed, it will download the bootstrap compiler and use it > (from the work directory, so it get's cleaned right along with > everything else). > > Dan Eischen It's not that hard to do. It might be cool to provide instructions for doing so, but it's up to a person with the free time to do this. [/me blasting an old Iron Maiden album... "Run To The Hills !!!!"] ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 11:51:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 18F6C37B416 for ; Wed, 13 Feb 2002 11:51:09 -0800 (PST) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.1/8.12.1) with ESMTP id g1DJp8Vv021489; Wed, 13 Feb 2002 14:51:08 -0500 (EST) Date: Wed, 13 Feb 2002 14:51:08 -0500 (EST) From: Daniel Eischen To: Nate Williams Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD In-Reply-To: <15466.49663.27042.298945@caddis.yogotech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 13 Feb 2002, Nate Williams wrote: > > > > I tried to install it on 4.4 but it wanted to install X and asked me > > > > lot of quistions about it. I also needed to download two compressed > > > > files by hand (normal). Didn't hear anything about needing linux-jdk > > > > due. > > > > > > Think compiler, think bootstrapping. Trust me, you need the linux-jdk13 > > > port installed. If you don't the port build will die and complain about > > > not bootstrapping with a valid JDK. > > > > But once you have it bootstrapped, you don't need the Linux > > JDK port. Why don't you provide a native JDK as a bootstrap > > and depend on that? > > If we could provide a native JDK, we wouldn't need the port to build > anything at all. :) Oh, I see, you're prevented from releasing the binary. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 12: 2:23 2002 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id CA06037B416 for ; Wed, 13 Feb 2002 12:02:20 -0800 (PST) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id NAA09433; Wed, 13 Feb 2002 13:02:12 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id g1DK2BR29384; Wed, 13 Feb 2002 13:02:11 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15466.50754.557985.67655@caddis.yogotech.com> Date: Wed, 13 Feb 2002 13:02:10 -0700 To: Daniel Eischen Cc: Nate Williams , Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD In-Reply-To: References: <15466.49663.27042.298945@caddis.yogotech.com> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > > > > I tried to install it on 4.4 but it wanted to install X and asked me > > > > > lot of quistions about it. I also needed to download two compressed > > > > > files by hand (normal). Didn't hear anything about needing linux-jdk > > > > > due. > > > > > > > > Think compiler, think bootstrapping. Trust me, you need the linux-jdk13 > > > > port installed. If you don't the port build will die and complain about > > > > not bootstrapping with a valid JDK. > > > > > > But once you have it bootstrapped, you don't need the Linux > > > JDK port. Why don't you provide a native JDK as a bootstrap > > > and depend on that? > > > > If we could provide a native JDK, we wouldn't need the port to build > > anything at all. :) > > Oh, I see, you're prevented from releasing the binary. We've got the license. We've just got to run it through some tests to verify we're 'legal'. Unfortunately, the testing setup is not as nice as it could be, to put it mildly. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 12: 4:18 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 89F4E37B420; Wed, 13 Feb 2002 12:03:43 -0800 (PST) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.1/8.12.1) with ESMTP id g1DK3WWK023624; Wed, 13 Feb 2002 15:03:32 -0500 (EST) Date: Wed, 13 Feb 2002 15:03:32 -0500 (EST) From: Daniel Eischen To: Bill Huey Cc: Greg Lewis , Alex , Andrew Reilly , Gunnar Flygt , FreeBSD Stable , freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD In-Reply-To: <20020213194738.GA3598@gnuppy.monkey.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 13 Feb 2002, Bill Huey wrote: > On Wed, Feb 13, 2002 at 02:40:20PM -0500, Daniel Eischen wrote: > > But once you have it bootstrapped, you don't need the Linux > > JDK port. Why don't you provide a native JDK as a bootstrap > > and depend on that? > > It's just a formality. > > If you can look at the build environment and find the bootstrap > variable, you can then make it point to the previously built > native J2SE. > > > Take a look at ports/lang/gnat. You need an Ada compiler to > > build the Ada compiler. I provide a native bootstrap compiler > > so if the port builder doesn't have a previous Ada compiler > > installed, it will download the bootstrap compiler and use it > > (from the work directory, so it get's cleaned right along with > > everything else). > > > > Dan Eischen > > It's not that hard to do. It might be cool to provide instructions > for doing so, but it's up to a person with the free time to do this. > > [/me blasting an old Iron Maiden album... "Run To The Hills !!!!"] Great song! I loved the big Eddie (if you ever saw them in concert). -- Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 14:34:56 2002 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-80.oz.net [216.39.147.80]) by hub.freebsd.org (Postfix) with SMTP id BC52C37B416 for ; Wed, 13 Feb 2002 14:34:53 -0800 (PST) Received: (qmail 1413 invoked from network); 13 Feb 2002 22:34:52 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 13 Feb 2002 22:34:52 -0000 Subject: Missing piece for native threads From: Joe Kelsey To: java@freebsd.org Content-Type: multipart/mixed; boundary="=-KXIXG//HZpPy0vCMEvRj" X-Mailer: Evolution/1.0.2 Date: 13 Feb 2002 14:34:51 -0800 Message-Id: <1013639692.98911.3.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=-KXIXG//HZpPy0vCMEvRj Content-Type: text/plain Content-Transfer-Encoding: 7bit I discovered this problem after testing Greg's patchset and the port patches. If you want to actually compile native threads, then the setting of the variable HPIS in j2sdk1.3.1/make/common/Defs-bsd.gmk has to be done with the ?= operator. The attached patch shows the change. /Joe --=-KXIXG//HZpPy0vCMEvRj Content-Disposition: attachment; filename=Defs-bsd.gmk.diff Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1 Index: Defs-bsd.gmk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /data/java/JDK2/javasrc_1_3_scsl/j2sdk1.3.1/make/common/Defs-bsd.= gmk,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- Defs-bsd.gmk 7 Feb 2002 05:23:42 -0000 1.11 +++ Defs-bsd.gmk 13 Feb 2002 22:21:20 -0000 1.12 @@ -6,7 +6,7 @@ # Use is subject to license terms. =20 # -# $Id: Defs-bsd.gmk,v 1.11 2002/02/07 05:23:42 glewis Exp $ +# $Id: Defs-bsd.gmk,v 1.12 2002/02/13 22:21:20 joe Exp $ # # Makefile to specify compiler flags for programs and libraries # targeted to BSD. Should not contain any rules. @@ -184,7 +184,7 @@ # directory here, and say "gnumake HPIS=3Dposix" at the top # level. # -HPIS =3D green +HPIS ?=3D green =20 # # As part of the fix for 4251347, sunwjit is turned off by default. --=-KXIXG//HZpPy0vCMEvRj-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 15:49:55 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id C6A6337B416 for ; Wed, 13 Feb 2002 15:49:50 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16b99n-0002wM-00; Wed, 13 Feb 2002 16:49:48 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1DNncv61556; Thu, 14 Feb 2002 10:19:38 +1030 (CST) (envelope-from glewis) Date: Thu, 14 Feb 2002 10:19:38 +1030 From: Greg Lewis To: Joe Kelsey Cc: java@FreeBSD.ORG Subject: Re: Missing piece for native threads Message-ID: <20020214101937.A61542@misty.eyesbeyond.com> References: <1013639692.98911.3.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1013639692.98911.3.camel@zircon.zircon.seattle.wa.us>; from joe@zircon.seattle.wa.us on Wed, Feb 13, 2002 at 02:34:51PM -0800 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Feb 13, 2002 at 02:34:51PM -0800, Joe Kelsey wrote: > I discovered this problem after testing Greg's patchset and the port > patches. If you want to actually compile native threads, then the > setting of the variable HPIS in j2sdk1.3.1/make/common/Defs-bsd.gmk has > to be done with the ?= operator. The attached patch shows the change. I'm currently doing in the port by (ab)using MAKE_ARGS. I found the same problem but have taken a slightly different tack, mainly 'cos I've had enough of redoing the patches :-). That wasn't in what I sent out earlier, but it will be in what I send-pr. Your patch is the better long term solution though :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 19:37:51 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 8A3A837B416 for ; Wed, 13 Feb 2002 19:37:48 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16bCiR-0002j8-00 for freebsd-java@FreeBSD.ORG; Wed, 13 Feb 2002 20:37:47 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1E3biV62697 for freebsd-java@FreeBSD.ORG; Thu, 14 Feb 2002 14:07:44 +1030 (CST) (envelope-from glewis) Date: Thu, 14 Feb 2002 14:07:44 +1030 From: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 6 Message-ID: <20020214140743.A62684@misty.eyesbeyond.com> References: <20020213150154.A57632@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020213150154.A57632@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Wed, Feb 13, 2002 at 03:01:55PM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Feb 13, 2002 at 03:01:55PM +1030, Greg Lewis wrote: > Note that I am still in the process of testing the update to FreeBSD's > ports/java/jdk13. This should be available sometime tomorrow. I've send-pr'ed this. Its available at: http://www.freebsd.org/cgi/query-pr.cgi?pr=34923 and is a slightly modified version of what I posted earlier. Main difference is that it will actually build native threads if you want it to :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 19:55: 2 2002 Delivered-To: freebsd-java@freebsd.org Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by hub.freebsd.org (Postfix) with ESMTP id DF61637B417 for ; Wed, 13 Feb 2002 19:54:58 -0800 (PST) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id WAA26134; Wed, 13 Feb 2002 22:54:53 -0500 Date: Wed, 13 Feb 2002 22:54:53 -0500 (EST) From: Mikhail Kruk To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 6 In-Reply-To: <20020214140743.A62684@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > and is a slightly modified version of what I posted earlier. Main > difference is that it will actually build native threads if you want > it to :). maybe I shouldn't worry too much about it but... was there a problem with native threads build posted yesterday? Because it worked fine for me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 20: 7:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from dragon.realtime.net (dragon.realtime.net [205.238.128.89]) by hub.freebsd.org (Postfix) with SMTP id C395737B417 for ; Wed, 13 Feb 2002 20:07:32 -0800 (PST) Received: from tigerfish2.my.domain ([66.25.223.20]) by dragon.realtime.net ; Wed, 13 Feb 2002 21:46:42 -0600 Received: (from brucegb@localhost) by tigerfish2.my.domain (8.11.6/8.11.6) id g1E3keV62836 for freebsd-java@freebsd.org; Wed, 13 Feb 2002 21:46:40 -0600 (CST) (envelope-from brucegb) Date: Wed, 13 Feb 2002 21:46:40 -0600 From: Bruce Burden To: freebsd-java@freebsd.org Subject: Re: plugin fails to execute! Message-ID: <20020213214640.F20348@tigerfish2.my.domain> References: <20020213111201.A99561@nietzsche.intra.bowtie.nl> <20020214033553.C59862@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020214033553.C59862@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Thu, Feb 14, 2002 at 03:35:53AM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Greg, > > Is java_vm actually present in the jdk installation? It should be, for > example, in jre/bin/i386/green_threads/ (from memory). > Here is what find tells me: su-2.05a# find / -name java_vm -print /usr/local/linux-jdk1.3.1/jre/bin/i386/native_threads/java_vm /usr/local/linux-jdk1.3.1/bin/i386/native_threads/java_vm So, in a word, no. :-) Nor did the java_vm seem to be found in /usr/ports/java/jdk13... And, I don't believe I had done a "make clean" since I last installed java... Bruce -- ------------------------------------------------------------------------ "I like bad!" Bruce Burden Austin, TX. - Thuganlitha The Power and the Prophet Robert Don Hughes To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 20:39: 9 2002 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-80.oz.net [216.39.147.80]) by hub.freebsd.org (Postfix) with SMTP id 3A5A937B417 for ; Wed, 13 Feb 2002 20:39:07 -0800 (PST) Received: (qmail 54016 invoked from network); 14 Feb 2002 04:39:05 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 14 Feb 2002 04:39:05 -0000 Subject: Re: plugin fails to execute! From: Joe Kelsey To: Bruce Burden Cc: freebsd-java@freebsd.org In-Reply-To: <20020213214640.F20348@tigerfish2.my.domain> References: <20020213111201.A99561@nietzsche.intra.bowtie.nl> <20020214033553.C59862@misty.eyesbeyond.com> <20020213214640.F20348@tigerfish2.my.domain> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 13 Feb 2002 20:39:05 -0800 Message-Id: <1013661545.98911.10.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 2002-02-13 at 19:46, Bruce Burden wrote: > > Is java_vm actually present in the jdk installation? It should be, for > > example, in jre/bin/i386/green_threads/ (from memory). > > > Here is what find tells me: > > su-2.05a# find / -name java_vm -print > /usr/local/linux-jdk1.3.1/jre/bin/i386/native_threads/java_vm > /usr/local/linux-jdk1.3.1/bin/i386/native_threads/java_vm > > So, in a word, no. :-) Nor did the java_vm seem to be found > in /usr/ports/java/jdk13... And, I don't believe I had done > a "make clean" since I last installed java... You have installed based on the patchset 5 pkg-plist in the port. As soon as Greg's latest port changes are installed, it will install the correct version of java_vm in the green_threads directory. Wait for the official port changes and try again. /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 13 21:22: 4 2002 Delivered-To: freebsd-java@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 17CC637B416; Wed, 13 Feb 2002 21:22:01 -0800 (PST) Received: (from petef@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1E5I7u84051; Wed, 13 Feb 2002 21:18:07 -0800 (PST) (envelope-from petef) Date: Wed, 13 Feb 2002 21:18:07 -0800 (PST) From: Message-Id: <200202140518.g1E5I7u84051@freefall.freebsd.org> To: petef@FreeBSD.org, freebsd-ports@FreeBSD.org, java@FreeBSD.org Subject: Re: ports/34923: Update for the java/jdk13 port Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: Update for the java/jdk13 port Responsible-Changed-From-To: freebsd-ports->java Responsible-Changed-By: petef Responsible-Changed-When: Wed Feb 13 21:17:58 PST 2002 Responsible-Changed-Why: Over to maintainers http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34923 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 1:50:37 2002 Delivered-To: freebsd-java@freebsd.org Received: from server.intra.blender.nl (nan.iae.nl [212.61.24.44]) by hub.freebsd.org (Postfix) with ESMTP id 37DE837B400 for ; Thu, 14 Feb 2002 01:50:35 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by server.intra.blender.nl (Postfix) with ESMTP id 0FF121D11E; Thu, 14 Feb 2002 10:50:34 +0100 (CET) Received: by server.intra.blender.nl (Postfix, from userid 1001) id A4ADA1D118; Thu, 14 Feb 2002 10:50:32 +0100 (CET) Date: Thu, 14 Feb 2002 10:50:32 +0100 To: Guerry Semones Cc: freebsd-java@FreeBSD.ORG Subject: Re: Compiling C++ JNI Application with FreeBSD JDK1.3.1 GREEN Threads? Help! Message-ID: <20020214105032.A13676@server.intra.blender.nl> References: <200202131003.AA613089578@mail.mstar2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200202131003.AA613089578@mail.mstar2.net>; from gsemones@treenleaf.com on Wed, Feb 13, 2002 at 10:03:32AM -0700 From: hans@blender.nl (Hans Lambermont) X-Virus-Scanned: by AMaViS perl-10 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Guerry Semones wrote: > For whatever reason, something is looking for the native_threads > directory (which doesn't exist!), rather than > the /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi_g.so > which does.... I had the same problem. I made a symlink from native_threads to green_threads in /usr/local/jdk1.3.1/jre/lib/i386/ which works fine for me. > We are using pointing to the classic jvm. Also, we'd just as well > choose to use native_threads, but we get the impression that they > aren't available yet for FreeBSD. correct. but expected soon :) regards, Hans Lambermont -- ir Hans Lambermont Software Architect hans@blender.nl Not a Number 3D Enabling Technology www.blender3d.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 5: 2: 4 2002 Delivered-To: freebsd-java@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CADA437B402; Thu, 14 Feb 2002 05:02:01 -0800 (PST) Received: (from patrick@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1ECsdN80923; Thu, 14 Feb 2002 04:54:39 -0800 (PST) (envelope-from patrick) Date: Thu, 14 Feb 2002 04:54:39 -0800 (PST) From: Message-Id: <200202141254.g1ECsdN80923@freefall.freebsd.org> To: glewis@eyesbeyond.com, patrick@FreeBSD.org, java@FreeBSD.org Subject: Re: ports/34923: Update for the java/jdk13 port Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: Update for the java/jdk13 port State-Changed-From-To: open->closed State-Changed-By: patrick State-Changed-When: Thu Feb 14 04:54:16 PST 2002 State-Changed-Why: Port committed. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34923 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 6:11:16 2002 Delivered-To: freebsd-java@freebsd.org Received: from azrael.xs4all.nl (azrael.xs4all.nl [213.84.50.139]) by hub.freebsd.org (Postfix) with ESMTP id 3E64E37B405; Thu, 14 Feb 2002 06:11:11 -0800 (PST) Received: (from remco@localhost) by azrael.xs4all.nl (8.11.6/8.11.6) id g1EEB7i12543; Thu, 14 Feb 2002 15:11:07 +0100 (CET) (envelope-from remco) Date: Thu, 14 Feb 2002 15:11:07 +0100 From: "Remco van 't Veer" To: patrick@FreeBSD.ORG Cc: glewis@eyesbeyond.com, java@FreeBSD.ORG Subject: Re: ports/34923: Update for the java/jdk13 port Message-ID: <20020214141107.GI55277@azrael.xs4all.nl> References: <200202141254.g1ECsdN80923@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200202141254.g1ECsdN80923@freefall.freebsd.org> User-Agent: Mutt/1.3.27i X-Spook: SNT SEAL GEODSS Fort Meade RSA mailbomb White House lamma MD2 I&A Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The port Makefile is broken, the pre-patch target reads: pre-patch: @cd ${WRKDIR} && \ ${CHMOD} -R u+w * && \ ${MKDIR} -p j2sdk1.3.1/ext/plugin/oji-plugin/include/bsd/jdk12 && \ ${MKDIR} -p j2sdk1.3.1/ext/plugin/oji-plugin/include/solaris/navig5/private && \ ${MKDIR} -p j2sdk1.3.1/src/bsd/doc/man && \ ${MKDIR} -p hotspot1.3.1/build/bsd && \ ${MKDIR} -p hotspot1.3.1/build/bsd/makefiles && \ ${MKDIR} -p hotspot1.3.1/build/bsd/package && \ ${MKDIR} -p hotspot1.3.1/src/os/bsd/launcher && \ ${MKDIR} -p hotspot1.3.1/src/os/bsd/vm && \ ${MKDIR} -p hotspot1.3.1/src/os_cpu/bsd_i486/vm && \ ${PATCH} < ${WRKDIR}/jdk131.patches Please note the && stuff. Some XML/HTML cut-n-pasting? BTW did a cvsup about 1/2 hour ago. HTH, Remco On Thu, Feb 14, 2002 at 04:54, patrick@FreeBSD.ORG wrote: > Synopsis: Update for the java/jdk13 port > > State-Changed-From-To: open->closed > State-Changed-By: patrick > State-Changed-When: Thu Feb 14 04:54:16 PST 2002 > State-Changed-Why: > Port committed. > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34923 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- It's our responsibility to continue to extend our extensible niches and aggregate our cyber-markets. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 6:28:16 2002 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 00BBA37B422 for ; Thu, 14 Feb 2002 06:28:09 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 16bMrb-0004ge-00 for freebsd-java@freebsd.org; Thu, 14 Feb 2002 14:27:55 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g1EERsO52786 for freebsd-java@freebsd.org; Thu, 14 Feb 2002 14:27:55 GMT (envelope-from jcm) Date: Thu, 14 Feb 2002 14:27:54 +0000 From: j mckitrick To: freebsd-java@freebsd.org Subject: Serial ports under BSD/Java Message-ID: <20020214142754.B52587@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Scanner: exiscan *16bMrb-0004ge-00*mYajXd/WBDM* (Manchester Computing, University of Manchester) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Has anyone tried to send simple text to a serial port with BSD and Java? I'd like to do a simple instrument control app in Java, but I have to be able to use the serial port. jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 6:37:48 2002 Delivered-To: freebsd-java@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 99F9437B402 for ; Thu, 14 Feb 2002 06:37:43 -0800 (PST) Received: from dhcp151-67-151-24.nt01-c3.cpe.charter-ne.com ([24.151.67.151] helo=there) by snipe.prod.itd.earthlink.net with smtp (Exim 3.33 #1) id 16bN15-0006aS-00 for freebsd-java@freebsd.org; Thu, 14 Feb 2002 06:37:43 -0800 Content-Type: text/plain; charset="iso-8859-15" From: Dylan Carlson Reply-To: absinthe@pobox.com Organization: r e t r o v e r t i g o To: freebsd-java@freebsd.org Subject: Building with latest jdk13 port failed. Date: Thu, 14 Feb 2002 09:37:35 -0500 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Everything runs fine up until... ===> Patching for jdk-1.3.1p6 Syntax error: "&" unexpected *** Error code 2 Stop in /usr/ports/java/jdk13. *** Error code 1 Cheers, -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 7:12:51 2002 Delivered-To: freebsd-java@freebsd.org Received: from azrael.xs4all.nl (azrael.xs4all.nl [213.84.50.139]) by hub.freebsd.org (Postfix) with ESMTP id C88A337B41A for ; Thu, 14 Feb 2002 07:12:47 -0800 (PST) Received: (from remco@localhost) by azrael.xs4all.nl (8.11.6/8.11.6) id g1EFCc979122; Thu, 14 Feb 2002 16:12:38 +0100 (CET) (envelope-from remco) Date: Thu, 14 Feb 2002 16:12:38 +0100 From: "Remco van 't Veer" To: Dylan Carlson Cc: freebsd-java@FreeBSD.ORG Subject: Re: Building with latest jdk13 port failed. Message-ID: <20020214151238.GJ55277@azrael.xs4all.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i X-Spook: SNT SEAL GEODSS Fort Meade RSA mailbomb White House lamma MD2 I&A Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Just replace all the instances of & with & in the ports Makefile and all compiles and installs well. HTH, Remco On Thu, Feb 14, 2002 at 09:37, Dylan Carlson wrote: > > Everything runs fine up until... > > ===> Patching for jdk-1.3.1p6 > Syntax error: "&" unexpected > *** Error code 2 > > Stop in /usr/ports/java/jdk13. > *** Error code 1 > > Cheers, > -- > Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 7:46:19 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 7207737B400; Thu, 14 Feb 2002 07:46:16 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16bO5N-0008QC-00; Thu, 14 Feb 2002 08:46:14 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1EFk8g64660; Fri, 15 Feb 2002 02:16:08 +1030 (CST) (envelope-from glewis) Date: Fri, 15 Feb 2002 02:16:08 +1030 From: Greg Lewis To: "Remco van 't Veer" Cc: patrick@FreeBSD.ORG, glewis@eyesbeyond.com, java@FreeBSD.ORG Subject: Re: ports/34923: Update for the java/jdk13 port Message-ID: <20020215021608.A64633@misty.eyesbeyond.com> References: <200202141254.g1ECsdN80923@freefall.freebsd.org> <20020214141107.GI55277@azrael.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020214141107.GI55277@azrael.xs4all.nl>; from rwvtveer@xs4all.nl on Thu, Feb 14, 2002 at 03:11:07PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Feb 14, 2002 at 03:11:07PM +0100, Remco van 't Veer wrote: > The port Makefile is broken, the pre-patch target reads: > > pre-patch: > @cd ${WRKDIR} && \ > ${CHMOD} -R u+w * && \ > Please note the && stuff. Some XML/HTML cut-n-pasting? Heh, I'm thinking Patrick just cut and paste from the PR web page :). BTW, thank you for committing this so quickly Patrick, much appreciated! -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 8: 5:33 2002 Delivered-To: freebsd-java@freebsd.org Received: from p.intothewind.cx (pool-141-157-93-146.balt.east.verizon.net [141.157.93.146]) by hub.freebsd.org (Postfix) with ESMTP id 1F8BF37B400 for ; Thu, 14 Feb 2002 08:05:29 -0800 (PST) Received: (from patrick@localhost) by p.intothewind.cx (8.11.6/8.11.6) id g1EG3jq05399; Thu, 14 Feb 2002 11:03:45 -0500 (EST) (envelope-from patrick) Date: Thu, 14 Feb 2002 11:01:25 -0500 From: Patrick Gardella To: "Greg Lewis" Cc: rwvtveer@xs4all.nl, glewis@eyesbeyond.com, java@FreeBSD.ORG Subject: Re: ports/34923: Update for the java/jdk13 port Message-Id: <20020214110125.519201c1.patrick@freebsd.org> In-Reply-To: <20020215021608.A64633@misty.eyesbeyond.com> References: <200202141254.g1ECsdN80923@freefall.freebsd.org> <20020214141107.GI55277@azrael.xs4all.nl> <20020215021608.A64633@misty.eyesbeyond.com> X-Mailer: Sylpheed version 0.7.1 (GTK+ 1.2.10; i386--freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Heh, yes, I took the PR and extracted the patches. They installed, and portlint didn't complain, so I committed it. Oops... Patrick On Fri, 15 Feb 2002 02:16:08 +1030 "Greg Lewis" wrote: > On Thu, Feb 14, 2002 at 03:11:07PM +0100, Remco van 't Veer wrote: > > The port Makefile is broken, the pre-patch target reads: > > > > pre-patch: > > @cd ${WRKDIR} && \ > > ${CHMOD} -R u+w * && \ > > > > Please note the && stuff. Some XML/HTML cut-n-pasting? > > Heh, I'm thinking Patrick just cut and paste from the PR web page :). > > BTW, thank you for committing this so quickly Patrick, much > appreciated! > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : > http://www.eyesbeyond.com > Information Technology > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Patrick ---------- Patrick Gardella patrick@freebsd.org The Power to Serve shall not be infringed. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 9: 5:25 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.mstar2.net (mail.mstar2.net [216.126.197.66]) by hub.freebsd.org (Postfix) with ESMTP id C01CB37B402 for ; Thu, 14 Feb 2002 09:05:23 -0800 (PST) Date: Thu, 14 Feb 2002 10:05:20 -0700 Message-Id: <200202141005.AA177340734@mail.mstar2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Guerry Semones" Reply-To: X-Sender: To: Subject: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads X-Mailer: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Sorry if this is in a FAQ somewhere. I know the Native Threads implementation is under way. Here is what I am trying to accomplish as explained briefly in a previous post. We are porting a C++ application that initializes the JVM and calls Java classes from the C++ side. I'd like to be able to get a Native Threads JDK (1.2 or 1.3) compiled for FreeBSD that we can then link into our C++ application. I have been trying various suggestions for the Green Threads stuff, but get a core dump on the JNI_CreateJavaVM call. Of course, there are warnings of just this sort of issue when trying to do this with Green Threads, so.... Native? :-) Thanks again, Guerry ________________________________________________________________ Sent via the Mstar2 mail system at mail.mstar2.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 9:51:47 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 0C9B837B42C for ; Thu, 14 Feb 2002 09:51:41 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16bQ2k-0007RF-00; Thu, 14 Feb 2002 10:51:39 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1EHpYO65468; Fri, 15 Feb 2002 04:21:34 +1030 (CST) (envelope-from glewis) Date: Fri, 15 Feb 2002 04:21:34 +1030 From: Greg Lewis To: j mckitrick Cc: freebsd-java@FreeBSD.ORG Subject: Re: Serial ports under BSD/Java Message-ID: <20020215042133.A65428@misty.eyesbeyond.com> References: <20020214142754.B52587@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020214142754.B52587@dogma.freebsd-uk.eu.org>; from jcm@FreeBSD-uk.eu.org on Thu, Feb 14, 2002 at 02:27:54PM +0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Feb 14, 2002 at 02:27:54PM +0000, j mckitrick wrote: > Has anyone tried to send simple text to a serial port with BSD and Java? > > I'd like to do a simple instrument control app in Java, but I have to be > able to use the serial port. This should be doable. Look at the Java Comm API. There is a port of this, look in the PR database (there might be an older version that has been committed, not sure). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 10: 5:32 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id DDBB837B405 for ; Thu, 14 Feb 2002 10:05:27 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16bQFt-0000HK-00; Thu, 14 Feb 2002 10:05:13 -0800 Date: Thu, 14 Feb 2002 10:05:13 -0800 To: Guerry Semones Cc: freebsd-java@FreeBSD.ORG Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads Message-ID: <20020214180513.GA1067@gnuppy.monkey.org> References: <200202141005.AA177340734@mail.mstar2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200202141005.AA177340734@mail.mstar2.net> User-Agent: Mutt/1.3.27i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Feb 14, 2002 at 10:05:20AM -0700, Guerry Semones wrote: > Sorry if this is in a FAQ somewhere. I know the Native Threads > implementation is under way. > > Here is what I am trying to accomplish as explained briefly in a > previous post. We are porting a C++ application that initializes > the JVM and calls Java classes from the C++ side. I'd like to be > able to get a Native Threads JDK (1.2 or 1.3) compiled for FreeBSD > that we can then link into our C++ application. > > I have been trying various suggestions for the Green Threads > stuff, but get a core dump on the JNI_CreateJavaVM call. Of > course, there are warnings of just this sort of issue when trying > to do this with Green Threads, so.... Native? :-) So what are you specifically doing here ? Are you letting the JVM itself start up and then having it interface with the C++ program you wrote or are you directly calling those JNI functions ? bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 11: 1:14 2002 Delivered-To: freebsd-java@freebsd.org Received: from pe4.eziba.com (mail.eziba.com [64.80.31.203]) by hub.freebsd.org (Postfix) with ESMTP id B931737B405 for ; Thu, 14 Feb 2002 11:01:11 -0800 (PST) Received: from eziba.com (thelonius.eziba.com [192.168.0.31]) by pe4.eziba.com (8.11.2/8.11.2) with ESMTP id g1EJ1Al29483; Thu, 14 Feb 2002 14:01:10 -0500 Message-ID: <3C6C0976.9080904@eziba.com> Date: Thu, 14 Feb 2002 14:01:10 -0500 From: Jay Sachs User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.8) Gecko/20020205 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: success: 1.3.1p6 fixes previously reported dbVisualizer install issue Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'd reported that p5 wasn't able to successfully install dbVisualizer 2.1 (though it could run it). p6 addresses the issues with the InstallAnywhere installer, and it installs & runs fine natively. Great work, everybody. jay To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 11: 2:10 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.mstar2.net (mail.mstar2.net [216.126.197.66]) by hub.freebsd.org (Postfix) with ESMTP id 85F6C37B402 for ; Thu, 14 Feb 2002 11:02:06 -0800 (PST) Date: Thu, 14 Feb 2002 12:02:08 -0700 Message-Id: <200202141202.AA308543714@mail.mstar2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Guerry Semones" Reply-To: X-Sender: To: Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads X-Mailer: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ---------- Original Message ---------------------------------- From: Bill Huey Date: Thu, 14 Feb 2002 10:05:13 -0800 >On Thu, Feb 14, 2002 at 10:05:20AM -0700, Guerry Semones wrote: >> Sorry if this is in a FAQ somewhere. I know the Native Threads >> implementation is under way. >> >> Here is what I am trying to accomplish as explained briefly in a >> previous post. We are porting a C++ application that initializes >> the JVM and calls Java classes from the C++ side. I'd like to be >> able to get a Native Threads JDK (1.2 or 1.3) compiled for FreeBSD >> that we can then link into our C++ application. >> >> I have been trying various suggestions for the Green Threads >> stuff, but get a core dump on the JNI_CreateJavaVM call. Of >> course, there are warnings of just this sort of issue when trying >> to do this with Green Threads, so.... Native? :-) > >So what are you specifically doing here ? > >Are you letting the JVM itself start up and then having it interface >with the C++ program you wrote or are you directly calling those JNI >functions ? > >bill We are initializing the JVM *in* the C++ code using JNI_CreateJavaVM. The code runs fine on Windows 2000 with JDK1.3.1. We are porting to FreeBSD. Thanks, Guerry ________________________________________________________________ Sent via the Mstar2 mail system at mail.mstar2.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 11: 7:23 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id C707E37B400 for ; Thu, 14 Feb 2002 11:07:21 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16bRDw-0000Nt-00; Thu, 14 Feb 2002 11:07:16 -0800 Date: Thu, 14 Feb 2002 11:07:16 -0800 To: Guerry Semones Cc: freebsd-java@FreeBSD.ORG Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads Message-ID: <20020214190716.GA1472@gnuppy.monkey.org> References: <200202141202.AA308543714@mail.mstar2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200202141202.AA308543714@mail.mstar2.net> User-Agent: Mutt/1.3.27i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Feb 14, 2002 at 12:02:08PM -0700, Guerry Semones wrote: > We are initializing the JVM *in* the C++ code using > JNI_CreateJavaVM. The code runs fine on Windows 2000 with > JDK1.3.1. We are porting to FreeBSD. Which means nothing since Win32 has different things happening within it. You can't just call that function without initializing the environment the JVM lives in (mmaps, threading, weak symbol resolution) which is why the JVM should be started first and then some kind of native method is used to initialize your C++ program, run it, etc... The JVM environment should be the program driving the coexisting program. I mean, what did you expect ? ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 11:14:22 2002 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 2127137B41D for ; Thu, 14 Feb 2002 11:14:17 -0800 (PST) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id OAA14252; Thu, 14 Feb 2002 14:14:08 -0500 Date: Thu, 14 Feb 2002 14:14:08 -0500 (EST) From: Mikhail Kruk To: Bill Huey Cc: Guerry Semones , Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads In-Reply-To: <20020214190716.GA1472@gnuppy.monkey.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Which means nothing since Win32 has different things happening > within it. You can't just call that function without initializing > the environment the JVM lives in (mmaps, threading, weak symbol > resolution) which is why the JVM should be started first and then > some kind of native method is used to initialize your C++ > program, run it, etc... > > The JVM environment should be the program driving the coexisting > program. > > I mean, what did you expect ? ;-) Wait, what he is trying to do should be compltely possible and a legal thing to do. Linux and Solaris allow that. If JNI support works this should be possible. Maybe he just needs native threads? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 11:49:33 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 45DAC37B405 for ; Thu, 14 Feb 2002 11:49:31 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16bRsj-0000Wc-00; Thu, 14 Feb 2002 11:49:25 -0800 Date: Thu, 14 Feb 2002 11:49:25 -0800 To: Mikhail Kruk Cc: Guerry Semones , freebsd-java@FreeBSD.ORG Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads Message-ID: <20020214194925.GA1818@gnuppy.monkey.org> References: <20020214190716.GA1472@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Feb 14, 2002 at 02:14:08PM -0500, Mikhail Kruk wrote: > > The JVM environment should be the program driving the coexisting > > program. > > > > I mean, what did you expect ? ;-) > > Wait, what he is trying to do should be compltely possible and a legal > thing to do. Linux and Solaris allow that. If JNI support works this > should be possible. Maybe he just needs native threads? Is it ? Well, this is the first I've heard of it. Is this how the plugin works in Netscape and other programs ? Uh, you can't really call the normal IO functions, read()/write(), etc... without it piping through the thread system in some way. If it's green threads, then any function like that the coexistent program uses must go through that layer of thread-managed wrapped functions and not the normal functions in libc, etc... I'm not sure of the linking conventions off hand so I don't know how to export those wrapped functions to a companion program. Is this what you mean ? bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 12:16: 4 2002 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 9D1FE37B417 for ; Thu, 14 Feb 2002 12:16:00 -0800 (PST) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id PAA14450; Thu, 14 Feb 2002 15:15:56 -0500 Date: Thu, 14 Feb 2002 15:15:56 -0500 (EST) From: Mikhail Kruk To: Bill Huey Cc: Guerry Semones , Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads In-Reply-To: <20020214194925.GA1818@gnuppy.monkey.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Uh, you can't really call the normal IO functions, read()/write(), etc... > without it piping through the thread system in some way. If it's green threads, > then any function like that the coexistent program uses must go through > that layer of thread-managed wrapped functions and not the normal functions > in libc, etc... I'm not sure of the linking conventions off hand so I don't > know how to export those wrapped functions to a companion program. I don't know much, sorry. I know that you can create JVM, it will run in its own thread and it will be possible to attach your native C thread to it. Here is the tutorial http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/jniref.html and here is an example of how it is done: #include #include JavaVM *jvm; void *native_thread(void *arg) { JNIEnv *env; jclass cls; jmethodID mid; jfieldID fid; jint result; jobject jobj; JavaVMAttachArgs args; jint asize; args.version= JNI_VERSION_1_2; args.name="user"; args.group=NULL; result=(*jvm)->AttachCurrentThread( jvm, (void **)&env, &args); cls = (*env)->FindClass(env,"ArrayHandler"); if( cls == NULL ) { printf("can't find class ArrayHandler\n"); exit (-1); } (*env)->ExceptionClear(env); mid=(*env)->GetMethodID(env, cls, "", "()V"); jobj=(*env)->NewObject(env, cls, mid); fid=(*env)->GetFieldID(env, cls, "arraySize", "I"); asize=(*env)->GetIntField(env, jobj, fid); printf("size of array is %d\n",asize); (*jvm)->DetachCurrentThread(jvm); } void main(int argc, char *argv[], char **envp) { JavaVMOption *options; JavaVMInitArgs vm_args; JNIEnv *env; jint result; pthread_t tid; int thr_id; int i; options = (void *)malloc(3 * sizeof(JavaVMOption)); options[0].optionString = "-Djava.class.path=."; options[1].optionString = "-Djava.compiler=NONE"; vm_args.version = JNI_VERSION_1_2; vm_args.options = options; vm_args.nOptions = 2; vm_args.ignoreUnrecognized = JNI_FALSE; result = JNI_CreateJavaVM(&jvm,(void **)&env, &vm_args); if(result == JNI_ERR ) { printf("Error invoking the JVM"); exit (-1); } thr_id=pthread_create(&tid, NULL, native_thread, NULL); // If you don't have join, sleep instead //sleep(1000); pthread_join(tid, NULL); (*jvm)->DestroyJavaVM(jvm); exit(0); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 12:22:41 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 696C637B402 for ; Thu, 14 Feb 2002 12:22:39 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16bSOr-0000e2-00; Thu, 14 Feb 2002 12:22:37 -0800 Date: Thu, 14 Feb 2002 12:22:37 -0800 To: Mikhail Kruk Cc: Guerry Semones , freebsd-java@FreeBSD.ORG Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads Message-ID: <20020214202237.GA2438@gnuppy.monkey.org> References: <20020214194925.GA1818@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Feb 14, 2002 at 03:15:56PM -0500, Mikhail Kruk wrote: > I don't know much, sorry. I know that you can create JVM, it will run in > its own thread and it will be possible to attach your native C thread to > it. Here is the tutorial > http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/jniref.html > > and here is an example of how it is done: ... > thr_id=pthread_create(&tid, NULL, native_thread, NULL); > > // If you don't have join, sleep instead > //sleep(1000); > pthread_join(tid, NULL); > (*jvm)->DestroyJavaVM(jvm); > exit(0); > } Oh my, and folks expect something like that to work ? Is it considered a bug if it doesn't ? I don't know what's happening in the other program that's trying to invoke the JVM, so I can't really say at this point. It could be a ld.so problem, threading and host of other things. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 13:11:38 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 99B6A37B400 for ; Thu, 14 Feb 2002 13:11:35 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16bTAD-00024B-00; Thu, 14 Feb 2002 14:11:34 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1ELBRV66040; Fri, 15 Feb 2002 07:41:27 +1030 (CST) (envelope-from glewis) Date: Fri, 15 Feb 2002 07:41:26 +1030 From: Greg Lewis To: Bill Huey Cc: Mikhail Kruk , Guerry Semones , freebsd-java@FreeBSD.ORG Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads Message-ID: <20020215074126.A66007@misty.eyesbeyond.com> References: <20020214190716.GA1472@gnuppy.monkey.org> <20020214194925.GA1818@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020214194925.GA1818@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Thu, Feb 14, 2002 at 11:49:25AM -0800 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Feb 14, 2002 at 11:49:25AM -0800, Bill Huey wrote: > On Thu, Feb 14, 2002 at 02:14:08PM -0500, Mikhail Kruk wrote: > > > The JVM environment should be the program driving the coexisting > > > program. > > > > > > I mean, what did you expect ? ;-) > > > > Wait, what he is trying to do should be compltely possible and a legal > > thing to do. Linux and Solaris allow that. If JNI support works this > > should be possible. Maybe he just needs native threads? > > Is it ? > > Well, this is the first I've heard of it. Is this how the plugin works > in Netscape and other programs ? Yes. Its also the method for doing things like embedding Java into PHP. This isn't really much different conceptually from embedding a Perl interpreter, but it does mean that the program needs to play nice with the JVM. > Uh, you can't really call the normal IO functions, read()/write(), etc... > without it piping through the thread system in some way. If it's green threads, > then any function like that the coexistent program uses must go through > that layer of thread-managed wrapped functions and not the normal functions > in libc, etc... I'm not sure of the linking conventions off hand so I don't > know how to export those wrapped functions to a companion program. The problem could be in a number of areas. I think we need more information, e.g. does the program also attempt to use pthreads or the like? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 13:13:58 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 836CC37B417 for ; Thu, 14 Feb 2002 13:13:40 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16bTCE-0002Q4-00; Thu, 14 Feb 2002 14:13:38 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g1ELDXp66052; Fri, 15 Feb 2002 07:43:33 +1030 (CST) (envelope-from glewis) Date: Fri, 15 Feb 2002 07:43:33 +1030 From: Greg Lewis To: Mikhail Kruk Cc: Bill Huey , Guerry Semones , freebsd-java@FreeBSD.ORG Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads Message-ID: <20020215074333.B66007@misty.eyesbeyond.com> References: <20020214194925.GA1818@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from meshko@cs.brandeis.edu on Thu, Feb 14, 2002 at 03:15:56PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Feb 14, 2002 at 03:15:56PM -0500, Mikhail Kruk wrote: > > Uh, you can't really call the normal IO functions, read()/write(), etc... > > without it piping through the thread system in some way. If it's green threads, > > then any function like that the coexistent program uses must go through > > that layer of thread-managed wrapped functions and not the normal functions > > in libc, etc... I'm not sure of the linking conventions off hand so I don't > > know how to export those wrapped functions to a companion program. > > I don't know much, sorry. I know that you can create JVM, it will run in > its own thread and it will be possible to attach your native C thread to > it. Here is the tutorial > http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/jniref.html > > and here is an example of how it is done: > > #include > #include *cough* Threading subsystem assumptions *cough* -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 18:29:13 2002 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-80.oz.net [216.39.147.80]) by hub.freebsd.org (Postfix) with SMTP id 8193F37B42A for ; Thu, 14 Feb 2002 18:29:04 -0800 (PST) Received: (qmail 57166 invoked from network); 15 Feb 2002 02:28:59 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 15 Feb 2002 02:28:59 -0000 Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads From: Joe Kelsey To: gsemones@treenleaf.com Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <200202141005.AA177340734@mail.mstar2.net> References: <200202141005.AA177340734@mail.mstar2.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 14 Feb 2002 18:28:58 -0800 Message-Id: <1013740139.54099.15.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 2002-02-14 at 09:05, Guerry Semones wrote: > Sorry if this is in a FAQ somewhere. I know the Native Threads > implementation is under way. > > Here is what I am trying to accomplish as explained briefly in a > previous post. We are porting a C++ application that initializes > the JVM and calls Java classes from the C++ side. I'd like to be > able to get a Native Threads JDK (1.2 or 1.3) compiled for FreeBSD > that we can then link into our C++ application. > > I have been trying various suggestions for the Green Threads > stuff, but get a core dump on the JNI_CreateJavaVM call. Of > course, there are warnings of just this sort of issue when trying > to do this with Green Threads, so.... Native? :-) There is no trouble doing this as long as you set up the environment appropriately. That means that you have to set up PATH, LD_LIBRARY_PATH and CLASSPATH to point to the right locations. You also have to set THREADS_TYPE correctly. In the port, look at j2sdk1.3.1/ext/plugin/oji-plugin/src/motif/jvm_exec/java_vm.c for how the Mozilla plugin performs this bit of magic. /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 14 18:35: 7 2002 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-80.oz.net [216.39.147.80]) by hub.freebsd.org (Postfix) with SMTP id 2F49737B404 for ; Thu, 14 Feb 2002 18:34:59 -0800 (PST) Received: (qmail 57191 invoked from network); 15 Feb 2002 02:34:58 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 15 Feb 2002 02:34:58 -0000 Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads From: Joe Kelsey To: gsemones@treenleaf.com, freebsd-java@FreeBSD.ORG In-Reply-To: <1013740139.54099.15.camel@zircon.zircon.seattle.wa.us> References: <200202141005.AA177340734@mail.mstar2.net> <1013740139.54099.15.camel@zircon.zircon.seattle.wa.us> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 14 Feb 2002 18:34:58 -0800 Message-Id: <1013740498.54099.20.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 2002-02-14 at 18:28, Joe Kelsey wrote: > On Thu, 2002-02-14 at 09:05, Guerry Semones wrote: > > Sorry if this is in a FAQ somewhere. I know the Native Threads > > implementation is under way. > > > > Here is what I am trying to accomplish as explained briefly in a > > previous post. We are porting a C++ application that initializes > > the JVM and calls Java classes from the C++ side. I'd like to be > > able to get a Native Threads JDK (1.2 or 1.3) compiled for FreeBSD > > that we can then link into our C++ application. > > > > I have been trying various suggestions for the Green Threads > > stuff, but get a core dump on the JNI_CreateJavaVM call. Of > > course, there are warnings of just this sort of issue when trying > > to do this with Green Threads, so.... Native? :-) > > There is no trouble doing this as long as you set up the environment > appropriately. That means that you have to set up PATH, LD_LIBRARY_PATH > and CLASSPATH to point to the right locations. You also have to set > THREADS_TYPE correctly. In the port, look at > j2sdk1.3.1/ext/plugin/oji-plugin/src/motif/jvm_exec/java_vm.c for how > the Mozilla plugin performs this bit of magic. I forgot to mention the most important thing. Depending on which threading system you use, you must make sure that your use of libc versus libc_r matches what the threading system expects. If you link your program with -pthreads, then you can only use native threads. If you link your program with straight libc, then you can still get into trouble, depending on the order of library loading. You can detect problems by tracing calls to dlopen in a debugger and seeing which ones cause errors. It is extremely tricky due to the bad design of the FreeBSD runtime loader and the poor pthreads/libc_r mixture. Good luck, you will need it! /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 15 2:57:58 2002 Delivered-To: freebsd-java@freebsd.org Received: from t-mta7.odn.ne.jp (mfep7.odn.ne.jp [143.90.131.185]) by hub.freebsd.org (Postfix) with ESMTP id C71A137B402 for ; Fri, 15 Feb 2002 02:57:55 -0800 (PST) Received: from localhost ([61.201.66.13]) by t-mta7.odn.ne.jp with ESMTP id <20020215105754228.NAA.32433.t-mta7.odn.ne.jp@mta7.odn.ne.jp>; Fri, 15 Feb 2002 19:57:54 +0900 Date: Fri, 15 Feb 2002 19:57:53 +0900 From: Kimura Fuyuki To: glewis@eyesbeyond.com Cc: freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 6 In-Reply-To: <20020214140743.A62684@misty.eyesbeyond.com> References: <20020213150154.A57632@misty.eyesbeyond.com> User-Agent: Wanderlust/2.8.1 (Something) Emacs/21.1 Mule/5.0 (SAKAKI) X-Fingerprint: 096E 3D3A 47A6 855C 0FB8 0BB4 0FF1 3354 3389 CBDB MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Message-Id: <20020215105754228.NAA.32433.t-mta7.odn.ne.jp@mta7.odn.ne.jp> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At Thu, 14 Feb 2002 14:07:44 +1030, Greg Lewis wrote: > > On Wed, Feb 13, 2002 at 03:01:55PM +1030, Greg Lewis wrote: > > Note that I am still in the process of testing the update to FreeBSD's > > ports/java/jdk13. This should be available sometime tomorrow. > > I've send-pr'ed this. Its available at: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=34923 Probably we need gtk12 to build, not only to run. Compilation fails, but no time to track down... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 15 3:34:54 2002 Delivered-To: freebsd-java@freebsd.org Received: from gorilla.mchh.siemens.de (gorilla.mchh.siemens.de [194.138.158.18]) by hub.freebsd.org (Postfix) with ESMTP id 671D237B400 for ; Fri, 15 Feb 2002 03:34:49 -0800 (PST) Received: from moody.mchh.siemens.de (mail2.mchh.siemens.de [194.138.158.226]) by gorilla.mchh.siemens.de (8.9.3/8.9.3) with ESMTP id MAA15405; Fri, 15 Feb 2002 12:34:37 +0100 (MET) Received: from mchh246e.demchh201e.icn.siemens.de ([139.21.200.56]) by moody.mchh.siemens.de (8.9.1/8.9.1) with ESMTP id MAA14372; Fri, 15 Feb 2002 12:34:34 +0100 (MET) Received: by MCHH246E with Internet Mail Service (5.5.2653.19) id <1ZZHNQCR>; Fri, 15 Feb 2002 12:34:34 +0100 Message-ID: <67E0BE167008D31185F60008C7289DA0E13130@MCHH218E> From: Reifenberger Michael EXT To: "'Kimura Fuyuki'" , glewis@eyesbeyond.com Cc: freebsd-java@FreeBSD.ORG Subject: AW: 1.3.1 patchset 6 Date: Fri, 15 Feb 2002 12:34:08 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, change: +.if !defined(WITHOUT_PLUGIN) +RUN_DEPENDS=3D glib12.3:$(PORTSDIR)/devel/glib12 \ + gtk12.3:$(PORTSDIR)/x11-toolkits/gtk12 \ + nspr4.1:$(PORTSDIR)/devel/nspr +.endif RUN_DEPENDS=3D javavm:${PORTSDIR}/java/javavmwrapper to +.if !defined(WITHOUT_PLUGIN) +LIB_DEPENDS=3D glib12.3:$(PORTSDIR)/devel/glib12 \ + gtk12.2:$(PORTSDIR)/x11-toolkits/gtk12 \ + nspr4.1:$(PORTSDIR)/devel/nspr +.endif RUN_DEPENDS=3D javavm:${PORTSDIR}/java/javavmwrapper ...=20 BTW: I've only a libgtk12.so.2 (I have the latest gtk12) and no = libgtk12.so.3.=20 Where did it come from in the patch originaly? Bye/2 ------ Michael Reifenberger - IT, UNIX, R/3-Basis Work: Michael.Reifenberger@plaut.de Proj: = Michael.Reifenberger.gp@icn.siemens.de Pers: Michael@Reifenberger.com Webspace: http://www.reifenberger.com -----Urspr=FCngliche Nachricht----- Von: Kimura Fuyuki [mailto:fuyuki@mj.0038.net] Gesendet: Freitag, 15. Februar 2002 11:58 An: glewis@eyesbeyond.com Cc: freebsd-java@FreeBSD.ORG Betreff: Re: 1.3.1 patchset 6 At Thu, 14 Feb 2002 14:07:44 +1030, Greg Lewis wrote: > > On Wed, Feb 13, 2002 at 03:01:55PM +1030, Greg Lewis wrote: > > Note that I am still in the process of testing the update to = FreeBSD's > > ports/java/jdk13. This should be available sometime tomorrow. > > I've send-pr'ed this. Its available at: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D34923 Probably we need gtk12 to build, not only to run. Compilation fails, but no time to track down... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 15 4:40:37 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 9DFB837B404 for ; Fri, 15 Feb 2002 04:40:33 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g1FCebA37512 for java@FreeBSD.org; Fri, 15 Feb 2002 13:40:37 +0100 (CET) (envelope-from ernst) Message-Id: <200202151240.g1FCebA37512@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: java@FreeBSD.org Subject: Upgraded java/linux-jdk14 to 1.4.0 Date: Fri, 15 Feb 2002 13:40:36 +0100 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, Just upgraded the java/linux-jdk14 port from 1.4.0 release candidate 1 to 1.4.0 final. Just FYI :-) Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 15 5: 5: 2 2002 Delivered-To: freebsd-java@freebsd.org Received: from shale.csir.co.za (shale.csir.co.za [146.64.46.5]) by hub.freebsd.org (Postfix) with ESMTP id 5DDF537B400 for ; Fri, 15 Feb 2002 05:04:46 -0800 (PST) Received: (from reg@localhost) by shale.csir.co.za (8.11.6/8.11.6) id g1FD4L358295 for freebsd-java@FreeBSD.org; Fri, 15 Feb 2002 15:04:21 +0200 (SAT) (envelope-from reg) Date: Fri, 15 Feb 2002 15:04:21 +0200 From: Jeremy Lea To: freebsd-java@FreeBSD.org Subject: Mozilla plugin and native JDK 1.3.1p6. Message-ID: <20020215150421.A50739@shale.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I was playing around trying to get the plugin working on the Mozilla port (so that I'm ready when we finally have a native JDK we can distribute). I installed the Mozilla port (with a few patches, due for commit in a few hours), and then the JDK port. I didn't set any non standard settings. Then I made the link like suggested in JDK's pkg-message. Mozilla seems to realize it has Java, make's a window for the applet (I was testing against http://java.sun.com), and then fails with saying the applet failed to initialize. Is there a simple reason for this (like needing to set a CLASS_PATH), or am I going to have to debug it... Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 15 5:27:29 2002 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id F023237B402 for ; Fri, 15 Feb 2002 05:27:25 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 16biOR-0009mT-00; Fri, 15 Feb 2002 13:27:15 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g1FDREa60512; Fri, 15 Feb 2002 13:27:14 GMT (envelope-from jcm) Date: Fri, 15 Feb 2002 13:27:14 +0000 From: j mckitrick To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: Serial ports under BSD/Java Message-ID: <20020215132714.A60496@dogma.freebsd-uk.eu.org> References: <20020214142754.B52587@dogma.freebsd-uk.eu.org> <20020215042133.A65428@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20020215042133.A65428@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Fri, Feb 15, 2002 at 04:21:34AM +1030 X-Scanner: exiscan *16biOR-0009mT-00*evDUT476V5g* (Manchester Computing, University of Manchester) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Feb 15, 2002 at 04:21:34AM +1030, Greg Lewis wrote: | On Thu, Feb 14, 2002 at 02:27:54PM +0000, j mckitrick wrote: | > Has anyone tried to send simple text to a serial port with BSD and Java? | > | > I'd like to do a simple instrument control app in Java, but I have to be | > able to use the serial port. | | This should be doable. Look at the Java Comm API. There is a port of | this, look in the PR database (there might be an older version that has | been committed, not sure). So is this an API, a port, or a bug? ;-) jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 15 5:27:58 2002 Delivered-To: freebsd-java@freebsd.org Received: from shikima.mine.nu (pc1-card4-0-cust77.cdf.cable.ntl.com [62.252.49.77]) by hub.freebsd.org (Postfix) with ESMTP id 738D437B404; Fri, 15 Feb 2002 05:27:55 -0800 (PST) Received: from rasputin by shikima.mine.nu with local (Exim 3.33 #1) id 16biP4-000Nh0-00; Fri, 15 Feb 2002 13:27:54 +0000 Date: Fri, 15 Feb 2002 13:27:54 +0000 From: Rasputin To: Jeremy Lea Cc: java@freebsd.org Subject: Re: Mozilla plugin and native JDK 1.3.1p6. Message-ID: <20020215132753.A87208@shikima.mine.nu> Reply-To: Rasputin References: <20020215150421.A50739@shale.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020215150421.A50739@shale.csir.co.za>; from reg@FreeBSD.org on Fri, Feb 15, 2002 at 03:04:21PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Jeremy Lea [020215 13:05]: > Hi, > > I was playing around trying to get the plugin working on the Mozilla > port (so that I'm ready when we finally have a native JDK we can > distribute). > > I installed the Mozilla port (with a few patches, due for commit in a > few hours), and then the JDK port. I didn't set any non standard > settings. Then I made the link like suggested in JDK's pkg-message. > > Mozilla seems to realize it has Java, make's a window for the applet > (I was testing against http://java.sun.com), and then fails with saying > the applet failed to initialize. Is there a simple reason for this > (like needing to set a CLASS_PATH), or am I going to have to debug it... Have you tried other URLs? I only ask because running Java under linux mozilla, I'd always get a coredump whenever I went to Suns page, although other sites worked OK. Anybody else get that? -- Every journalist has a novel in him, which is an excellent place for it. Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 15 5:34:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from gatesrv.RZ.UniBw-Muenchen.de (gatesrv.RZ.UniBw-Muenchen.de [137.193.11.27]) by hub.freebsd.org (Postfix) with ESMTP id 3C89F37B402 for ; Fri, 15 Feb 2002 05:34:23 -0800 (PST) Received: from medusa.informatik.unibw-muenchen.de (medusa.Informatik.UniBw-Muenchen.de [137.193.60.34]) by gatesrv.RZ.UniBw-Muenchen.de (8.11.2/8.11.2) with SMTP id g1FDVJj08083 for ; Fri, 15 Feb 2002 14:31:19 +0100 (MET) Received: (qmail 164 invoked by uid 216); 15 Feb 2002 13:31:06 -0000 To: Lutz.Bichler@informatik.unibw-muenchen.de Cc: java@freebsd.org Subject: Re: Mozilla plugin and native JDK 1.3.1p6. References: <20020215150421.A50739@shale.csir.co.za> <20020215132753.A87208@shikima.mine.nu> From: Lutz Bichler In-Reply-To: <20020215132753.A87208@shikima.mine.nu> Date: 15 Feb 2002 14:31:06 +0100 Message-ID: Lines: 8 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Just tested java.sun.com without problems. What does Help/About-plugins report? -- Lutz Bichler Institute for Software Technology, Department of Computer Science University of the Federal Armed Forces Munich, D-85577 Neubiberg, Germany TEL/FAX: +49(0)89 6004-2261/-4447, NET: lutz@informatik.unibw-muenchen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 15 7:52:55 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.mstar2.net (mail.mstar2.net [216.126.197.66]) by hub.freebsd.org (Postfix) with ESMTP id 2790837B417 for ; Fri, 15 Feb 2002 07:52:52 -0800 (PST) Date: Fri, 15 Feb 2002 08:52:54 -0700 Message-Id: <200202150852.AA610074876@mail.mstar2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Guerry Semones" Reply-To: X-Sender: To: Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads X-Mailer: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks, but.... As much as I appreciate the on-going discussion about where what I am trying to do with JNI is doable and legal (it is and it is - its part of the JNI design as several have pointed out), the purpose of my post was to: ***Find out pointers on getting a native threads build of JDK1.3.1 on FreeBSD.*** I'm currently using the distribution stuff (/usr/ports/java/jdk13 with the latest patches and the JDK source in /usr/ports/distfiles, etc.). I was trying to do a "make extract", and then edit the work/j2sdk1.3.1/make/common/Defs- bsd.gmk's HPIS variable to "native" rather than "green", but the BUILD file leads me to think I need to compile with green first, and then change the variable and compile with native. I also tried setting everying up outside /usr/ports and running gmake from there. However, I got compile issues there that don't arise in doing it form /usr/ports on the same machine. Sigh. I'm really looking forward to a binary distro, since these steps are all secondary to my real deadline.... :-) I'm working at getting the HPIS setting to work for me. It seems, from what I've been able to dredge up, that this is what I need to do with a successful build of native threads. And I do realize that the native thread stuff is a work in progress. ***ANY POINTERS along the path to compiling native threads would be greatly appreciated, since, as Joe Kelsey pointed out in a related thread, if we are using pthreads (which we are), then we must use native threads in the JDK. Again, thanks for all the discussion. I'd be glad to share a sample JNI program later that shows the JVM being invoked and used from within C++ code. It is designed to work this way on all Java JNI-enabled systems (which I think is all, because I think JNI is central, core tech to the JVM stuff?). Thanks again, Guerry ________________________________________________________________ Sent via the Mstar2 mail system at mail.mstar2.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 15 9: 3: 1 2002 Delivered-To: freebsd-java@freebsd.org Received: from Millions.Ca (h-207-228-120-32.gen.cadvision.com [207.228.120.32]) by hub.freebsd.org (Postfix) with ESMTP id 24F9037B402 for ; Fri, 15 Feb 2002 09:02:58 -0800 (PST) Received: (from uucp@localhost) by Millions.Ca (8.11.1/8.9.3) id g1FH2v560826; Fri, 15 Feb 2002 10:02:57 -0700 (MST) (envelope-from stacy@Millions.Ca) Received: from Cedar.Millions.Ca(192.168.64.8) via SMTP by mail-gw-0.millions.ca, id smtpdW60824; Fri Feb 15 10:02:56 2002 Received: from millions.ca (Maple.Millions.Ca [192.168.64.2]) by cedar.millions.ca (8.11.1/8.11.3) with ESMTP id g1FH2ts47186; Fri, 15 Feb 2002 10:02:55 -0700 (MST) (envelope-from stacy@millions.ca) Message-ID: <3C6D3F3F.4FB201B5@millions.ca> Date: Fri, 15 Feb 2002 10:02:55 -0700 From: Stacy Millions Organization: Millions Consulting Limited X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: gsemones@treenleaf.com, freebsd-java@FreeBSD.ORG Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads References: <200202150852.AA610074876@mail.mstar2.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Guerry Semones wrote: > ***Find out pointers on getting a native threads build of JDK1.3.1 > on FreeBSD.*** Did you read the PR that Greg Lewis posted a refrence to after he sent it? http://www.freebsd.org/cgi/query-pr.cgi?pr=34923 Did you look at the Makefile? make -DWITH_NATIVE_THREADS This, from the notes of the PR: native threads requires the FreeBSD source code to be present on the system -stacy -- You'll see it's all a show. Keep 'em laughing as you go. Just remember that the last laugh is on you. - Monty Python _The Life Of Brian_ Stacy Millions stacy@millions.ca Millions Consulting Limited To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 15 9: 5:59 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id B410D37B400 for ; Fri, 15 Feb 2002 09:05:55 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16blng-0000Wf-00; Fri, 15 Feb 2002 09:05:32 -0800 Date: Fri, 15 Feb 2002 09:05:32 -0800 To: Stacy Millions Cc: gsemones@treenleaf.com, freebsd-java@FreeBSD.ORG Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads Message-ID: <20020215170532.GA2006@gnuppy.monkey.org> References: <200202150852.AA610074876@mail.mstar2.net> <3C6D3F3F.4FB201B5@millions.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C6D3F3F.4FB201B5@millions.ca> User-Agent: Mutt/1.3.27i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Feb 15, 2002 at 10:02:55AM -0700, Stacy Millions wrote: > Did you read the PR that Greg Lewis posted a refrence to after > he sent it? http://www.freebsd.org/cgi/query-pr.cgi?pr=34923 > Did you look at the Makefile? > > make -DWITH_NATIVE_THREADS > > This, from the notes of the PR: > native threads requires the FreeBSD source code > to be present on the system > > -stacy Even I didn't know about that since I just generally hand hack it to compile in the first place. People's memory don't work like static images but rather filter things around them when relevant as needed. Now that I know that, I'll have to try it some time in the near future. ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 15 9:23: 8 2002 Delivered-To: freebsd-java@freebsd.org Received: from Millions.Ca (h-207-228-120-32.gen.cadvision.com [207.228.120.32]) by hub.freebsd.org (Postfix) with ESMTP id 51B4737B405 for ; Fri, 15 Feb 2002 09:22:59 -0800 (PST) Received: (from uucp@localhost) by Millions.Ca (8.11.1/8.9.3) id g1FHMwG60861; Fri, 15 Feb 2002 10:22:58 -0700 (MST) (envelope-from stacy@Millions.Ca) Received: from Cedar.Millions.Ca(192.168.64.8) via SMTP by mail-gw-0.millions.ca, id smtpdH60859; Fri Feb 15 10:22:48 2002 Received: from millions.ca (Maple.Millions.Ca [192.168.64.2]) by cedar.millions.ca (8.11.1/8.11.3) with ESMTP id g1FHMls59043; Fri, 15 Feb 2002 10:22:47 -0700 (MST) (envelope-from stacy@millions.ca) Message-ID: <3C6D43E7.DF220D11@millions.ca> Date: Fri, 15 Feb 2002 10:22:47 -0700 From: Stacy Millions Organization: Millions Consulting Limited X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Bill Huey Cc: gsemones@treenleaf.com, freebsd-java@FreeBSD.ORG Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads References: <200202150852.AA610074876@mail.mstar2.net> <3C6D3F3F.4FB201B5@millions.ca> <20020215170532.GA2006@gnuppy.monkey.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Bill Huey wrote: > > On Fri, Feb 15, 2002 at 10:02:55AM -0700, Stacy Millions wrote: > > Did you read the PR that Greg Lewis posted a refrence to after > > he sent it? http://www.freebsd.org/cgi/query-pr.cgi?pr=34923 > > Did you look at the Makefile? > > > > make -DWITH_NATIVE_THREADS > > > > This, from the notes of the PR: > > native threads requires the FreeBSD source code > > to be present on the system > > > > -stacy > > Even I didn't know about that since I just generally hand hack it > to compile in the first place. People's memory don't work like > static images but rather filter things around them when relevant > as needed. My apologies, that did come out sounding much sharper then I had intended. Blame it on this being day three of a rather miserable cold. -stacy -- You'll see it's all a show. Keep 'em laughing as you go. Just remember that the last laugh is on you. - Monty Python _The Life Of Brian_ Stacy Millions stacy@millions.ca Millions Consulting Limited To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 15 9:41: 8 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.mstar2.net (mail.mstar2.net [216.126.197.66]) by hub.freebsd.org (Postfix) with ESMTP id 0B18B37B400 for ; Fri, 15 Feb 2002 09:41:01 -0800 (PST) Date: Fri, 15 Feb 2002 10:41:03 -0700 Message-Id: <200202151041.AA842662114@mail.mstar2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Guerry Semones" Reply-To: X-Sender: To: , Stacy Millions Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads X-Mailer: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ---------- Original Message ---------------------------------- From: Stacy Millions Date: Fri, 15 Feb 2002 10:02:55 -0700 > >Guerry Semones wrote: > >> ***Find out pointers on getting a native threads build of JDK1.3.1 >> on FreeBSD.*** > >Did you read the PR that Greg Lewis posted a refrence to after >he sent it? http://www.freebsd.org/cgi/query-pr.cgi?pr=34923 >Did you look at the Makefile? > >make -DWITH_NATIVE_THREADS > >This, from the notes of the PR: > native threads requires the FreeBSD source code > to be present on the system > >-stacy Worps. May apologies, but no I didn't catch it. I'll look it over now! Hope the cold gets better.... Thanks, Guerry ________________________________________________________________ Sent via the Mstar2 mail system at mail.mstar2.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 15 11:22:54 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.mstar2.net (mail.mstar2.net [216.126.197.66]) by hub.freebsd.org (Postfix) with ESMTP id E19CD37B417 for ; Fri, 15 Feb 2002 11:22:46 -0800 (PST) Date: Fri, 15 Feb 2002 12:22:49 -0700 Message-Id: <200202151222.AA692519028@mail.mstar2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Guerry Semones" Reply-To: X-Sender: To: Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads X-Mailer: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >---------- Original Message ---------------------------------- >From: Stacy Millions >Date: Fri, 15 Feb 2002 10:02:55 -0700 > >> >>Guerry Semones wrote: >> >>> ***Find out pointers on getting a native threads build of >JDK1.3.1 >>> on FreeBSD.*** >> >>Did you read the PR that Greg Lewis posted a refrence to after >>he sent it? http://www.freebsd.org/cgi/query-pr.cgi?pr=34923 >>Did you look at the Makefile? >> >>make -DWITH_NATIVE_THREADS >> >>This, from the notes of the PR: >> native threads requires the FreeBSD source code >> to be present on the system >> >>-stacy Does the need for the FreeBSD source code infer that the kernel is being changed / recompiled? I would need to know this before proceeding. Thanks again, Guerry ________________________________________________________________ Sent via the Mstar2 mail system at mail.mstar2.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 15 11:27:23 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id EFDFD37B41B for ; Fri, 15 Feb 2002 11:27:20 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16bo0s-0000EZ-00; Fri, 15 Feb 2002 11:27:18 -0800 Date: Fri, 15 Feb 2002 11:27:18 -0800 To: Guerry Semones Cc: freebsd-java@FreeBSD.ORG Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads Message-ID: <20020215192718.GA896@gnuppy.monkey.org> References: <200202151222.AA692519028@mail.mstar2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200202151222.AA692519028@mail.mstar2.net> User-Agent: Mutt/1.3.27i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Feb 15, 2002 at 12:22:49PM -0700, Guerry Semones wrote: > Does the need for the FreeBSD source code infer that the kernel is > being changed / recompiled? I would need to know this before > proceeding. > > Thanks again, > > Guerry No, that just mean you need some developer thingies to help with building the JDK I believe. The kernel doesn't have anything directly to do with the pthreads system since it's userspace driven. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 15 14:28:36 2002 Delivered-To: freebsd-java@freebsd.org Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by hub.freebsd.org (Postfix) with ESMTP id 5071E37B402 for ; Fri, 15 Feb 2002 14:28:33 -0800 (PST) Received: from acm.org ([64.174.88.160]) by mta5.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GRL00I1HIFDXN@mta5.snfc21.pbi.net> for freebsd-java@freebsd.org; Fri, 15 Feb 2002 14:28:25 -0800 (PST) Date: Fri, 15 Feb 2002 14:28:13 -0800 From: Andrew Houghton Subject: linux-jdk14 coredump when run as non-root user To: freebsd-java@freebsd.org Message-id: <3C6D8B7D.9000706@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.8+) Gecko/20020215 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Wondering if I'm the only one seeing this. The linux-jdk works fine (as far as I've tested it, which extends to 'javavm -version') when I run it as root, but when I run it as a user: bash-2.05a$ javavm -version # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode) # # Error ID: 4F533F4C494E55580E43505002AB # Abort trap (core dumped) I assume I've set some permission on some file somewhere incorrectly, but I'm lost as to what/where. - a. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 5: 5:46 2002 Delivered-To: freebsd-java@freebsd.org Received: from shale.csir.co.za (shale.csir.co.za [146.64.46.5]) by hub.freebsd.org (Postfix) with ESMTP id 6FA0B37B404 for ; Sat, 16 Feb 2002 05:05:41 -0800 (PST) Received: (from reg@localhost) by shale.csir.co.za (8.11.6/8.11.6) id g1GD5YP68917 for freebsd-java@FreeBSD.ORG; Sat, 16 Feb 2002 15:05:34 +0200 (SAT) (envelope-from reg) Date: Sat, 16 Feb 2002 15:05:34 +0200 From: Jeremy Lea To: freebsd-java@FreeBSD.ORG Subject: Re: Mozilla plugin and native JDK 1.3.1p6. Message-ID: <20020216150534.C60480@shale.csir.co.za> References: <20020215150421.A50739@shale.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020215150421.A50739@shale.csir.co.za>; from reg@FreeBSD.ORG on Fri, Feb 15, 2002 at 03:04:21PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I've done some more investigation on this. On loading mozilla I get the following messages: IsPluginFile(/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so) == TRUE LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol "_$_13nsCOMPtr_base"] LoadPlugin() /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so returned 0 The symbol _$_13nsCOMPtr_base means it's obviously looking for xpcom. Greping libxpcom.so for this symbol finds it, but it's not in the output of objdump... This is where my knowledge of the linker fails. Basically, it looks like the plugin needs to be linked with libxpcom? Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 8:14:58 2002 Delivered-To: freebsd-java@freebsd.org Received: from hope.netfront.net (hope.netfront.net [202.81.252.35]) by hub.freebsd.org (Postfix) with ESMTP id BA56637B404 for ; Sat, 16 Feb 2002 08:14:49 -0800 (PST) Received: from localhost (241-142.netfront.net [202.81.241.142] (may be forged)) by hope.netfront.net (8.11.6/8.11.6) with ESMTP id g1GGEaD01260; Sun, 17 Feb 2002 00:14:37 +0800 (HKT) Date: Sun, 17 Feb 2002 00:17:23 +0800 Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v480) Cc: gsemones@treenleaf.com, freebsd-java@FreeBSD.ORG To: Stacy Millions From: Tong Ka Man In-Reply-To: <3C6D3F3F.4FB201B5@millions.ca> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.480) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Sorry, I just can't build with native threads option turned on. It seems that the src is missing one file "pthread_private.h" Any ideas? Thanks. KM --------------------- su-2.05# make -DWITH_NATIVE_THREADS ===> Building for jdk-1.3.1p6 i386 Build started: 1.3.1-p6-kmtong-020217-00:09 WARNING: Your MAKEFLAGS environment variable is set. You should be very careful about the values set here. MAKEFLAGS is set to =>HPIS=green\ native<= Sanity check passed >>>Recursively making java all @ Sun Feb 17 00:09:35 HKT 2002 ... gmake[1]: Entering directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java' >>>Recursively making hpi all @ Sun Feb 17 00:09:35 HKT 2002 ... gmake[2]: Entering directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi' >>>Recursively making green all @ Sun Feb 17 00:09:35 HKT 2002 ... gmake[3]: Entering directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/green' gmake ../../../../build/bsd-i386/lib/i386/green_threads/libhpi.so VARIANT=OPT gmake[4]: Entering directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/green' gmake[4]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/green' gmake ../../../../build/bsd-i386/lib/i386/green_threads/libhpi_g.so VARIANT=DBG gmake[4]: Entering directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/green' gmake[4]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/green' gmake[3]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/green' <<>>Recursively making native all @ Sun Feb 17 00:09:35 HKT 2002 ... gmake[3]: Entering directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native' gmake ../../../../build/bsd-i386/lib/i386/native_threads/libhpi.so VARIANT=OPT gmake[4]: Entering directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native' /usr/bin/gcc -O -pipe -W -Wall -Wno-unused -Wno-parentheses -pthread -I/usr/src/lib/libc_r/uthread -I/usr/src/lib/libc/include -Di386 -DARCH='"i386"' -DSOLARIS2 -DRELEASE='"1.3.1-p6"' -DFULL_VERSION='"1.3.1-p6-kmtong-020217-00:09"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -DLOGGING -D_LITTLE_ENDIAN -I. -I../../../../build/bsd-i386/tmp/java/hpi/native_threads/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/solaris/hpi/native_threads/include -I../../../../src/solaris/hpi/include -I../../../../src/solaris/hpi/export -I../../../../src/share/hpi/include -I../../../../src/share/hpi/export -D_REENTRANT -DNATIVE -DUSE_PTHREADS -DMOOT_PRIORITIES -DNO_INTERRUPTIBLE_IO -c -o ../../../../build/bsd-i386/tmp/java/hpi/native_threads/obj/threads_bsd.o ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:34: pthread_private.h: No such file or directory ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In function `np_stackinfo': ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:115: `_thread_initial' undeclared (first use in this function) ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:115: (Each undeclared identifier is reported only once ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:115: for each function it appears in.) ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:116: dereferencing pointer to incomplete type ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:117: `PTHREAD_STACK_DEFAULT' undeclared (first use in this function) ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In function `record_thread_regs': ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:210: dereferencing pointer to incomplete type ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: At top level: ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:287: warning: `enum pthread_susp' declared inside parameter list ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:287: warning: its scope is only this definition or declaration, which is probably not what you want. ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:288: parameter `suspendState' has incomplete type ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In function `getSuspendStateString': ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:293: warning: control reaches end of non-void function ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: At top level: ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:321: warning: initializer-string for array of chars is too long ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:321: warning: (near initialization for `SignalList[21]') ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:323: warning: excess elements in array initializer ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:323: warning: (near initialization for `SignalList') ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:325: warning: `enum pthread_state' declared inside parameter list ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:326: parameter `threadState' has incomplete type ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In function `getThreadStateString': ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:331: warning: control reaches end of non-void function ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In function `record_gc_registers_of': ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:515: dereferencing pointer to incomplete type ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:515: `PTHREAD_FLAGS_PRIVATE' undeclared (first use in this function) ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:518: dereferencing pointer to incomplete type ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:527: dereferencing pointer to incomplete type ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:527: `PS_SUSPENDED' undeclared (first use in this function) ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:530: dereferencing pointer to incomplete type ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:532: `CTX_JB_NOSIG' undeclared (first use in this function) ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:533: `CTX_JB' undeclared (first use in this function) ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:534: `CTX_SJB' undeclared (first use in this function) ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:540: `CTX_UC' undeclared (first use in this function) ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:542: dereferencing pointer to incomplete type ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:535: warning: unreachable code at beginning of switch statement gmake[4]: *** [../../../../build/bsd- i386/tmp/java/hpi/native_threads/obj/threads_bsd.o] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java' gmake: *** [all] Error 1 *** Error code 2 Stop in /usr/ports/java/jdk13. *** Error code 1 Stop in /usr/ports/java/jdk13. *** Error code 1 Stop in /usr/ports/java/jdk13. su-2.05# On Saturday, February 16, 2002, at 01:02 AM, Stacy Millions wrote: > > Guerry Semones wrote: > >> ***Find out pointers on getting a native threads build of JDK1.3.1 >> on FreeBSD.*** > > Did you read the PR that Greg Lewis posted a refrence to after > he sent it? http://www.freebsd.org/cgi/query-pr.cgi?pr=34923 > Did you look at the Makefile? > > make -DWITH_NATIVE_THREADS > > This, from the notes of the PR: > native threads requires the FreeBSD source code > to be present on the system > > -stacy > > -- > You'll see it's all a show. Keep 'em laughing as you go. > Just remember that the last laugh is on you. > - Monty Python _The Life Of Brian_ > > Stacy Millions stacy@millions.ca > Millions Consulting Limited > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 9:16:46 2002 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id B691337B402 for ; Sat, 16 Feb 2002 09:16:38 -0800 (PST) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id MAA22379; Sat, 16 Feb 2002 12:15:55 -0500 Date: Sat, 16 Feb 2002 12:15:55 -0500 (EST) From: Mikhail Kruk To: Tong Ka Man Cc: Stacy Millions , , Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org You must have the FreeBSD sources installed. Here is the correct location of that file: /usr/src/lib/libc_r/uthread/pthread_private.h > Sorry, I just can't build with native threads option turned on. > It seems that the src is missing one file "pthread_private.h" > Any ideas? > > Thanks. > KM > --------------------- > > su-2.05# make -DWITH_NATIVE_THREADS > ===> Building for jdk-1.3.1p6 > i386 Build started: 1.3.1-p6-kmtong-020217-00:09 > WARNING: Your MAKEFLAGS environment variable is set. > You should be very careful about the values set here. > > MAKEFLAGS is set to =>HPIS=green\ native<= > > Sanity check passed > >>>Recursively making java all @ Sun Feb 17 00:09:35 HKT 2002 ... > gmake[1]: Entering directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java' > >>>Recursively making hpi all @ Sun Feb 17 00:09:35 HKT 2002 ... > gmake[2]: Entering directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi' > >>>Recursively making green all @ Sun Feb 17 00:09:35 HKT 2002 ... > gmake[3]: Entering directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/green' > gmake ../../../../build/bsd-i386/lib/i386/green_threads/libhpi.so > VARIANT=OPT > gmake[4]: Entering directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/green' > gmake[4]: Leaving directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/green' > gmake ../../../../build/bsd-i386/lib/i386/green_threads/libhpi_g.so > VARIANT=DBG > gmake[4]: Entering directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/green' > gmake[4]: Leaving directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/green' > gmake[3]: Leaving directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/green' > << >>>Recursively making native all @ Sun Feb 17 00:09:35 HKT 2002 ... > gmake[3]: Entering directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native' > gmake ../../../../build/bsd-i386/lib/i386/native_threads/libhpi.so > VARIANT=OPT > gmake[4]: Entering directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native' > /usr/bin/gcc -O -pipe -W -Wall -Wno-unused -Wno-parentheses -pthread > -I/usr/src/lib/libc_r/uthread -I/usr/src/lib/libc/include -Di386 > -DARCH='"i386"' -DSOLARIS2 -DRELEASE='"1.3.1-p6"' > -DFULL_VERSION='"1.3.1-p6-kmtong-020217-00:09"' -D_LARGEFILE64_SOURCE > -D_GNU_SOURCE -D_REENTRANT -DLOGGING -D_LITTLE_ENDIAN -I. > -I../../../../build/bsd-i386/tmp/java/hpi/native_threads/CClassHeaders > -I../../../../src/solaris/javavm/export > -I../../../../src/share/javavm/export > -I../../../../src/solaris/hpi/native_threads/include > -I../../../../src/solaris/hpi/include > -I../../../../src/solaris/hpi/export -I../../../../src/share/hpi/include > -I../../../../src/share/hpi/export -D_REENTRANT -DNATIVE -DUSE_PTHREADS > -DMOOT_PRIORITIES -DNO_INTERRUPTIBLE_IO -c -o > ../../../../build/bsd-i386/tmp/java/hpi/native_threads/obj/threads_bsd.o > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:34: > pthread_private.h: No such file or directory > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In > function `np_stackinfo': > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:115: > `_thread_initial' undeclared (first use in this function) > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:115: (Each > undeclared identifier is reported only once > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:115: for > each function it appears in.) > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:116: > dereferencing pointer to incomplete type > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:117: > `PTHREAD_STACK_DEFAULT' undeclared (first use in this function) > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In > function `record_thread_regs': > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:210: > dereferencing pointer to incomplete type > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: At top > level: > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:287: > warning: `enum pthread_susp' declared inside parameter list > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:287: > warning: its scope is only this definition or declaration, which is > probably not what you want. > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:288: > parameter `suspendState' has incomplete type > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In > function `getSuspendStateString': > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:293: > warning: control reaches end of non-void function > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: At top > level: > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:321: > warning: initializer-string for array of chars is too long > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:321: > warning: (near initialization for `SignalList[21]') > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:323: > warning: excess elements in array initializer > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:323: > warning: (near initialization for `SignalList') > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:325: > warning: `enum pthread_state' declared inside parameter list > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:326: > parameter `threadState' has incomplete type > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In > function `getThreadStateString': > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:331: > warning: control reaches end of non-void function > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In > function `record_gc_registers_of': > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:515: > dereferencing pointer to incomplete type > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:515: > `PTHREAD_FLAGS_PRIVATE' undeclared (first use in this function) > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:518: > dereferencing pointer to incomplete type > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:527: > dereferencing pointer to incomplete type > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:527: > `PS_SUSPENDED' undeclared (first use in this function) > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:530: > dereferencing pointer to incomplete type > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:532: > `CTX_JB_NOSIG' undeclared (first use in this function) > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:533: > `CTX_JB' undeclared (first use in this function) > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:534: > `CTX_SJB' undeclared (first use in this function) > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:540: > `CTX_UC' undeclared (first use in this function) > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:542: > dereferencing pointer to incomplete type > ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:535: > warning: unreachable code at beginning of switch statement > gmake[4]: *** [../../../../build/bsd- > i386/tmp/java/hpi/native_threads/obj/threads_bsd.o] Error 1 > gmake[4]: Leaving directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native' > gmake[3]: *** [optimized] Error 2 > gmake[3]: Leaving directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native' > gmake[2]: *** [all] Error 1 > gmake[2]: Leaving directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi' > gmake[1]: *** [all] Error 1 > gmake[1]: Leaving directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java' > gmake: *** [all] Error 1 > *** Error code 2 > > Stop in /usr/ports/java/jdk13. > *** Error code 1 > > Stop in /usr/ports/java/jdk13. > *** Error code 1 > > Stop in /usr/ports/java/jdk13. > su-2.05# > > On Saturday, February 16, 2002, at 01:02 AM, Stacy Millions wrote: > > > > > Guerry Semones wrote: > > > >> ***Find out pointers on getting a native threads build of JDK1.3.1 > >> on FreeBSD.*** > > > > Did you read the PR that Greg Lewis posted a refrence to after > > he sent it? http://www.freebsd.org/cgi/query-pr.cgi?pr=34923 > > Did you look at the Makefile? > > > > make -DWITH_NATIVE_THREADS > > > > This, from the notes of the PR: > > native threads requires the FreeBSD source code > > to be present on the system > > > > -stacy > > > > -- > > You'll see it's all a show. Keep 'em laughing as you go. > > Just remember that the last laugh is on you. > > - Monty Python _The Life Of Brian_ > > > > Stacy Millions stacy@millions.ca > > Millions Consulting Limited > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 11:29:22 2002 Delivered-To: freebsd-java@freebsd.org Received: from falcon.prod.itd.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 667A437B400 for ; Sat, 16 Feb 2002 11:29:21 -0800 (PST) Received: from dhcp151-67-151-24.nt01-c3.cpe.charter-ne.com ([24.151.67.151] helo=there) by falcon.prod.itd.earthlink.net with smtp (Exim 3.33 #1) id 16cAWO-0000eY-00 for freebsd-java@freebsd.org; Sat, 16 Feb 2002 11:29:21 -0800 Content-Type: text/plain; charset="iso-8859-15" From: Dylan Carlson Reply-To: absinthe@pobox.com Organization: r e t r o v e r t i g o To: freebsd-java@freebsd.org Subject: Tomcat 3.2.3 under jdk1.3.1p6-native threads Date: Sat, 16 Feb 2002 14:29:11 -0500 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I can't seem to get Tomcat 3.2.3 under mod_jk and Apache 1.3.14 to work at all with the native threaded VM. Anyone else having this problem? Cheers, -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 11:37:43 2002 Delivered-To: freebsd-java@freebsd.org Received: from dragon.realtime.net (dragon.realtime.net [205.238.128.89]) by hub.freebsd.org (Postfix) with SMTP id 1F80037B405 for ; Sat, 16 Feb 2002 11:37:41 -0800 (PST) Received: from tigerfish2.my.domain ([66.25.223.20]) by dragon.realtime.net ; Fri, 15 Feb 2002 22:05:55 -0600 Received: (from brucegb@localhost) by tigerfish2.my.domain (8.11.6/8.11.6) id g1G45s902044 for freebsd-java@freebsd.org; Fri, 15 Feb 2002 22:05:54 -0600 (CST) (envelope-from brucegb) Date: Fri, 15 Feb 2002 22:05:54 -0600 From: Bruce Burden To: freebsd-java@freebsd.org Subject: Re: Mozilla plugin and native JDK 1.3.1p6. Message-ID: <20020215220554.H20348@tigerfish2.my.domain> References: <20020215150421.A50739@shale.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020215150421.A50739@shale.csir.co.za>; from reg@FreeBSD.ORG on Fri, Feb 15, 2002 at 03:04:21PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Feb 15, 2002 at 03:04:21PM +0200, Jeremy Lea wrote: Hi Jeremy, > > I installed the Mozilla port (with a few patches, due for commit in a > few hours), and then the JDK port. I didn't set any non standard > settings. Then I made the link like suggested in JDK's pkg-message. > What version of Mozilla do you have? I have mozilla-0.9.7_2,1, and jdk1.3.1 works w/out a problem. (Once the port was updated, that is). At work, I have an older version of mozilla, and jdk1.3.1p6, and it demonstrates the behavior you describe. "top" shows that it is in "pause", and the java window reports "initializing java applet" or some such. At work, I tried to install mozilla 0.9.8, w/out any luck. I think there is a problem with libart_lgpl... Bruce -- ------------------------------------------------------------------------ "I like bad!" Bruce Burden Austin, TX. - Thuganlitha The Power and the Prophet Robert Don Hughes To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 12: 1: 9 2002 Delivered-To: freebsd-java@freebsd.org Received: from shale.csir.co.za (shale.csir.co.za [146.64.46.5]) by hub.freebsd.org (Postfix) with ESMTP id E4C4C37B400 for ; Sat, 16 Feb 2002 12:00:48 -0800 (PST) Received: (from reg@localhost) by shale.csir.co.za (8.11.6/8.11.6) id g1GK0QO71372; Sat, 16 Feb 2002 22:00:26 +0200 (SAT) (envelope-from reg) Date: Sat, 16 Feb 2002 22:00:26 +0200 From: Jeremy Lea To: Bruce Burden Cc: freebsd-java@FreeBSD.ORG, glewis@eyesbeyond.com Subject: Re: Mozilla plugin and native JDK 1.3.1p6. Message-ID: <20020216220026.D60480@shale.csir.co.za> References: <20020215150421.A50739@shale.csir.co.za> <20020215220554.H20348@tigerfish2.my.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020215220554.H20348@tigerfish2.my.domain>; from brucegb@realtime.net on Fri, Feb 15, 2002 at 10:05:54PM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, On Fri, Feb 15, 2002 at 10:05:54PM -0600, Bruce Burden wrote: > What version of Mozilla do you have? I have mozilla-0.9.7_2,1, > and jdk1.3.1 works w/out a problem. (Once the port was updated, > that is). 0.9.8_1,1. I'm worried that this might be one of the changes I made to the port. It looks like there's no simple answer, and I'm going to have to debug things... This was on -CURRENT. I'm going to build the JDK and Mozilla with debugging on -STABLE now, and see if I get the same behaviour, and back things out to 0.9.7 on -CURRENT and see if that works. Is this with green threads or native threads? The port failed to build with native threads for me... I posted another message in response to my original, with some debugging output which suggests that the plugin is not being correctly linked with libxpcom from Mozilla. Something which concerns me greatly is that the plugin seems to be linked with references to all sorts of Mozilla things, but I didn't have Mozilla installed at the time I built it... This probably means that the plugin is being built with it's own copy of a lot of private headers, which are out of date for 0.9.8. I guess we're going to have to look into building the plugin as a seperate port, which depends on Mozilla. > At work, I tried to install mozilla 0.9.8, w/out any luck. > I think there is a problem with libart_lgpl... Can you try the latest port (I committed some changes just over 24 hours ago), and 1. See if the plugin works, and 2. If it doesn't build, please report the build error that you got... I'll fix it for you. Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 12: 9: 5 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 3C61437B402 for ; Sat, 16 Feb 2002 12:09:02 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16cB8F-0000RU-00; Sat, 16 Feb 2002 12:08:27 -0800 Date: Sat, 16 Feb 2002 12:08:27 -0800 To: Tong Ka Man Cc: freebsd-java@FreeBSD.ORG Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads Message-ID: <20020216200827.GA1691@gnuppy.monkey.org> References: <3C6D3F3F.4FB201B5@millions.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Feb 17, 2002 at 12:17:23AM +0800, Tong Ka Man wrote: > Sorry, I just can't build with native threads option turned on. > It seems that the src is missing one file "pthread_private.h" > Any ideas? > > Thanks. > KM That's the actually in the /usr/src sources. cvsup that stuff, if it's already there then investigate include paths for headers files. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 13:23:25 2002 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-80.oz.net [216.39.147.80]) by hub.freebsd.org (Postfix) with SMTP id D21E537B400 for ; Sat, 16 Feb 2002 13:23:21 -0800 (PST) Received: (qmail 64645 invoked from network); 16 Feb 2002 21:23:20 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 16 Feb 2002 21:23:20 -0000 Subject: Re: Mozilla plugin and native JDK 1.3.1p6. From: Joe Kelsey To: Jeremy Lea Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <20020216150534.C60480@shale.csir.co.za> References: <20020215150421.A50739@shale.csir.co.za> <20020216150534.C60480@shale.csir.co.za> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 16 Feb 2002 13:23:20 -0800 Message-Id: <1013894600.59818.5.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 2002-02-16 at 05:05, Jeremy Lea wrote: > On loading mozilla I get the following messages: > > IsPluginFile(/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so) > == TRUE > LoadPlugin: failed to initialize shared library > /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so > [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: > Undefined symbol "_$_13nsCOMPtr_base"] > LoadPlugin() > /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so returned > 0 Did you compile Mozilla with debugging enabled? I have seen this error occur consistently whenever I tried compileing Mozilla with debugging enabled, but disappear whenever I turn off debugging. It is very frustrating, as I was trying to track down a plugin error on the Mozilla side, but this error prevented the oji plugin from loading, so I was never able to debug it. /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 13:38:37 2002 Delivered-To: freebsd-java@freebsd.org Received: from shikima.mine.nu (pc1-card4-0-cust77.cdf.cable.ntl.com [62.252.49.77]) by hub.freebsd.org (Postfix) with ESMTP id BF44037B434 for ; Sat, 16 Feb 2002 13:38:33 -0800 (PST) Received: from rasputin by shikima.mine.nu with local (Exim 3.33 #1) id 16cCXN-000237-00; Sat, 16 Feb 2002 21:38:29 +0000 Date: Sat, 16 Feb 2002 21:38:29 +0000 From: Rasputin To: Dylan Carlson Cc: java@freebsd.org Subject: Re: Tomcat 3.2.3 under jdk1.3.1p6-native threads Message-ID: <20020216213829.A7862@shikima.mine.nu> Reply-To: Rasputin References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from absinthe@pobox.com on Sat, Feb 16, 2002 at 02:29:11PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Dylan Carlson [020216 19:32]: > I can't seem to get Tomcat 3.2.3 under mod_jk and Apache 1.3.14 to work at > all with the native threaded VM. Anyone else having this problem? Tomcat 4.0 doesn't work at all with native threads here - but I didn't really expect it to yet, to be honest. I understood the native threading wasn't fully usable yet - if that's not supposed to be the case, I can do some debugging on this maybe. Happy to have a working native Mozilla plugin for the moment... (I can finally get into http://java.sun.com - really great work, folks..) -- Fuch's Warning: If you actually look like your passport photo, you aren't well enough to travel. Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 14:35: 2 2002 Delivered-To: freebsd-java@freebsd.org Received: from shale.csir.co.za (shale.csir.co.za [146.64.46.5]) by hub.freebsd.org (Postfix) with ESMTP id D51FF37B404 for ; Sat, 16 Feb 2002 14:34:48 -0800 (PST) Received: (from reg@localhost) by shale.csir.co.za (8.11.6/8.11.6) id g1GMYXC11350; Sun, 17 Feb 2002 00:34:33 +0200 (SAT) (envelope-from reg) Date: Sun, 17 Feb 2002 00:34:32 +0200 From: Jeremy Lea To: Joe Kelsey Cc: freebsd-java@FreeBSD.ORG Subject: Re: Mozilla plugin and native JDK 1.3.1p6. Message-ID: <20020217003431.E60480@shale.csir.co.za> References: <20020215150421.A50739@shale.csir.co.za> <20020216150534.C60480@shale.csir.co.za> <1013894600.59818.5.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <1013894600.59818.5.camel@zircon.zircon.seattle.wa.us>; from joe@zircon.seattle.wa.us on Sat, Feb 16, 2002 at 01:23:20PM -0800 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, On Sat, Feb 16, 2002 at 01:23:20PM -0800, Joe Kelsey wrote: > Did you compile Mozilla with debugging enabled? I have seen this > error occur consistently whenever I tried compileing Mozilla with > debugging enabled, but disappear whenever I turn off debugging. It is > very frustrating, as I was trying to track down a plugin error on the > Mozilla side, but this error prevented the oji plugin from loading, so > I was never able to debug it. Yes, because I was trying to debug it too... Oh well, it looks like this has all taken me down a long path, involving lots of compiling, and it appears at the moment that my problem is simple. Java isn't using a proxy server... Anyone know how to tell the plugin about my proxy? I'm going to rebuild mozilla and java from the stock ports, and then test again with one of the demo applets. Hopefully that will work, and this whole thread can be forgotten. Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 15:44:32 2002 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-80.oz.net [216.39.147.80]) by hub.freebsd.org (Postfix) with SMTP id AFB8B37B416 for ; Sat, 16 Feb 2002 15:44:28 -0800 (PST) Received: (qmail 65095 invoked from network); 16 Feb 2002 23:44:27 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 16 Feb 2002 23:44:27 -0000 Subject: Re: Mozilla plugin and native JDK 1.3.1p6. From: Joe Kelsey To: Jeremy Lea Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <20020217003431.E60480@shale.csir.co.za> References: <20020215150421.A50739@shale.csir.co.za> <20020216150534.C60480@shale.csir.co.za> <1013894600.59818.5.camel@zircon.zircon.seattle.wa.us> <20020217003431.E60480@shale.csir.co.za> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 16 Feb 2002 15:44:27 -0800 Message-Id: <1013903067.59818.12.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 2002-02-16 at 14:34, Jeremy Lea wrote: > On Sat, Feb 16, 2002 at 01:23:20PM -0800, Joe Kelsey wrote: > > Did you compile Mozilla with debugging enabled? I have seen this > > error occur consistently whenever I tried compileing Mozilla with > > debugging enabled, but disappear whenever I turn off debugging. It is > > very frustrating, as I was trying to track down a plugin error on the > > Mozilla side, but this error prevented the oji plugin from loading, so > > I was never able to debug it. > > Yes, because I was trying to debug it too... Oh well, it looks like > this has all taken me down a long path, involving lots of compiling, and > it appears at the moment that my problem is simple. Java isn't using a > proxy server... Anyone know how to tell the plugin about my proxy? The proxy bug in the plugin is the last bug we fixed before releasing patchset 6. The problem, if you want to know, is that nsProxyHostImpl::FindProxyForURL returns a bad error code for *direct* connections, but returns the correct code for *proxy* connections. Greg Lewis specifically tested with proxies set up in Mozilla to verify that the code works. I wanted to trace the erring function to find out why it returned the error code for direct connections, but could not get the debugging mozilla to get past the loading of the oji plugin. Anyway, if anyone out there knows how to fix this stupid error, it would really help us with the debugging of some sticky bugs here. The way that we worked around the bug is that if FindProxyForURL returns an error, we treat the connection as direct. That means that if you have valid proxies set up in mozilla, it should still use them correctly. The manifestation of the bug we were trying to fix is the inability to load applet code for direct connections. /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 16:16:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 02FDD37B400 for ; Sat, 16 Feb 2002 16:16:10 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.34 #1 (Debian)) id 16cEvK-0000i0-00; Sat, 16 Feb 2002 16:11:22 -0800 Date: Sat, 16 Feb 2002 16:11:21 -0800 To: Rasputin Cc: Dylan Carlson , java@freebsd.org Subject: Re: Tomcat 3.2.3 under jdk1.3.1p6-native threads Message-ID: <20020217001121.GA2715@gnuppy.monkey.org> References: <20020216213829.A7862@shikima.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020216213829.A7862@shikima.mine.nu> User-Agent: Mutt/1.3.27i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Feb 16, 2002 at 09:38:29PM +0000, Rasputin wrote: > I understood the native threading wasn't fully usable yet - if that's > not supposed to be the case, I can do some debugging on this maybe. > > Happy to have a working native Mozilla plugin for the moment... 1) There's a wait queue patch that needs to be create so that threads blocking on pthread_cond_timedwait() doesn't wake up when it's marked suspended. I have a patch for that works, but Dan Eischen's thinks it's too heavy weight and that another kind of queue manipulation should be in its place. 2) Fix the logic that misses the handling of SIGUSR that's most easily triggered by the Swing demos. Those are the two last known bug in my queue. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 17:49:28 2002 Delivered-To: freebsd-java@freebsd.org Received: from cerberus.perendengue.com (lnk-65-31-227-117.neb.rr.com [65.31.227.117]) by hub.freebsd.org (Postfix) with ESMTP id 3F56C37B402 for ; Sat, 16 Feb 2002 17:49:18 -0800 (PST) Received: by cerberus.perendengue.com (Postfix, from userid 1000) id E26213C26; Sat, 16 Feb 2002 19:50:06 -0600 (CST) Date: Sat, 16 Feb 2002 19:50:06 -0600 From: Jesse McConnell To: java@freebsd.org Subject: building jboss port question Message-ID: <20020216195006.A40959@gallup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org http://www.jboss.org I am building out the jboss ports and I wanted to ask the troops on here a few questions. First off, if someone else is already doing this, please let me know. Since jboss can be intalled by itself or with Tomcat 3.2.3 or Tomcat 4.0.1 or even Jetty 3.1.3_1 I am thinking about going one of two ways. First would be to just warn the port user to specify WITH_JAKARTA_TOMCAT_3, WITH_JAKARTÅ_TOMCAT_4 or WITH_JETTY. Jboss is packaged so it is already configured to make use of them, which can be kinda a pain so I figured the options should be available outside of the other ports which offer those programs. The other option would be to go like the apache port and offer three different ports, jboss, jboss-tomcat (which allows you to choose 3 or 4), and jboss-jetty. I am currently leaning towards the three different ports approach as then if you are using something like portupgrade or pkg_info you can see that jboss is installed with one of the add-ons. I have it pretty much done the other way, but I am swaying back this way...so I figured I would ask you guys. The other question is which jdk should I make these go against. The forte ones seems to use the linux-jdk one to build against..but I am thinking I'll just attach a pkg-message that explains where to launch the program from and to set the JAVA_HOME of the vm you want to use...Any feelings one way or the other? Thats pretty much it...please respond either directly to me or just reply to the mailing list. chau! Jesse -- Jesse McConnell The Gallup Organization (402) 486-6987 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 19:54:57 2002 Delivered-To: freebsd-java@freebsd.org Received: from chen.org.nz (adsl-210.54.19.51.quicksilver.net.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id 999A037B416 for ; Sat, 16 Feb 2002 19:54:35 -0800 (PST) Received: (from jonc@localhost) by chen.org.nz (8.11.6/8.11.6) id g1H3sRc03987 for freebsd-java@FreeBSD.ORG; Sun, 17 Feb 2002 16:54:27 +1300 (NZDT) (envelope-from jonc) Date: Sun, 17 Feb 2002 16:54:27 +1300 From: Jonathan Chen To: freebsd-java@FreeBSD.ORG Subject: Re: Mozilla plugin and native JDK 1.3.1p6. Message-ID: <20020217165427.A3783@grimoire.chen.org.nz> References: <20020215150421.A50739@shale.csir.co.za> <20020216150534.C60480@shale.csir.co.za> <1013894600.59818.5.camel@zircon.zircon.seattle.wa.us> <20020217003431.E60480@shale.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020217003431.E60480@shale.csir.co.za>; from reg@FreeBSD.ORG on Sun, Feb 17, 2002 at 12:34:32AM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I've just tried the plugin, running: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p6-root-020215-18:55) Classic VM (build 1.3.1-p6-root-020215-18:55, green threads, nojit) and mozilla-0.9.8,1, I keep getting the following failure on trying to load http://java.sun.com/ INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2 < System error?:: No such file or directory Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0. INTERNAL ERROR on Browser End: Could not read ack from browser System error?:: Resource temporarily unavailable Anyone know the cause and the fix? -- Jonathan Chen ---------------------------------------------------------------------- "A person should be able to do a small bit of everything, specialisation is for insects" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 21:10:18 2002 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-80.oz.net [216.39.147.80]) by hub.freebsd.org (Postfix) with SMTP id 6C0FC37B405 for ; Sat, 16 Feb 2002 21:10:13 -0800 (PST) Received: (qmail 67338 invoked from network); 17 Feb 2002 05:10:12 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 17 Feb 2002 05:10:12 -0000 Subject: Re: Mozilla plugin and native JDK 1.3.1p6. From: Joe Kelsey To: Jonathan Chen Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <20020217165427.A3783@grimoire.chen.org.nz> References: <20020215150421.A50739@shale.csir.co.za> <20020216150534.C60480@shale.csir.co.za> <1013894600.59818.5.camel@zircon.zircon.seattle.wa.us> <20020217003431.E60480@shale.csir.co.za> <20020217165427.A3783@grimoire.chen.org.nz> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 16 Feb 2002 21:10:12 -0800 Message-Id: <1013922612.59818.18.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 2002-02-16 at 19:54, Jonathan Chen wrote: I've just tried the plugin, running: > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p6-root-020215-18:55) > Classic VM (build 1.3.1-p6-root-020215-18:55, green threads, nojit) > and mozilla-0.9.8,1, I keep getting the following failure on trying to > load http://java.sun.com/ > > INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2 > < > System error?:: No such file or directory You have built and/or installed the plugin incorrectly, most likely due to a bad port Makefile and/or pkg-plist. Remove /usr/ports/java/jdk13 completely, run cvsup over and try again. /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 21:42:24 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by hub.freebsd.org (Postfix) with ESMTP id CB0D037B402 for ; Sat, 16 Feb 2002 21:42:21 -0800 (PST) Received: from vee.net (wintermute.home.vee.net [203.18.245.2]) by smtp0.adl1.internode.on.net (8.11.6/8.11.6) with ESMTP id g1H5h1a65496; Sun, 17 Feb 2002 16:13:02 +1030 (CST) (envelope-from mike@vee.net) Message-ID: <3C6F4260.4050909@vee.net> Date: Sun, 17 Feb 2002 16:10:48 +1030 From: Mike Gratton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8+) Gecko/20020208 X-Accept-Language: en-au, en-gb MIME-Version: 1.0 To: Jonathan Chen Cc: freebsd-java@FreeBSD.ORG Subject: Re: Mozilla plugin and native JDK 1.3.1p6. References: <20020215150421.A50739@shale.csir.co.za> <20020216150534.C60480@shale.csir.co.za> <1013894600.59818.5.camel@zircon.zircon.seattle.wa.us> <20020217003431.E60480@shale.csir.co.za> <20020217165427.A3783@grimoire.chen.org.nz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jonathan Chen wrote: > > INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2 > > [snip] > > Anyone know the cause and the fix? > This may well be Mozilla bug. I'm using a recent nightly (0.9.8+) on my [wince] Linux workstation, and I get the same error. Can you try using 0.9.7? -- Mike Gratton "Every motive escalate." Blatant self-promotion: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 16 21:47:13 2002 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-80.oz.net [216.39.147.80]) by hub.freebsd.org (Postfix) with SMTP id 9A57937B400 for ; Sat, 16 Feb 2002 21:47:10 -0800 (PST) Received: (qmail 67482 invoked from network); 17 Feb 2002 05:47:08 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 17 Feb 2002 05:47:08 -0000 Subject: Re: Mozilla plugin and native JDK 1.3.1p6. From: Joe Kelsey To: Mike Gratton Cc: Jonathan Chen , freebsd-java@FreeBSD.ORG In-Reply-To: <3C6F4260.4050909@vee.net> References: <20020215150421.A50739@shale.csir.co.za> <20020216150534.C60480@shale.csir.co.za> <1013894600.59818.5.camel@zircon.zircon.seattle.wa.us> <20020217003431.E60480@shale.csir.co.za> <20020217165427.A3783@grimoire.chen.org.nz> <3C6F4260.4050909@vee.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 16 Feb 2002 21:47:08 -0800 Message-Id: <1013924828.59818.22.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 2002-02-16 at 21:40, Mike Gratton wrote: > Jonathan Chen wrote: > > INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2 > > [snip] > > Anyone know the cause and the fix? > This may well be Mozilla bug. I'm using a recent nightly (0.9.8+) on my > [wince] Linux workstation, and I get the same error. Can you try using > 0.9.7? If you build both Mozilla 0.9.8 and jdk13 from the latest ports, then they work absolutely correctly. If you use recent nightlies or do anything else, then you are on your own. Actually, I sorta doubt that the Linux nightly build includes java since it is a special case (Linux Mozilla includes an entire jre as part of the release. The nightly probably does not include the jre...) /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message