From owner-freebsd-java Sun Oct 8 2:47:35 2000 Delivered-To: freebsd-java@freebsd.org Received: from smtp01.vsnl.net (smtp01.vsnl.net [203.197.12.7]) by hub.freebsd.org (Postfix) with ESMTP id 6AC6837B502 for ; Sun, 8 Oct 2000 02:47:23 -0700 (PDT) Received: from name (PPP-203-197-3-192.bom.vsnl.net.in [203.197.3.192]) by smtp01.vsnl.net (Netscape Messaging Server 4.15) with SMTP id G23V6V02.I0J for ; Sun, 8 Oct 2000 15:17:19 +0530 Message-ID: <000501c0310c$fc8de4a0$c003c5cb@name> From: "Manzar" To: Subject: tutorials Date: Sun, 8 Oct 2000 15:18:58 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org dear sirs, kindly send me complete tutorials thanks Aon Ali To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Oct 8 15:56:51 2000 Delivered-To: freebsd-java@freebsd.org Received: from topperwein.dyndns.org (acs-24-154-28-99.zoominternet.net [24.154.28.99]) by hub.freebsd.org (Postfix) with ESMTP id 7F59D37B502 for ; Sun, 8 Oct 2000 15:56:44 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by topperwein.dyndns.org (8.11.0/8.11.0) with ESMTP id e98MvIr00754 for ; Sun, 8 Oct 2000 18:57:18 -0400 (EDT) (envelope-from behanna@zbzoom.net) Date: Sun, 8 Oct 2000 18:57:18 -0400 (EDT) From: Chris BeHanna Reply-To: behanna@zbzoom.net To: FreeBSD-Java Subject: Re: tutorials In-Reply-To: <000501c0310c$fc8de4a0$c003c5cb@name> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 8 Oct 2000, Manzar wrote: > > dear sirs, > kindly send me complete tutorials > thanks You can access them at http://java.sun.com . -- Chris BeHanna Software Engineer (at yourfit.com) behanna@zbzoom.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 9 6: 5:27 2000 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 120D437B66D for ; Mon, 9 Oct 2000 06:05:24 -0700 (PDT) Received: (from ernst@localhost) by heinz.jollem.com (8.9.3/8.9.3) id PAA07976 for freebsd-java@freebsd.org; Mon, 9 Oct 2000 15:05:06 +0200 (CEST) (envelope-from ernst) Date: Mon, 9 Oct 2000 15:05:05 +0200 From: Ernst de Haan To: FreeBSD Java mailing list Subject: Port for current binary JDK ? Message-ID: <20001009150505.A7933@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I haven't followed the recent developments very close, but can we already ship a binary JDK for FreeBSD or do Nate and Gary still need to sign some papers or so? I hear ppl say that they use the linu-jdk1.2.2 port because the native FreeBSD JDK is not available as a port yet, and that makes me sad ;-( If backup mirrors are needed, you'll know where to find me. :) Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 9 6:48: 1 2000 Delivered-To: freebsd-java@freebsd.org Received: from 4eva.net (4eVa.NET [211.60.20.229]) by hub.freebsd.org (Postfix) with ESMTP id A74C137B503 for ; Mon, 9 Oct 2000 06:47:59 -0700 (PDT) Received: from localhost (masterpc@localhost) by 4eva.net (8.11.0/8.9.3) with ESMTP id e99DlwV99457 for ; Mon, 9 Oct 2000 22:47:59 +0900 (KST) (envelope-from masterpc@4eva.net) Date: Mon, 9 Oct 2000 22:47:58 +0900 (KST) From: Kwi-Hyun Choi To: freebsd-java@freebsd.org Subject: JDK 1.2.2 for FreeBSD Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, >> Ernst de Haan wrote: >> ppl say that they use the linu-jdk1.2.2 port because the native FreeBSD >> JDK is not available as a port yet, and that makes me sad ;-( Why ppl use linux-jdk1.2.2 port ? I compiled jdk1.2.2 for FreeBSD successfully, although that is not safety. (by http://java.freebsd.org) [masterpc@4eva][~]$ java -version java version "1.2.2" Classic VM (build jdk1.2.2-FreeBSD:root:2000/10/06-17:58, green threads, nojit) Then, I have a question. Is there any problem if jdk1.2.2-FreeBSD is available as a port ? I think that it's better way to make jdk1.2.2 as a port although it's not safety. Is that wrong ? I wanna know that what the problem is. -.-a Justin. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 9 6:54:22 2000 Delivered-To: freebsd-java@freebsd.org Received: from veldy.net (w028.z064001117.msp-mn.dsl.cnc.net [64.1.117.28]) by hub.freebsd.org (Postfix) with ESMTP id D354837B66E for ; Mon, 9 Oct 2000 06:54:19 -0700 (PDT) Received: from tdtemp30 (veldy.net [64.1.117.28]) by veldy.net (Postfix) with SMTP id 677CE8C2C; Mon, 9 Oct 2000 08:55:13 -0500 (CDT) Message-ID: <009a01c031f8$65687990$ea6810ac@psinetcs.com> From: "Thomas T. Veldhouse" To: "Kwi-Hyun Choi" , References: Subject: Re: JDK 1.2.2 for FreeBSD Date: Mon, 9 Oct 2000 08:54:07 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Works for me - patch level 10. I also recommend ShuJIT as your JIT. I just had to alter the port Makefile to get it to use JDK1.2.2. No problems with it so far - and it appears to be faster than TYA was. [veldy@fuggle veldy]$ java -version shuJIT for Sun JVM/IA-32 Copyright 1998,1999,2000 by SHUDO Kazuyuki java version "1.2.2" Classic VM (build jdk1.2.2-FreeBSD:veldy:2000/09/05-09:33, green threads, shujit) Tom Veldhouse veldy@veldy.net ----- Original Message ----- From: "Kwi-Hyun Choi" To: Sent: Monday, October 09, 2000 8:47 AM Subject: JDK 1.2.2 for FreeBSD > Hello, > > >> Ernst de Haan wrote: > >> ppl say that they use the linu-jdk1.2.2 port because the native FreeBSD > >> JDK is not available as a port yet, and that makes me sad ;-( > > Why ppl use linux-jdk1.2.2 port ? > > I compiled jdk1.2.2 for FreeBSD successfully, although that is not safety. > (by http://java.freebsd.org) > > [masterpc@4eva][~]$ java -version > java version "1.2.2" > Classic VM (build jdk1.2.2-FreeBSD:root:2000/10/06-17:58, green threads, > nojit) > > Then, > I have a question. > > Is there any problem if jdk1.2.2-FreeBSD is available as a port ? > > I think that it's better way to make jdk1.2.2 as a port although it's not > safety. > > Is that wrong ? > > I wanna know that what the problem is. -.-a > > > Justin. > > > > 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 Mon Oct 9 6:57:45 2000 Delivered-To: freebsd-java@freebsd.org Received: from topperwein.dyndns.org (acs-24-154-28-99.zoominternet.net [24.154.28.99]) by hub.freebsd.org (Postfix) with ESMTP id 06F7737B502 for ; Mon, 9 Oct 2000 06:57:39 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by topperwein.dyndns.org (8.11.0/8.11.0) with ESMTP id e99DwEr03300 for ; Mon, 9 Oct 2000 09:58:15 -0400 (EDT) (envelope-from behanna@zbzoom.net) Date: Mon, 9 Oct 2000 09:58:14 -0400 (EDT) From: Chris BeHanna Reply-To: behanna@zbzoom.net To: FreeBSD-Java Subject: Re: JDK 1.2.2 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 X-Loop: FreeBSD.org On Mon, 9 Oct 2000, Kwi-Hyun Choi wrote: > Hello, > > >> Ernst de Haan wrote: > >> ppl say that they use the linu-jdk1.2.2 port because the native FreeBSD > >> JDK is not available as a port yet, and that makes me sad ;-( > > Why ppl use linux-jdk1.2.2 port ? > > I compiled jdk1.2.2 for FreeBSD successfully, although that is not safety. > (by http://java.freebsd.org) > > [masterpc@4eva][~]$ java -version > java version "1.2.2" > Classic VM (build jdk1.2.2-FreeBSD:root:2000/10/06-17:58, green threads, > nojit) ^^^^^ Yuck. If a JIT is available, it speeds things up by a factor of ten (at least, that's my experience on Linux with the LINPACK benchmark. I don't know if the speedup would be as dramatic or not on FreeBSD, what with the current lack of kernel threads--I'm not bitching, mind you, just observing). > Then, I have a question. > > Is there any problem if jdk1.2.2-FreeBSD is available as a port ? > > I think that it's better way to make jdk1.2.2 as a port although it's not > safety. > > Is that wrong ? > > I wanna know that what the problem is. -.-a There may be licensing issues. -- Chris BeHanna Software Engineer (at yourfit.com) behanna@zbzoom.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 9 8:29:51 2000 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 4B9F737B66F for ; Mon, 9 Oct 2000 08:29:48 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA19690; Mon, 9 Oct 2000 09:29:47 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id JAA19151; Mon, 9 Oct 2000 09:29:47 -0600 (MDT) (envelope-from nate) Date: Mon, 9 Oct 2000 09:29:47 -0600 (MDT) Message-Id: <200010091529.JAA19151@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Ernst de Haan Cc: FreeBSD Java mailing list Subject: Re: Port for current binary JDK ? In-Reply-To: <20001009150505.A7933@c187104187.telekabel.chello.nl> References: <20001009150505.A7933@c187104187.telekabel.chello.nl> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I haven't followed the recent developments very close, but can we > already ship a binary JDK for FreeBSD or do Nate and Gary still need > to sign some papers or so? I think you mean Greg, and yes. I was told Friday that the paperwork should be happening this week, but I'm a slight bit suspicious after the long wait we've had so for. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 9 8:32:20 2000 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 4684137B66C for ; Mon, 9 Oct 2000 08:32:03 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA19742; Mon, 9 Oct 2000 09:32:02 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id JAA19176; Mon, 9 Oct 2000 09:32:01 -0600 (MDT) (envelope-from nate) Date: Mon, 9 Oct 2000 09:32:01 -0600 (MDT) Message-Id: <200010091532.JAA19176@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: behanna@zbzoom.net Cc: FreeBSD-Java Subject: Re: JDK 1.2.2 for FreeBSD In-Reply-To: References: X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I compiled jdk1.2.2 for FreeBSD successfully, although that is not safety. > > (by http://java.freebsd.org) > > > > [masterpc@4eva][~]$ java -version > > java version "1.2.2" > > Classic VM (build jdk1.2.2-FreeBSD:root:2000/10/06-17:58, green threads, > > nojit) > ^^^^^ > Yuck. > > If a JIT is available, it speeds things up by a factor of ten (at > least, that's my experience on Linux with the LINPACK benchmark. I > don't know if the speedup would be as dramatic or not on FreeBSD, what > with the current lack of kernel threads--I'm not bitching, mind you, > just observing). It gives tremendous speedups. As others have pointed out, ShuJIT, OpenJIT,and TYA should all work. Unfortunately (or fortunately, depending on your platform), HotSpot makes some assumptions about native threads that other JIT's don't necessarily make, so much of the speedups are moot when native threads aren't available. > > Is there any problem if jdk1.2.2-FreeBSD is available as a port ? There isn't a binary available, only patches. There's no automated way to 'build' it as a port. Hopefully we'll have binaries sometime in my lifetime. :( Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 9 9:32:53 2000 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id D9DF837B66C for ; Mon, 9 Oct 2000 09:32:39 -0700 (PDT) Received: (from ernst@localhost) by heinz.jollem.com (8.9.3/8.9.3) id SAA09360; Mon, 9 Oct 2000 18:31:53 +0200 (CEST) (envelope-from ernst) Date: Mon, 9 Oct 2000 18:31:52 +0200 From: Ernst de Haan To: Nate Williams Cc: FreeBSD Java mailing list Subject: Re: Port for current binary JDK ? Message-ID: <20001009183152.A9258@c187104187.telekabel.chello.nl> References: <20001009150505.A7933@c187104187.telekabel.chello.nl> <200010091529.JAA19151@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200010091529.JAA19151@nomad.yogotech.com>; from nate@yogotech.com on Mon, Oct 09, 2000 at 09:29:47AM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hey N8, Nate Williams wrote: > > I haven't followed the recent developments very close, but can we > > already ship a binary JDK for FreeBSD or do Nate and Gary still need > > to sign some papers or so? > > I think you mean Greg, and yes. I was told Friday that the paperwork > should be happening this week, but I'm a slight bit suspicious after the > long wait we've had so for. Yeah I did mean "Greg" :) Sorry Greg! And I think you mean "far" not "for" =P Okay, but this is good news. I'm looking forward to a port. I must say that I find the JDK I'm using (ps 9) very stable. I've used it for a couple of months, without any problems. And Swing apps are *much* faster than on Blackdown 1.2.2 RC3, but about the same speed as on the Sun Linux 1.3.0 JDK (pre-release). I assume a native FreeBSD JDK 1.3 might give us a major performance increase then :) I run all JDKs without a JIT. Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 9 9:36:39 2000 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 3492837B502 for ; Mon, 9 Oct 2000 09:36:37 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA21499; Mon, 9 Oct 2000 10:36:35 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA19550; Mon, 9 Oct 2000 10:36:34 -0600 (MDT) (envelope-from nate) Date: Mon, 9 Oct 2000 10:36:34 -0600 (MDT) Message-Id: <200010091636.KAA19550@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Ernst de Haan Cc: Nate Williams , FreeBSD Java mailing list Subject: Re: Port for current binary JDK ? In-Reply-To: <20001009183152.A9258@c187104187.telekabel.chello.nl> References: <20001009150505.A7933@c187104187.telekabel.chello.nl> <200010091529.JAA19151@nomad.yogotech.com> <20001009183152.A9258@c187104187.telekabel.chello.nl> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > I haven't followed the recent developments very close, but can we > > > already ship a binary JDK for FreeBSD or do Nate and Gary still need > > > to sign some papers or so? > > > > I think you mean Greg, and yes. I was told Friday that the paperwork > > should be happening this week, but I'm a slight bit suspicious after the > > long wait we've had so for. > > Yeah I did mean "Greg" :) Sorry Greg! And I think you mean "far" not "for" =P Urk. > Okay, but this is good news. I'm looking forward to a port. I must say > that I find the JDK I'm using (ps 9) very stable. I've used it for a > couple of months, without any problems. And Swing apps are *much* > faster than on Blackdown 1.2.2 RC3 That's *probably* because of the *LACK* of JIT. Try disabling the JIT on Blackdown and/or Sun's JVM before running it and be suprised. (And I'm being serious here. Swing apps and the JIT tend to be at odds, for JDK1.2. JDK1.3 is supposedly better with HotSpot, although I have no direct experience to verify that.) > I assume a native FreeBSD JDK 1.3 might give us a major performance > increase then :) I run all JDKs without a JIT. Hmm, I'm actually suprised that the Linux JVM's are that much slower on Swing apps w/out a JIT. Are you *SURE* there is no JIT being used? Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 9 9:58:38 2000 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 0422737B66E for ; Mon, 9 Oct 2000 09:58:32 -0700 (PDT) Received: (from ernst@localhost) by heinz.jollem.com (8.9.3/8.9.3) id SAA09578; Mon, 9 Oct 2000 18:57:44 +0200 (CEST) (envelope-from ernst) Date: Mon, 9 Oct 2000 18:57:39 +0200 From: Ernst de Haan To: Nate Williams Cc: FreeBSD Java mailing list Subject: Re: Port for current binary JDK ? Message-ID: <20001009185738.A9402@c187104187.telekabel.chello.nl> References: <20001009150505.A7933@c187104187.telekabel.chello.nl> <200010091529.JAA19151@nomad.yogotech.com> <20001009183152.A9258@c187104187.telekabel.chello.nl> <200010091636.KAA19550@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200010091636.KAA19550@nomad.yogotech.com>; from nate@yogotech.com on Mon, Oct 09, 2000 at 10:36:34AM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Nate, > > Okay, but this is good news. I'm looking forward to a port. I must say > > that I find the JDK I'm using (ps 9) very stable. I've used it for a > > couple of months, without any problems. And Swing apps are *much* > > faster than on Blackdown 1.2.2 RC3 > > That's *probably* because of the *LACK* of JIT. Try disabling the JIT > on Blackdown and/or Sun's JVM before running it and be suprised. Well, I *did* :) > (And I'm being serious here. Swing apps and the JIT tend to be at odds, > for JDK1.2. JDK1.3 is supposedly better with HotSpot, although I have > no direct experience to verify that.) > > > I assume a native FreeBSD JDK 1.3 might give us a major performance > > increase then :) I run all JDKs without a JIT. > > Hmm, I'm actually suprised that the Linux JVM's are that much slower on > Swing apps w/out a JIT. Are you *SURE* there is no JIT being used? I'm pretty sure: bash-2.04$ set | grep JAVA_COMPILER JAVA_COMPILER=NONE I included this in my .profile, and I always use bash. For the native FreeBSD JDK I get: bash-2.04$ echo $JAVA_HOME && java -version /home/ernst/prg/freebsd-jdk-1.2.2ps9 java version "1.2.2" Classic VM (build jdk1.2.2-FreeBSD:ernst:2000/06/17-02:21, green threads, nojit) For the Linux JDK from the ports: bash-2.04$ echo $JAVA_HOME && java -version /usr/local/linux-jdk1.2.2 java version "1.2.2" Classic VM (build Linux_JDK_1.2.2_RC4, green threads, nojit) For the Sun Linux 1.3 JDK (pre-release): bash-2.04$ echo $JAVA_HOME && java -version /home/ernst/prg/sun-jdk-linux-1.3 java version "1.3.0beta_refresh" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta_refresh-b09) Classic VM (build 1.3.0beta_refresh-b09, green threads, nojit) :-) -- Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Oct 9 21:16:55 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id D14E637B503 for ; Mon, 9 Oct 2000 21:16:50 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id NAA85401; Tue, 10 Oct 2000 13:46:18 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200010100416.NAA85401@ares.trc.adelaide.edu.au> Subject: Re: JDK 1.2.2 for FreeBSD In-Reply-To: <200010091532.JAA19176@nomad.yogotech.com> from Nate Williams at "Oct 9, 2000 09:32:01 am" To: Nate Williams Date: Tue, 10 Oct 2000 13:46:18 +0930 (CST) Cc: behanna@zbzoom.net, FreeBSD-Java , K.J.Koster@kpn.com X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nate Williams wrote: > > > Is there any problem if jdk1.2.2-FreeBSD is available as a port ? > > There isn't a binary available, only patches. There's no automated way > to 'build' it as a port. Hopefully we'll have binaries sometime in my > lifetime. :( Somebody _could_ do a source code based port though. There are examples in the tree of ports which require people to go and download the source code as they need to click on a license to get it. That said, there are some things to note: 1. There will hopefully be a binary port soon. 2. The port would have, as a prerequisite, installing the Linux JDK so it could bootstrap the compilation. This seems kinda silly from some perspectives :). 3. You _might_ run into the InvokerGen problem as you have to bootstrap with the Linux JDK. In terms of our JDK ports in general, some clever soul may wish to submit patches for the linux-jdk port which updates from the Blackdown RC4 to the Blackdown FCS release. In fact, I should probably do this myself since I've got it working happily at home. In fact, you don't even need to be very clever, as the patches are quite easy :). Hmmm, looking at port's Makefile I'm wondering why there is a RUN_DEPENDS line that features the Linux libc.so.5 when we're installing a glibc2 binary? Kees Jan? - Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 11 0: 5:27 2000 Delivered-To: freebsd-java@freebsd.org Received: from home.se (smtphost2.home.se [195.66.35.198]) by hub.freebsd.org (Postfix) with ESMTP id F27D937B503 for ; Wed, 11 Oct 2000 00:05:24 -0700 (PDT) Received: from home.se [194.52.130.37] by home.se with Novonyx SMTP Server $Revision: 2.53 $; Wed, 11 Oct 2000 09:04:46 +0200 (ECTD) Message-ID: <39E41125.438EA5FD@home.se> Date: Wed, 11 Oct 2000 09:05:09 +0200 From: Henrik Nilsson Organization: West AB X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.1-STABLE i386) X-Accept-Language: sv, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: native java on freebsd Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! I'd really like to know how to acces the full potential of jni in FreeBSD. I just can't seem to get it to work... with linux-jdk1.2.2 you can't read the correct lib-file. (I suppose it wants a linux shared library) with jdk1.1.8 it can't find it, and I haven't found any documentation on where to put the location information about the lib-file. I'd be thankful for any help possible, if you know some links with information about this, please don't hesitate to send them instantly =) regards, Henrik Nilsson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 11 0:22:23 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 48E7537B503 for ; Wed, 11 Oct 2000 00:22:20 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id QAA99360; Wed, 11 Oct 2000 16:52:11 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200010110722.QAA99360@ares.trc.adelaide.edu.au> Subject: Re: native java on freebsd In-Reply-To: <39E41125.438EA5FD@home.se> from Henrik Nilsson at "Oct 11, 2000 09:05:09 am" To: Henrik Nilsson Date: Wed, 11 Oct 2000 16:52:11 +0930 (CST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Henrik Nilsson wrote: > I'd really like to know how to acces the full potential of jni in > FreeBSD. > I just can't seem to get it to work... > with linux-jdk1.2.2 you can't read the correct lib-file. (I suppose it > wants a linux shared library) It does indeed. You can make one for it if you install the linux_devtools port and use the version of gcc contained in there. Alternatively I guess you could build a linux cross-compiler from the gcc source code, but that sounds way too keen to me :). > with jdk1.1.8 it can't find it, and I haven't found any documentation on > where to put the location information about the lib-file. The environment variable LD_LIBRARY_PATH needs to contain the path where the shared library can be found. HTH! - Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 11 1:56:13 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id F342A37B66D for ; Wed, 11 Oct 2000 01:56:08 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id SAA00169; Wed, 11 Oct 2000 18:25:58 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200010110855.SAA00169@ares.trc.adelaide.edu.au> Subject: Re: Re: native java on freebsd In-Reply-To: <200010110812.e9B8CEY31034@mail.west.se> from Henrik Nilsson at "Oct 11, 2000 10:10:59 am" To: Henrik.Nilsson@west.se Date: Wed, 11 Oct 2000 18:25:58 +0930 (CST) Cc: freebsd-java@freebsd.org X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Henrik Nilsson wrote: > > The environment variable LD_LIBRARY_PATH needs to contain the path where > > the shared library can be found. > > > > HTH! > > It shared some light on the matter, but things still looks a bit hazy =) > > I have put the libhello.so (a simple hello world printout thingy) in > /usr/lib and it actually seems to find it. (because when I remove it I get > cannot find libhello.so error) Note what I said about LD_LIBRARY_PATH above. There is of course, the other option, which you took, of placing the library into a system directory which is searched for shared libraries as well. But in general you'll have to set up LD_LIBRARY_PATH to include the directory where your shared library resides. > but if I follow the compile instructions from the jni tutorial on > javasoft.com, it just doesn't work. I don't know what those instructions are off hand. You need to compile a shared library is the only requirement. If the JNI tutorial has appropriate instructions for doing so with gcc then you should be ok. It should be something like: gcc -o libhello.so -shared -fpic hello.c > The error I get is:"/usr/lib/libhello.so: unsupported file type > (libhello.so)" Determine if its actually a shared library. The 'file' command is your friend. E.g., # file /usr/lib/libc.so.4 /usr/lib/libc.so.4: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), stripped > Maybe I haven't compiled it properly, have any thoughts on that? See above. - Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 11 8:34: 2 2000 Delivered-To: freebsd-java@freebsd.org Received: from nest.irfu.se (nest.irfu.se [130.238.30.40]) by hub.freebsd.org (Postfix) with ESMTP id E790437B502 for ; Wed, 11 Oct 2000 08:33:59 -0700 (PDT) Received: from localhost (yuri@localhost) by nest.irfu.se (8.9.3/8.9.3) with ESMTP id RAA10911 for ; Wed, 11 Oct 2000 17:33:53 +0200 (CEST) (envelope-from yuri@irfu.se) X-Authentication-Warning: nest.irfu.se: yuri owned process doing -bs Date: Wed, 11 Oct 2000 17:33:53 +0200 (CEST) From: Yuri Khotyaintsev To: freebsd-java@freebsd.org Subject: swing.jar Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all! I want to create a binary package of our program (http://ovt.irfu.se) for FreeBSD. So the question is if I can include swing.jar in it? Are there any license limitations ? Yuri Khotyaintsev Swedish Institute of Space Physics, Uppsala Division, Box 537, S-75121 Uppsala http://cluster.irfu.se/yuri mailto:Yuri.Khotyaintsev@irfu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 11 8:46:24 2000 Delivered-To: freebsd-java@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id 2046B37B66C for ; Wed, 11 Oct 2000 08:46:22 -0700 (PDT) Received: from kingdom.adaptec.com (kingdom.adaptec.com [162.62.50.10]) by magic.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id IAA25641; Wed, 11 Oct 2000 08:44:13 -0700 (PDT) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [162.62.64.10]) by kingdom.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id IAA16266; Wed, 11 Oct 2000 08:44:12 -0700 (PDT) Received: from btcexc01.btc.adaptec.com (btcexc01 [162.62.147.10]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id JAA20597; Wed, 11 Oct 2000 09:43:58 -0600 (MDT) Received: by btcexc01.btc.adaptec.com with Internet Mail Service (5.5.2650.21) id <44JJKZZX>; Wed, 11 Oct 2000 09:44:10 -0600 Message-ID: <3E0B8684A39BD411BB560000D11ABE9206E7F5@btcexc01.btc.adaptec.com> From: "Long, Scott" To: "'Greg Lewis'" , Henrik.Nilsson@west.se Cc: freebsd-java@freebsd.org Subject: RE: Re: native java on freebsd Date: Wed, 11 Oct 2000 09:44:10 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Speaking as someone who is supporting Java/JNI of FreeBSD for a commercial app, putting JNI's into a path already named by ldconfig (/usr/local/lib, for example) has yielded the best results. Scott -----Original Message----- From: Greg Lewis [mailto:glewis@trc.adelaide.edu.au] Sent: Wednesday, October 11, 2000 2:56 AM To: Henrik.Nilsson@west.se Cc: freebsd-java@freebsd.org Subject: Re: Re: native java on freebsd Henrik Nilsson wrote: > > The environment variable LD_LIBRARY_PATH needs to contain the path where > > the shared library can be found. > > > > HTH! > > It shared some light on the matter, but things still looks a bit hazy =) > > I have put the libhello.so (a simple hello world printout thingy) in > /usr/lib and it actually seems to find it. (because when I remove it I get > cannot find libhello.so error) Note what I said about LD_LIBRARY_PATH above. There is of course, the other option, which you took, of placing the library into a system directory which is searched for shared libraries as well. But in general you'll have to set up LD_LIBRARY_PATH to include the directory where your shared library resides. > but if I follow the compile instructions from the jni tutorial on > javasoft.com, it just doesn't work. I don't know what those instructions are off hand. You need to compile a shared library is the only requirement. If the JNI tutorial has appropriate instructions for doing so with gcc then you should be ok. It should be something like: gcc -o libhello.so -shared -fpic hello.c > The error I get is:"/usr/lib/libhello.so: unsupported file type > (libhello.so)" Determine if its actually a shared library. The 'file' command is your friend. E.g., # file /usr/lib/libc.so.4 /usr/lib/libc.so.4: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), stripped > Maybe I haven't compiled it properly, have any thoughts on that? See above. - Greg 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 Wed Oct 11 8:49:47 2000 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 D1E3037B66C for ; Wed, 11 Oct 2000 08:49:42 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA13276; Wed, 11 Oct 2000 09:49:41 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id JAA21149; Wed, 11 Oct 2000 09:49:40 -0600 (MDT) (envelope-from nate) Date: Wed, 11 Oct 2000 09:49:40 -0600 (MDT) Message-Id: <200010111549.JAA21149@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Yuri Khotyaintsev Cc: freebsd-java@FreeBSD.ORG Subject: Re: swing.jar In-Reply-To: References: X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I want to create a binary package of our program (http://ovt.irfu.se) > for FreeBSD. So the question is if I can include swing.jar in it? > Are there any license limitations ? You need to speak with Sun for legal advice, but as I understand it (I'm no lawyer), it shouldn't be an issue. However, if you use newer versions of the JDK/JRE (1.2 or later), Swing is included as part of the base package. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 13 1:44:42 2000 Delivered-To: freebsd-java@freebsd.org Received: from server.guest.net (pool1-01.adhoc.net [194.244.173.193]) by hub.freebsd.org (Postfix) with ESMTP id 0E01837B502 for ; Fri, 13 Oct 2000 01:44:39 -0700 (PDT) Received: from guest2 (guest2.guest.net [195.103.69.131]) by server.guest.net (8.8.8/8.8.8) with SMTP id KAA13765 for ; Fri, 13 Oct 2000 10:54:56 +0200 (CEST) (envelope-from staff@guest.net) From: "Fabio Tonti" To: Subject: java (jdk) problems Date: Fri, 13 Oct 2000 10:47:13 +0200 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.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I have the problem that when I start a java programm with java javaprogramm the system replys (always) /usr/libexec/ld-elf.so.1: Shared object "libxpg4.so.2" not found I have jdk.1.1.8 succesfully installed on my freebsd 4.1 stable I also installed port /usr/ports/x11/XFree86-aoutlibs successfully! Who can help me? Ciao, ------------------------------------------- dott. Fabio Tonti staff GUEST 0541 60.64.60 0541 692.093 WWW.GUEST.NET - WWW.MEDIACOM.SM ------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 13 9:14:29 2000 Delivered-To: freebsd-java@freebsd.org Received: from blizzard.sabbo.net (blizzard.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 9B55537B66F; Fri, 13 Oct 2000 09:11:59 -0700 (PDT) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.109]) by blizzard.sabbo.net (8.10.1/8.10.1) with ESMTP id e9DGDrm03824; Fri, 13 Oct 2000 19:13:57 +0300 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.0/8.9.3) with ESMTP id e9DGBpU52600; Fri, 13 Oct 2000 19:11:51 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <39E73443.848834FE@FreeBSD.org> Date: Fri, 13 Oct 2000 19:11:48 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: java@FreeBSD.org, ports@FreeBSD.org, Kees Jan Koster , nate@FreeBSD.org Subject: Native JDK1.2.2 port Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi folks, I would like to inform you that I created skeleton for building native jdk1.2.2 and put it into official ports collection (java/jdk12-beta). This port is expected to make building/installation of jdk significantly easier, so the user would only need to d/l appropriate files (jdk sources from Sun and FreeBSD patchset), put it into usual place and do make install. I will appreciate any comments/patches/suggestions etc. about this port. Also it would be nice if someone will insert appropriate news entry onto FreeBSD Java pages, as well as update appropriate building instructions. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 13 9:24:31 2000 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 38D8E37B66C; Fri, 13 Oct 2000 09:24:26 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA01307; Fri, 13 Oct 2000 10:24:23 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA08053; Fri, 13 Oct 2000 10:24:22 -0600 (MDT) (envelope-from nate) Date: Fri, 13 Oct 2000 10:24:22 -0600 (MDT) Message-Id: <200010131624.KAA08053@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Maxim Sobolev Cc: java@FreeBSD.org, ports@FreeBSD.org, Kees Jan Koster , nate@FreeBSD.org Subject: Re: Native JDK1.2.2 port In-Reply-To: <39E73443.848834FE@FreeBSD.org> References: <39E73443.848834FE@FreeBSD.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I would like to inform you that I created skeleton for building native > jdk1.2.2 and put it into official ports collection (java/jdk12-beta). Thanks! > Also it would be nice if someone will insert appropriate news entry > onto FreeBSD Java pages, as well as update appropriate building > instructions. That would be Patrick's ball. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 13 10:10:20 2000 Delivered-To: freebsd-java@freebsd.org Received: from toyland.drapple.com (toyland.drapple.com [204.200.26.114]) by hub.freebsd.org (Postfix) with ESMTP id 5400137B670; Fri, 13 Oct 2000 10:10:18 -0700 (PDT) Received: from freebsd.org (bet-su5-23.itg.discovery.com [198.147.13.23]) by toyland.drapple.com (8.9.3/8.9.3) with ESMTP id KAA01719; Fri, 13 Oct 2000 10:10:17 -0700 (PDT) (envelope-from patrick@freebsd.org) Message-ID: <39E741F7.3CFC2C94@freebsd.org> Date: Fri, 13 Oct 2000 17:10:15 +0000 From: Patrick Gardella Organization: FreeBSD X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Maxim Sobolev , java@freebsd.org Subject: Re: Native JDK1.2.2 port References: <39E73443.848834FE@FreeBSD.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Maxim Sobolev wrote: > Also it would be nice if > someone will insert appropriate news entry onto FreeBSD Java pages, as well as > update appropriate building instructions. Will do! Patrick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 13 15:33:14 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 6EC3337B66D; Fri, 13 Oct 2000 15:33:05 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id IAA31033; Sat, 14 Oct 2000 08:03:01 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200010132233.IAA31033@ares.trc.adelaide.edu.au> Subject: Re: Native JDK1.2.2 port In-Reply-To: <39E73443.848834FE@FreeBSD.org> from Maxim Sobolev at "Oct 13, 2000 07:11:48 pm" To: Maxim Sobolev Date: Sat, 14 Oct 2000 08:03:01 +0930 (CST) Cc: java@FreeBSD.ORG, ports@FreeBSD.ORG, Kees Jan Koster , nate@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I would like to inform you that I created skeleton for building native jdk1.2.2 > and put it into official ports collection (java/jdk12-beta). This port is > expected to make building/installation of jdk significantly easier, so the user > would only need to d/l appropriate files (jdk sources from Sun and FreeBSD > patchset), put it into usual place and do make install. I will appreciate any > comments/patches/suggestions etc. about this port. Also it would be nice if > someone will insert appropriate news entry onto FreeBSD Java pages, as well as > update appropriate building instructions. Great work Maxim! Here are some comments, but please consider them in terms of me not knowing all that much about the ports system though :). 1. There is a mirror for the patchsets (kindly provided by Edward Wolpert) at http://java2.freebsd.methodsystems.com/java/jdk.html 2. In the RUN_DPEENDS you have ${X11BASE}/lib/X11/fonts/URW/fonts.dir:${PORTSDIR}/x11-fonts/urwfonts They are only required if you install the optional font.properties file that come with the patchset (although I think I may have accidentally left it out of patchset 10, let me check that). 3. As further enhancements you might want to add a couple of options: WITH_DPS: This might be complicated since people need at least XFree86-4-libraries installed. However, if they've done this they need to have put stuff in a non-standard place unless they have the whole of XFree86-4 installed. So really the dependency is XFree86-4. You'd then need something like this in MAKE_ENV MAKE_ENV= ALT_BOOTDIR="${JDK12DIR}" \ .if defined(WITH_DPS) HAVE_DPS="yes" \ ALT_DPS_DIR="${X11BASE}" \ .else HAVE_DPS="no" \ .endif WITH_JPDA: If people want the JPDA functionality they can download some extra code. This is needed for things like JBuilder. Let me think how we could do that well. Will get in touch about it. I think I need to do version 2 of the JPDA patches first, or maybe just incorporate it all into the JDK patchset. Hmmm. WITH_LESSTIF: Some people might want to build with Lesstif instead of Open Motif, although that would be a bad choice in general since Lesstif currently exhibits more graphics problems. 4. Should there also be a jre12-beta port which uses this port but installs from the JRE image directory instead of the JDK image directory? 5. Could there be a post-install notice suggesting people may want to consider installing one of the JITs? Do the current JIT ports work with your new JDK 1.2.2 port? This is terrific. Thank you so much! Now, everybody submit your favourite JDK 1.2 based ports! - Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 13 16: 6: 6 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id E566837B671; Fri, 13 Oct 2000 16:05:59 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id IAA31420; Sat, 14 Oct 2000 08:35:53 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200010132305.IAA31420@ares.trc.adelaide.edu.au> Subject: Re: Native JDK1.2.2 port In-Reply-To: <200010132233.IAA31033@ares.trc.adelaide.edu.au> from Greg Lewis at "Oct 14, 2000 08:03:01 am" To: Greg Lewis Date: Sat, 14 Oct 2000 08:35:53 +0930 (CST) Cc: Maxim Sobolev , java@FreeBSD.ORG, ports@FreeBSD.ORG, Kees Jan Koster , nate@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org D'oh. One more comment. This port is i386 only for the moment. We need some assembler code written to make the Alpha work. - Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Oct 14 5: 6:36 2000 Delivered-To: freebsd-java@freebsd.org Received: from blizzard.sabbo.net (blizzard.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 9B7F737B502; Sat, 14 Oct 2000 05:06:27 -0700 (PDT) Received: from vic.sabbo.net (root@[193.193.218.96]) by blizzard.sabbo.net (8.10.1/8.10.1) with ESMTP id e9EC8JY10147; Sat, 14 Oct 2000 15:08:20 +0300 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.0/8.9.3) with ESMTP id e9EC6Di00340; Sat, 14 Oct 2000 15:06:13 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <39E84C34.111ACBEE@FreeBSD.org> Date: Sat, 14 Oct 2000 15:06:12 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Greg Lewis Cc: java@FreeBSD.org, ports@FreeBSD.org, Kees Jan Koster , nate@FreeBSD.org Subject: Re: Native JDK1.2.2 port References: <200010132233.IAA31033@ares.trc.adelaide.edu.au> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greg Lewis wrote: > > I would like to inform you that I created skeleton for building native jdk1.2.2 > > and put it into official ports collection (java/jdk12-beta). This port is > > expected to make building/installation of jdk significantly easier, so the user > > would only need to d/l appropriate files (jdk sources from Sun and FreeBSD > > patchset), put it into usual place and do make install. I will appreciate any > > comments/patches/suggestions etc. about this port. Also it would be nice if > > someone will insert appropriate news entry onto FreeBSD Java pages, as well as > > update appropriate building instructions. > > Great work Maxim! > > Here are some comments, but please consider them in terms of me not > knowing all that much about the ports system though :). > > [...] > > This is terrific. Thank you so much! > > Now, everybody submit your favourite JDK 1.2 based ports! Greg, thank you for comments. I'll considering them to enhance the port. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message