From owner-freebsd-java Sun Oct 31 1:14:18 1999 Delivered-To: freebsd-java@freebsd.org Received: from smtppop2.gte.net (smtppop2.gte.net [207.115.153.21]) by hub.freebsd.org (Postfix) with ESMTP id E3FBD14D0E for ; Sun, 31 Oct 1999 01:14:09 -0800 (PST) (envelope-from gianluca.torta@gte.net) Received: from pongo (1Cust236.tnt4.redmond.wa.da.uu.net [63.23.202.236]) by smtppop2.gte.net with SMTP ; id DAA10149062 Sun, 31 Oct 1999 03:11:32 -0600 (CST) Message-ID: <001001bf2334$a3e79d00$ecca173f@pongo> From: "Gianluca Torta" To: "Nate Williams" Cc: Subject: R: Undefined symbol gmtime_r with jdk1.1.8 Date: Sat, 30 Oct 1999 17:12:34 -0700 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 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org first of all thanks for the reply Nate. I'm brand new to jdk, and unfortunately not yet an expert of FreeBSD too, so I may have misinterpreted the error. here's exactly what I get when I run, for example, jar: /usr/libexec/ld-elf.so.1: /usr/local/jdk1.1.8/lib/i386/green_threads/libjava.so: Undefined symbol "gmtime_r" I cleaned my LD_LIBRARY_PATH of jdk info as you suggested, but this doesn't change the behavior. moreover, I added echo statments in .java-wrapper to display the (script-set) CLASSPATH and LD_LIBRARY_PATH just before calling the binary, and the jdk directories have been added correctly by the script. any further suggestion would be much appreciated! thanks Gianluca -----Messaggio originale----- Da: Nate Williams A: Gianluca Torta Cc: freebsd-java@FreeBSD.ORG Data: Saturday, October 30, 1999 8:21 AM Oggetto: Re: Undefined symbol gmtime_r with jdk1.1.8 >> My PATH, CLASSPATH and dynamic library search path (ldconfig -r) seem to be >> set correctly, and in particular, libc_r.so (which contains gmtime_r symbol) >> is in the search path for .so >> Ah... one more information: since I use FreeBSD3.0, I'm using the elf >> version of jdk binaries. > >Sounds like LD_LIBRARY_PATH is setup incorrectly. Note, it should not >be setup at all for running the JDK, the scripts set it up for you. > >The symbol gmtime_r is *NOT* gotten out of any of the standard libraries >(such as libc_r), but is part of the java libraries. We don't use >libc_r for *ANYTHING*, and if the symbols are pulled out of it then >something is wrong in your setup. > >Also, ldconfig should't be pointed to any of the JDK libraries or JDK >library directories, again because the scripts do this already the right >way. > > > > >Nate > > >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 Sun Oct 31 5:57: 9 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 96E4915012 for ; Sun, 31 Oct 1999 05:57:04 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id GAA02672; Sun, 31 Oct 1999 06:57:03 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id GAA11642; Sun, 31 Oct 1999 06:57:01 -0700 Date: Sun, 31 Oct 1999 06:57:01 -0700 Message-Id: <199910311357.GAA11642@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Gianluca Torta" Cc: "Nate Williams" , Subject: Re: R: Undefined symbol gmtime_r with jdk1.1.8 In-Reply-To: <001001bf2334$a3e79d00$ecca173f@pongo> References: <001001bf2334$a3e79d00$ecca173f@pongo> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > first of all thanks for the reply Nate. > I'm brand new to jdk, and unfortunately not yet an expert of FreeBSD too, so > I may have misinterpreted the error. here's exactly what I get when I run, > for example, jar: > > /usr/libexec/ld-elf.so.1: > /usr/local/jdk1.1.8/lib/i386/green_threads/libjava.so: Undefined symbol > "gmtime_r" > > I cleaned my LD_LIBRARY_PATH of jdk info as you suggested, but this doesn't > change the behavior. > moreover, I added echo statments in .java-wrapper to display the > (script-set) CLASSPATH and LD_LIBRARY_PATH just before calling the binary, > and the jdk directories have been added correctly by the script. > > any further suggestion would be much appreciated! Try using the a.out version instead of the ELF version. FreeBSD 3.0/3.1 were released in the middle of the ELF/a.out switchover, so the ELF support wasn't quite 'up to snuff' yet. The other choice is to try and grab libc.so from a 3.3-stable system and install it on your box to see if that helps... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Oct 31 15:36:34 1999 Delivered-To: freebsd-java@freebsd.org Received: from mta02.onebox.com (mta02.onebox.com [216.33.158.209]) by hub.freebsd.org (Postfix) with ESMTP id 21B4514EE0 for ; Sun, 31 Oct 1999 15:36:22 -0800 (PST) (envelope-from onedave@onebox.com) Received: from onebox.com ([216.33.158.156]) by mta02.onebox.com (InterMail v4.01.01.07 201-229-111-110) with SMTP id <19991031233620.VIIW19495.mta02@onebox.com> for ; Sun, 31 Oct 1999 15:36:20 -0800 From: "dave howard" To: freebsd-java@freebsd.org Subject: JNI error involving mmap Reply-To: dave howard Date: Sun, 31 Oct 1999 23:38:10 GMT Message-Id: <19991031233620.VIIW19495.mta02@onebox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi all - i am porting a java application that uses JNI to freeBSD. i get an error in System.loadLibrary( "MyLib" ) that looks like this: mmap returned wrong address: wanted 0x8048000, got 0x29274000 (libMyLib.so) which causes the load to fail and results in an UnsatisfiedLinkError. i have verified that the functions in the library work if i put a main in the lib and run it standalone... anyone seen this before or have any ideas? thanks! dave. -- dave howard __________________________________________________ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Oct 31 15:43:43 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id C463F14ECA for ; Sun, 31 Oct 1999 15:43:33 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id QAA06829; Sun, 31 Oct 1999 16:43:30 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id QAA12908; Sun, 31 Oct 1999 16:43:30 -0700 Date: Sun, 31 Oct 1999 16:43:30 -0700 Message-Id: <199910312343.QAA12908@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: dave howard Cc: freebsd-java@FreeBSD.ORG Subject: Re: JNI error involving mmap In-Reply-To: <19991031233620.VIIW19495.mta02@onebox.com> References: <19991031233620.VIIW19495.mta02@onebox.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > i am porting a java application that uses JNI to freeBSD. i get an error in System.loadLibrary( "MyLib" ) that looks like this: > > mmap returned wrong address: wanted 0x8048000, got 0x29274000 (libMyLib.so) Is your shared library compiled as Position Indepedant Code? (-pic) It must be for it to be able to load at any address in the system... (I don't familiar with all of the compiler flags necessary to build a JNI library, but I'm sure someone who has done it can jump and help out here....) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Oct 31 16:32:29 1999 Delivered-To: freebsd-java@freebsd.org Received: from mta02.onebox.com (mta02.onebox.com [216.33.158.209]) by hub.freebsd.org (Postfix) with ESMTP id 5F25414F9F for ; Sun, 31 Oct 1999 16:32:26 -0800 (PST) (envelope-from onedave@onebox.com) Received: from onebox.com ([216.33.158.157]) by mta02.onebox.com (InterMail v4.01.01.07 201-229-111-110) with SMTP id <19991101003226.VJYK19495.mta02@onebox.com>; Sun, 31 Oct 1999 16:32:26 -0800 From: "dave howard" To: nate@mt.sri.com (Nate Williams) Cc: freebsd-java@FreeBSD.ORG Subject: Re: JNI error involving mmap Reply-To: dave howard Date: Mon, 01 Nov 1999 00:30:28 GMT Message-Id: <19991101003226.VJYK19495.mta02@onebox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi nate - thanks for the tip. i had not been compiling with the PIC option as you suggest, however doing it that way seems to have no effect on the error i'm getting. any other ideas? thanks! dave. ---- Nate Williams wrote: > > i am porting a java application that uses JNI to freeBSD. i get an error in System.loadLibrary( "MyLib" ) that looks like this: > > > > mmap returned wrong address: wanted 0x8048000, got 0x29274000 (libMyLib.so) > > Is your shared library compiled as Position Indepedant Code? (-pic) > > It must be for it to be able to load at any address in the system... > > (I don't familiar with all of the compiler flags necessary to build a JNI > library, but I'm sure someone who has done it can jump and help out > here....) > > > > Nate > __________________________________________________ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Oct 31 16:45:53 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 6ECD814C24 for ; Sun, 31 Oct 1999 16:45:50 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id RAA07361; Sun, 31 Oct 1999 17:45:49 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id RAA13238; Sun, 31 Oct 1999 17:45:48 -0700 Date: Sun, 31 Oct 1999 17:45:48 -0700 Message-Id: <199911010045.RAA13238@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: dave howard Cc: nate@mt.sri.com (Nate Williams), freebsd-java@FreeBSD.ORG Subject: Re: JNI error involving mmap In-Reply-To: <19991101003226.VJYK19495.mta02@onebox.com> References: <19991101003226.VJYK19495.mta02@onebox.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > thanks for the tip. i had not been compiling with the PIC option as > you suggest, however doing it that way seems to have no effect on the > error i'm getting. any other ideas? You also need to give the linker a bunch of flags to build a correctly functioning shlib, but as I said before, someone else may know the magic incantation. I'm 99% positive you shared library is in-correct, and -pic as well as a number of other options must be used to get a correctly function shlib. You might look in the archives to see if someone posted instructions. I seem to remember an example of this somewhere in the archive... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Oct 31 17:53:17 1999 Delivered-To: freebsd-java@freebsd.org Received: from renoir.op.net (renoir.op.net [209.152.193.4]) by hub.freebsd.org (Postfix) with ESMTP id 6AA5E15012 for ; Sun, 31 Oct 1999 17:53:05 -0800 (PST) (envelope-from asudell@mail.Op.Net) Received: from vega.sudell.org (d-bm6-05.ppp.op.net [209.152.206.5]) by renoir.op.net (o1/$Revision: 1.18 $) with ESMTP id UAA00598; Sun, 31 Oct 1999 20:53:02 -0500 (EST) Received: (from asudell@localhost) by vega.sudell.org (8.9.2/8.9.2) id UAA00438; Sun, 31 Oct 1999 20:52:57 -0500 (EST) (envelope-from asudell@mail.Op.Net) From: "Andrew B. Sudell" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 31 Oct 1999 20:52:54 -0500 (EST) To: dave howard Cc: freebsd-java@FreeBSD.ORG Subject: Re: JNI error involving mmap In-Reply-To: <199911010045.RAA13238@mt.sri.com> References: <19991101003226.VJYK19495.mta02@onebox.com> <199911010045.RAA13238@mt.sri.com> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14364.61066.826599.262962@vega.sudell.org> Reply-To: asudell@acm.org Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nate Williams writes: > > thanks for the tip. i had not been compiling with the PIC option as > > you suggest, however doing it that way seems to have no effect on the > > error i'm getting. any other ideas? > > You also need to give the linker a bunch of flags to build a correctly > functioning shlib, but as I said before, someone else may know the magic > incantation. > > I'm 99% positive you shared library is in-correct, and -pic as well as a > number of other options must be used to get a correctly function shlib. > I haven't had to do this in a long time (FreeBSD 2.2.7, JDK 1.0.X, old pre-JNI native interface, a.out), but I'll try to cover the differences, unless someone with more recent experience jumps in. Nate's story sounds about right, though there's not a whole lot of stuff you need to build a shlib. First build all objects with position independent code (-fpic in most cases or -fPIC if needed for "large displacement branches). I'd go with -fpic, and if things don't get better, try -fPIC, which can't hurt, only slow down function calls. Next link the objects into a shared object. When I last did this the the linker options was -Bshareable. A quick look at ld, shows that is likely to still work but the man page is pushing -shared as the preferred way. One thing you might try, as a way of checking your library outside of java is to manually load it with dlopen(), and call a function or two after resolving them with dlsym(). That's essentially what JNI is doing under the covers. Drew -- Drew Sudell asudell@op.net http://www.op.net/~asudell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Oct 31 18:42:56 1999 Delivered-To: freebsd-java@freebsd.org Received: from mta01.onebox.com (mta01.onebox.com [216.33.158.208]) by hub.freebsd.org (Postfix) with ESMTP id 6B5ED15057 for ; Sun, 31 Oct 1999 18:42:52 -0800 (PST) (envelope-from onedave@onebox.com) Received: from onebox.com ([216.33.158.158]) by mta01.onebox.com (InterMail v4.01.01.07 201-229-111-110) with SMTP id <19991101024252.OIBF19933.mta01@onebox.com>; Sun, 31 Oct 1999 18:42:52 -0800 From: "dave howard" To: asudell@acm.org Cc: freebsd-java@FreeBSD.ORG Subject: Re: JNI error involving mmap Reply-To: dave howard Date: Mon, 01 Nov 1999 02:42:52 GMT Message-Id: <19991101024252.OIBF19933.mta01@onebox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org drew - thanks, that's exactly what i needed. for the record, the compiler args that worked were: > gcc -fpic -shared MyLib.c -o libMyLib.so cheers, dave. -- dave howard ---- "Andrew B. Sudell" wrote: > > I haven't had to do this in a long time (FreeBSD 2.2.7, JDK 1.0.X, old > pre-JNI native interface, a.out), but I'll try to cover the differences, > unless someone with more recent experience jumps in. > > Nate's story sounds about right, though there's not a whole lot of stuff > you need to build a shlib. First build all objects with position > independent code (-fpic in most cases or -fPIC if needed for "large > displacement branches). I'd go with -fpic, and if things don't get > better, try -fPIC, which can't hurt, only slow down function > calls. Next link the objects into a shared object. When I last did > this the the linker options was -Bshareable. A quick look at ld, > shows that is likely to still work but the man page is pushing -shared > as the preferred way. > > One thing you might try, as a way of checking your library outside of > java is to manually load it with dlopen(), and call a function or two > after resolving them with dlsym(). That's essentially what JNI is > doing under the covers. > > Drew > -- > Drew Sudell asudell@op.net http://www.op.net/~asudell __________________________________________________ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 1 8:23:11 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns-mx.uiowa.edu (ns-mx.uiowa.edu [128.255.56.78]) by hub.freebsd.org (Postfix) with ESMTP id 47D1515295 for ; Mon, 1 Nov 1999 08:22:54 -0800 (PST) (envelope-from chris-manjoine@uiowa.edu) Received: from dsp45 (dsp62.dsp.uiowa.edu [128.255.242.128]) by ns-mx.uiowa.edu (8.9.1/8.9.1/ns-mx-1.7) with SMTP id KAA58122 for ; Mon, 1 Nov 1999 10:22:53 -0600 Message-Id: <4.1.19991101102011.00a08430@mail.vpr.uiowa.edu> X-Sender: manjoine@mail.vpr.uiowa.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Mon, 01 Nov 1999 10:22:27 -0600 To: freebsd-java@FreeBSD.ORG From: Chris Manjoine Subject: encryption in freebsd Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_6640378==_.ALT" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --=====================_6640378==_.ALT Content-Type: text/plain; charset="us-ascii" I have resently updated my freebsd from 3.2 to 3.3. I got everything put back in place and everything runs fine except for logins I found out after comparing a new login that works to the old logins in the master.passwd file that the encryption is different I think I am using DES encryption rather than MD5 is there any way I can convert the MD5 encrypted logins to DES or can I change the default authentication to MD5? Chris Manjoine | DSP Webmaster | 335-3019 | chris-manjoine@uiowa.edu | 2B-2 Gilmore --=====================_6640378==_.ALT Content-Type: text/html; charset="us-ascii"
I have resently updated my freebsd from 3.2 to 3.3.
I got everything put back in place and everything runs fine except for logins
I found out after comparing a new login that works to the old logins in the master.passwd file that the encryption is different I think I am using DES encryption rather than MD5 is there any way I can convert the MD5 encrypted logins to DES or can I change the default authentication to MD5?
Chris Manjoine | DSP Webmaster | 335-3019 | chris-manjoine@uiowa.edu | 2B-2 Gilmore
--=====================_6640378==_.ALT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 1 8:28:31 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 1123014BFA for ; Mon, 1 Nov 1999 08:28:26 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id JAA15186; Mon, 1 Nov 1999 09:28:25 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA17368; Mon, 1 Nov 1999 09:28:24 -0700 Date: Mon, 1 Nov 1999 09:28:24 -0700 Message-Id: <199911011628.JAA17368@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Chris Manjoine Cc: freebsd-java@FreeBSD.ORG Subject: Re: encryption in freebsd In-Reply-To: <4.1.19991101102011.00a08430@mail.vpr.uiowa.edu> References: <4.1.19991101102011.00a08430@mail.vpr.uiowa.edu> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I have resently updated my freebsd from 3.2 to 3.3. > I got everything put back in place and everything runs fine except for logins > I found out after comparing a new login that works to the old logins in the > master.passwd file that the encryption is different Why is this posted to freebsd-java? Please try posting to freebsd-questions instead... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 2 7:52:50 1999 Delivered-To: freebsd-java@freebsd.org Received: from isis.uniandes.edu.co (isis.uniandes.edu.co [157.253.54.5]) by hub.freebsd.org (Postfix) with ESMTP id 19D9E15446 for ; Tue, 2 Nov 1999 07:52:32 -0800 (PST) (envelope-from ser-garc@uniandes.edu.co) Received: from isis (isis [157.253.54.5]) by isis.uniandes.edu.co (8.9.3/8.9.3) with SMTP id KAA14805; Tue, 2 Nov 1999 10:49:49 -0500 (GMT+5) Date: Tue, 2 Nov 1999 10:49:49 -0500 (GMT+5) From: SeRgIo ArTuRo GaRcIa X-Sender: ser-garc@isis Reply-To: SeRgIo ArTuRo GaRcIa To: Nate Williams Cc: freebsd-java@FreeBSD.ORG Subject: Re: Threads In-Reply-To: <199910301529.JAA09012@mt.sri.com> 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 > Nope. I suspect the green threads code used in Java is causing you > grief here. > > > I have tried the same code in Debian with Kaffe and JDK, nad it works > > fine. > > Can you try running the Linux JDK with -green to see if it also shows > this problem? Nate, I did it and it doesnt show the same problem. Wouldnt we have the same problem when reading from sockets in a multi user server application? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 2 7:54:35 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 64BE114D5B for ; Tue, 2 Nov 1999 07:54:26 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id IAA29430; Tue, 2 Nov 1999 08:54:24 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id IAA23669; Tue, 2 Nov 1999 08:54:23 -0700 Date: Tue, 2 Nov 1999 08:54:23 -0700 Message-Id: <199911021554.IAA23669@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: SeRgIo ArTuRo GaRcIa Cc: Nate Williams , freebsd-java@FreeBSD.ORG Subject: Re: Threads In-Reply-To: References: <199910301529.JAA09012@mt.sri.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Nope. I suspect the green threads code used in Java is causing you > > grief here. > > > > > I have tried the same code in Debian with Kaffe and JDK, nad it works > > > fine. > > > > Can you try running the Linux JDK with -green to see if it also shows > > this problem? > > Nate, I did it and it doesnt show the same problem. That's good and bad. Good because it shows a green thread prolem. > Wouldnt we have the same problem when reading from sockets in a multi user > server application? Nope, because the green threads implementation has special code for doing non-blocking socket reads internally using select... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 2 16:34:47 1999 Delivered-To: freebsd-java@freebsd.org Received: from fnal.fnal.gov (fnal.fnal.gov [131.225.9.8]) by hub.freebsd.org (Postfix) with ESMTP id 1656715360 for ; Tue, 2 Nov 1999 16:34:44 -0800 (PST) (envelope-from tez@nova.fnal.gov) Received: from nova.fnal.gov ([131.225.18.207]) by FNAL.FNAL.GOV (PMDF V5.2-32 #36665) with ESMTP id <01JHVEBYEMOC000MY6@FNAL.FNAL.GOV> for java@FreeBSD.ORG; Tue, 2 Nov 1999 18:34:23 -0600 CDT Received: from localhost (tez@localhost) by nova.fnal.gov (8.9.1b+Sun/8.9.1) with ESMTP id SAA00892; Tue, 02 Nov 1999 18:34:06 -0600 (CST) Date: Tue, 02 Nov 1999 18:34:05 -0600 (CST) From: Tim Zingelman Subject: Re: Linux JDK1.2 port In-reply-to: To: "Christopher T. Griffiths" Cc: alex.boisvert@gel.usherb.CA, matusita@ics.es.osaka-u.ac.jp, java@FreeBSD.ORG Reply-To: Tim Zingelman 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 > Yes unfortunately I am still getting the same errors. I even cvsup > yesterday and did a buildworld just in case. > Still getting the core dump as well as the undefined symbol. > Chris I had exactly the same problem... $ java -version Segmentation fault - core dumped /usr/local/jdk1.2/bin/i386/green_threads/java: error in loading shared libraries /usr/local/jdk1.2/jre/lib/i386/classic/libjvm.so: undefined symbol: __bzero The solution is to use the glibc2.0 version, NOT the glibc2.1 version. Once I switched to that (both are available at the blackdown.org mirrors) and did the patches to .java_wrapper supplied earlier in this discussion java -version worked great! (now to see if more complex things work :) $ java -version java version "1.2" Classic VM (build Linux_JDK_1.2_pre-release-v2, green threads, sunwjit) - Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 3 7:35:20 1999 Delivered-To: freebsd-java@freebsd.org Received: from mail-ob.kamp.net (mail-ob.kamp.net [195.62.97.26]) by hub.freebsd.org (Postfix) with ESMTP id 49DC214DBD for ; Wed, 3 Nov 1999 07:35:16 -0800 (PST) (envelope-from susanne_j@gmx.de) Received: from gmx.de (port-16.d.kamp.de [195.62.120.208]) by mail-ob.kamp.net (8.9.3/8.9.3) with ESMTP id QAA21079 for ; Wed, 3 Nov 1999 16:35:15 +0100 Message-ID: <3820582A.5AE9A24@gmx.de> Date: Wed, 03 Nov 1999 16:43:38 +0100 From: "Susanne J." X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Problems loading images in applets Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello. I´m currently trying to code my first applet and I´ve problems with an BitmapComponent Class, which loads an image. The applet is running perfectly in the appletviewer, but if I try to run it over a WEB-Server (apach) with netscape or msie as the Client-Browser, the browsers reportet errors in accessing the image. the image is in the BitmapComponent Class with the following statement: public BitmapComponent (String fname) { img = getToolkit().getImage(fname); ... where fname is filled with "index/header1.jpg". I think that could be a problem with the place, where the applet would try to load the image? If that´s the problem, how could I force the applet to load the image from the WEB-Server? (My configuration is: a FreeBSD-3.2 machine with apache 1.3.9 as the WEB-Server, a Netscape Browser on the same machine and a WindowsNT machine in the Network with the Microsoft Internet Explorer 4.0) Thanks in advance, Susanne. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 3 8:14:16 1999 Delivered-To: freebsd-java@freebsd.org Received: from io.yi.org (24.66.174.118.bc.wave.home.com [24.66.174.118]) by hub.freebsd.org (Postfix) with ESMTP id 95D2C14CA6 for ; Wed, 3 Nov 1999 08:14:10 -0800 (PST) (envelope-from jake@checker.org) Received: from io.yi.org (localhost [127.0.0.1]) by io.yi.org (Postfix) with ESMTP id 600821FD1; Wed, 3 Nov 1999 07:50:32 -0800 (PST) X-Mailer: exmh version 2.1.0 09/18/1999 To: "Susanne J." Cc: freebsd-java@FreeBSD.ORG Subject: Re: Problems loading images in applets In-reply-to: Your message of "Wed, 03 Nov 1999 16:43:38 +0100." <3820582A.5AE9A24@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Date: Wed, 03 Nov 1999 07:50:32 -0800 From: Jake Burkholder Message-Id: <19991103155032.600821FD1@io.yi.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > the image is in the BitmapComponent Class with the following statement:= > = > public BitmapComponent (String fname) > { > img =3D getToolkit().getImage(fname); > ... > = > where fname is filled with "index/header1.jpg". I think you need to use the getImage methods from the Applet class, rather than Toolkit. The API documentation is always your friend. public BitmapComponent (String fname) { img =3D getImage(getCodeBase(), fname); =2E.. Hope this helps. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 3 18:13:30 1999 Delivered-To: freebsd-java@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id 838F514CCA for ; Wed, 3 Nov 1999 18:10:19 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id SAA82085 for freebsd-java@freebsd.org; Wed, 3 Nov 1999 18:10:19 -0800 (PST) From: Archie Cobbs Message-Id: <199911040210.SAA82085@bubba.whistle.com> Subject: try { } catch { } finally { } in C! To: freebsd-java@freebsd.org Date: Wed, 3 Nov 1999 18:10:18 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL54 (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 Did you know that try { } catch { } finally { } is possible from C? Well, GNU C anyway.. Example (using the header file included below): #include #include #include #include #include #include "trycatch.h" int func() { int r = (int)random() % 32; if (r > 16) { printf("func() throwing %d\n", 7); THROW(7); } printf("func() returning %d\n", r); return r; } int main() { int r = 123; srandom(time(NULL)); TRY { int y; printf("main() try #1\n"); printf("main() calling func()\n"); y = func(); printf("func() returned %d\n", r); y = (int)random() % 32; if (y > 20) { printf("main() throwing %d\n", -y); THROW(-y); } printf("main() end of try part\n"); printf("main() RETURN()'ing %d\n", r); RETURN(r); } CATCH(int, x) { printf("main() start of catch, x=%d\n", x); } FINALLY { printf("main() start of finally, r=%d\n", r); } ENDTRY; printf("main() returning\n"); return(0); } -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com /* This is a per-thread global variable */ jmp_buf _tryJmpBuf; /* This precedes the TRY block */ #define TRY { \ __label__ _finallyLabel; \ volatile jmp_buf _tryJmpBufSave; \ void *_finallyReturn = NULL; \ int _thrownValue; \ \ memcpy((void *)&_tryJmpBufSave, \ _tryJmpBuf, sizeof(jmp_buf)); \ if ((_thrownValue = setjmp(_tryJmpBuf)) == 0) /* This precedes the CATCH block */ #define CATCH(type, var) \ else { \ type var = (type) _thrownValue; \ \ memcpy(&_tryJmpBuf, (void *)&_tryJmpBufSave, \ sizeof(jmp_buf)); \ if ((_thrownValue = setjmp(_tryJmpBuf)) == 0) { /* Use this instead of CATCH() when you don't want to catch anything */ #define NOCATCH() { \ if (0) { /* This precedes the FINALLY block */ #define FINALLY } else { \ memcpy(&_tryJmpBuf, (void *)&_tryJmpBufSave,\ sizeof(jmp_buf)); \ } \ } \ (void)&&_finallyLabel; /* avoid gcc warning */ \ _finallyLabel: /* This is requried after the FINALLY block */ #define ENDTRY if (_thrownValue != 0) \ THROW(_thrownValue); \ if (_finallyReturn != NULL) \ goto *_finallyReturn; \ } /* Throw an exception 't' which must be castable to type int */ #define THROW(t) do { \ int value = (int) t; \ assert(value != 0); \ longjmp(_tryJmpBuf, value); \ } while (0) /* For use only within TRY or CATCH blocks (not FINALLY) */ #define RETURN(x...) do { \ __label__ _returnLabel; \ _finallyReturn = &&_returnLabel; \ goto _finallyLabel; \ _returnLabel: \ return x; \ } while (0) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 3 20:37:55 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 140F614CFB for ; Wed, 3 Nov 1999 20:37:47 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id VAA20606; Wed, 3 Nov 1999 21:35:13 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id VAA13124; Wed, 3 Nov 1999 21:35:12 -0700 Date: Wed, 3 Nov 1999 21:35:12 -0700 Message-Id: <199911040435.VAA13124@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Archie Cobbs Cc: freebsd-java@FreeBSD.ORG Subject: Re: try { } catch { } finally { } in C! In-Reply-To: <199911040210.SAA82085@bubba.whistle.com> References: <199911040210.SAA82085@bubba.whistle.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Did you know that try { } catch { } finally { } is possible from C? > Well, GNU C anyway.. Cool. As long as your program isn't using setjmp/longjmp, it works. :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 3 21:33:48 1999 Delivered-To: freebsd-java@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id AACE814E59 for ; Wed, 3 Nov 1999 21:33:46 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id VAA82620; Wed, 3 Nov 1999 21:32:23 -0800 (PST) From: Archie Cobbs Message-Id: <199911040532.VAA82620@bubba.whistle.com> Subject: Re: try { } catch { } finally { } in C! In-Reply-To: <199911040435.VAA13124@mt.sri.com> from Nate Williams at "Nov 3, 1999 09:35:12 pm" To: nate@mt.sri.com (Nate Williams) Date: Wed, 3 Nov 1999 21:32:23 -0800 (PST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (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 writes: > > Did you know that try { } catch { } finally { } is possible from C? > > Well, GNU C anyway.. > > Cool. As long as your program isn't using setjmp/longjmp, it works. :) I think it would still work even if it was... different jump buffers.. ? -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 3 21:35:54 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id B470814E59 for ; Wed, 3 Nov 1999 21:35:52 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id WAA21141; Wed, 3 Nov 1999 22:35:50 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id WAA13295; Wed, 3 Nov 1999 22:35:49 -0700 Date: Wed, 3 Nov 1999 22:35:49 -0700 Message-Id: <199911040535.WAA13295@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Archie Cobbs Cc: nate@mt.sri.com (Nate Williams), freebsd-java@FreeBSD.ORG Subject: Re: try { } catch { } finally { } in C! In-Reply-To: <199911040532.VAA82620@bubba.whistle.com> References: <199911040435.VAA13124@mt.sri.com> <199911040532.VAA82620@bubba.whistle.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > Did you know that try { } catch { } finally { } is possible from C? > > > Well, GNU C anyway.. > > > > Cool. As long as your program isn't using setjmp/longjmp, it works. :) > > I think it would still work even if it was... different jump buffers.. ? Hmmm......, I'm not sure. I know that someone just posted about an error they had using the thread libraries and setjmp(), but you could be right. I was wondering about this very thing last night working on the JDK.... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Nov 4 8:55: 4 1999 Delivered-To: freebsd-java@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id 2CB2F153B5 for ; Thu, 4 Nov 1999 08:55:01 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id IAA84330; Thu, 4 Nov 1999 08:54:23 -0800 (PST) From: Archie Cobbs Message-Id: <199911041654.IAA84330@bubba.whistle.com> Subject: Re: try { } catch { } finally { } in C! In-Reply-To: <199911040535.WAA13295@mt.sri.com> from Nate Williams at "Nov 3, 1999 10:35:49 pm" To: nate@mt.sri.com (Nate Williams) Date: Thu, 4 Nov 1999 08:54:23 -0800 (PST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (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 writes: > > > > Did you know that try { } catch { } finally { } is possible from C? > > > > Well, GNU C anyway.. > > > > > > Cool. As long as your program isn't using setjmp/longjmp, it works. :) > > > > I think it would still work even if it was... different jump buffers.. ? > > Hmmm......, I'm not sure. I know that someone just posted about an > error they had using the thread libraries and setjmp(), but you could be > right. I was wondering about this very thing last night working on the > JDK.... Of course, if you longjmp() from within a try {} block, the finally part wouldn't get run.. Also I think some thread libraries use setjmp/longjmp in order to do context switching, so that could definitely confuse things. Anyway, it should work OK in 'standard' programs.. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Nov 6 2:46:48 1999 Delivered-To: freebsd-java@freebsd.org Received: from nohow.demon.co.uk (nohow.demon.co.uk [212.228.18.189]) by hub.freebsd.org (Postfix) with ESMTP id EF56714D85 for ; Sat, 6 Nov 1999 02:46:17 -0800 (PST) (envelope-from noway@nohow.demon.co.uk) Received: from localhost (noway@localhost) by nohow.demon.co.uk (8.9.3/8.9.3) with ESMTP id KAA37017 for ; Sat, 6 Nov 1999 10:44:56 GMT (envelope-from noway@nohow.demon.co.uk) Date: Sat, 6 Nov 1999 10:44:52 +0000 (GMT) From: Jose Marques To: freebsd-java@FreeBSD.ORG Subject: Re: Linux JDK1.2 port In-Reply-To: <19991019173414W.matusita@ics.es.osaka-u.ac.jp> Message-ID: X-No-Archive: yes MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 19 Oct 1999, Makoto MATSUSHITA wrote: > Exactly. Here is a patch which contains all of above. I've tested on: [Snip] I have created a FreeBSD port which automates the fetching of the linux JDK and the application of the above mentioned patch. The port is available from the following URL: http://www.jmcm.org/tech/ports/linux-jdk1.2.tar.gz Just unpack it, cd into the port directory then "make install". The port grabs the distfile from a UK mirror - as the download is about 20MB you may wish to edit the makefile to specify a master site nearer to you. -- Jose Marques To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Nov 6 8:17:34 1999 Delivered-To: freebsd-java@freebsd.org Received: from flux.ptc.spbu.ru (flux.ptc.spbu.ru [195.19.225.195]) by hub.freebsd.org (Postfix) with ESMTP id 48B8D14CD5 for ; Sat, 6 Nov 1999 08:17:20 -0800 (PST) (envelope-from uwe@snark.ptc.spbu.ru) Received: from snark.ptc.spbu.ru (snark.ptc.spbu.ru [195.19.225.131]) by flux.ptc.spbu.ru (8.9.3/8.9.3/cf-1.0.rbl) with ESMTP id TAA26475 for ; Sat, 6 Nov 1999 19:17:17 +0300 (MSK) Received: (from uwe@localhost) by snark.ptc.spbu.ru (8.8.8+Sun/8.8.8) id TAA06096 for java@freebsd.org; Sat, 6 Nov 1999 19:17:15 +0300 (MSK) Date: Sat, 6 Nov 1999 19:17:15 +0300 From: "Valeriy E. Ushakov" To: java@freebsd.org Subject: Status of JDK for FreeBSD? Message-ID: <19991106191715.A6091@snark.ptc.spbu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi. What is the status of JDK for FreeBSD? Does I understand it correctly that FreeBSD, Inc. an official licensee? Is there work in progress on porting 1.2.2 and forthcoming 1.3 releases? What is the status of relationships between FreeBSD Java team and JavaSoft? Thank you. SY, Uwe -- uwe@ptc.spbu.ru | Zu Grunde kommen http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Nov 6 8:30: 7 1999 Delivered-To: freebsd-java@freebsd.org Received: from csmd2.cs.uni-magdeburg.de (csmd2.CS.Uni-Magdeburg.De [141.44.22.2]) by hub.freebsd.org (Postfix) with ESMTP id 7212014E3D for ; Sat, 6 Nov 1999 08:30:01 -0800 (PST) (envelope-from jesse@mail.CS.Uni-Magdeburg.De) Received: from knecht.cs.uni-magdeburg.de (jesse@knecht [141.44.21.3]) by csmd2.cs.uni-magdeburg.de (8.9.1a/8.9.1) with ESMTP id RAA11678; Sat, 6 Nov 1999 17:29:58 +0100 (MET) Received: (from jesse@localhost) by knecht.cs.uni-magdeburg.de (8.8.8+Sun/8.8.8) id RAA11290; Sat, 6 Nov 1999 17:29:41 +0100 (MET) To: "Valeriy E. Ushakov" Cc: java@FreeBSD.ORG Subject: Re: Status of JDK for FreeBSD? References: <19991106191715.A6091@snark.ptc.spbu.ru> From: Roland Jesse In-Reply-To: "Valeriy E. Ushakov"'s message of "Sat, 6 Nov 1999 19:17:15 +0300" Date: 06 Nov 1999 17:29:40 +0100 Message-ID: <0vd7tnpoqz.fsf@cs.uni-magdeburg.de> Lines: 7 X-Mailer: Gnus v5.6.45/Emacs 19.34 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Valeriy E. Ushakov" writes: > What is the status of JDK for FreeBSD? Its all documented on http://www.freebsd.org/java/. Roland To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Nov 6 8:50: 5 1999 Delivered-To: freebsd-java@freebsd.org Received: from flux.ptc.spbu.ru (flux.ptc.spbu.ru [195.19.225.195]) by hub.freebsd.org (Postfix) with ESMTP id 7871D14C3B for ; Sat, 6 Nov 1999 08:50:00 -0800 (PST) (envelope-from uwe@snark.ptc.spbu.ru) Received: from snark.ptc.spbu.ru (snark.ptc.spbu.ru [195.19.225.131]) by flux.ptc.spbu.ru (8.9.3/8.9.3/cf-1.0.rbl) with ESMTP id TAA27140; Sat, 6 Nov 1999 19:49:59 +0300 (MSK) Received: (from uwe@localhost) by snark.ptc.spbu.ru (8.8.8+Sun/8.8.8) id TAA06134; Sat, 6 Nov 1999 19:49:58 +0300 (MSK) Date: Sat, 6 Nov 1999 19:49:58 +0300 From: "Valeriy E. Ushakov" To: Roland Jesse Cc: java@FreeBSD.ORG Subject: Re: Status of JDK for FreeBSD? Message-ID: <19991106194958.A6128@snark.ptc.spbu.ru> References: <19991106191715.A6091@snark.ptc.spbu.ru> <0vd7tnpoqz.fsf@cs.uni-magdeburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <0vd7tnpoqz.fsf@cs.uni-magdeburg.de>; from Roland Jesse on Sat, Nov 06, 1999 at 05:29:40PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Nov 06, 1999 at 05:29:40PM +0100, Roland Jesse wrote: > > What is the status of JDK for FreeBSD? > > Its all documented on http://www.freebsd.org/java/. Yes, I've read this page. But I was trying to ask a slightly different question. Sun is partnering with Linux community (blackdown.org) to deliver JDK on Linux and actively supports that Linux porting effort. What I'm interested in is how Sun collaborates with FreeBSD Java effort, if at all. Thanks. SY, Uwe -- uwe@ptc.spbu.ru | Zu Grunde kommen http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Nov 6 9:22: 0 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 9A38814C92 for ; Sat, 6 Nov 1999 09:21:58 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id KAA21796; Sat, 6 Nov 1999 10:21:57 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA24415; Sat, 6 Nov 1999 10:21:56 -0700 Date: Sat, 6 Nov 1999 10:21:56 -0700 Message-Id: <199911061721.KAA24415@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Valeriy E. Ushakov" Cc: java@FreeBSD.ORG Subject: Re: Status of JDK for FreeBSD? In-Reply-To: <19991106191715.A6091@snark.ptc.spbu.ru> References: <19991106191715.A6091@snark.ptc.spbu.ru> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > What is the status of JDK for FreeBSD? See http://www.freebsd.org/java > Does I understand it correctly that FreeBSD, Inc. an official > licensee? No, despite attempts to work with Sun, there has been no progress, mainly because we have no internal contact at Sun. > Is there work in progress on > porting 1.2.2 and forthcoming 1.3 releases? Yes and no. > What is the status of relationships between FreeBSD Java team and > JavaSoft? See above. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Nov 6 9:23: 6 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 3BE4514E97 for ; Sat, 6 Nov 1999 09:23:03 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id KAA21806; Sat, 6 Nov 1999 10:22:55 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA24423; Sat, 6 Nov 1999 10:22:54 -0700 Date: Sat, 6 Nov 1999 10:22:54 -0700 Message-Id: <199911061722.KAA24423@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Valeriy E. Ushakov" Cc: Roland Jesse , java@FreeBSD.ORG Subject: Re: Status of JDK for FreeBSD? In-Reply-To: <19991106194958.A6128@snark.ptc.spbu.ru> References: <19991106191715.A6091@snark.ptc.spbu.ru> <0vd7tnpoqz.fsf@cs.uni-magdeburg.de> <19991106194958.A6128@snark.ptc.spbu.ru> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > What I'm interested in is how Sun collaborates with FreeBSD Java > effort, if at all. Sun has no reason to, because it isn't necessary for them to have yet-another platform to compete with Solaris. Linux is done because of market pressure, and there is virtually none from the FreeBSD user base. (hint hint) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Nov 6 10:54:41 1999 Delivered-To: freebsd-java@freebsd.org Received: from msn166-109.med.und.nodak.edu (msn166-109.med.und.NoDak.edu [134.129.166.109]) by hub.freebsd.org (Postfix) with ESMTP id 34FAA14BFE for ; Sat, 6 Nov 1999 10:54:39 -0800 (PST) (envelope-from bpederson@geocities.com) Received: from accord.med.und.nodak.edu ([134.129.166.13] helo=geocities.com) by msn166-109.med.und.nodak.edu with esmtp (Exim 3.03 #1) id 11kAyz-000FDH-00 for java@FreeBSD.ORG; Sat, 06 Nov 1999 12:54:38 -0600 Message-ID: <38247965.F0A895B4@geocities.com> Date: Sat, 06 Nov 1999 12:54:29 -0600 From: Barry Pederson X-Mailer: Mozilla 4.61 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: java@FreeBSD.ORG Subject: Re: Status of JDK for FreeBSD? References: <19991106191715.A6091@snark.ptc.spbu.ru> <0vd7tnpoqz.fsf@cs.uni-magdeburg.de> <19991106194958.A6128@snark.ptc.spbu.ru> <199911061722.KAA24423@mt.sri.com> 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: > > > What I'm interested in is how Sun collaborates with FreeBSD Java > > effort, if at all. > > Sun has no reason to, because it isn't necessary for them to have > yet-another platform to compete with Solaris. Linux is done because of > market pressure, and there is virtually none from the FreeBSD user > base. (hint hint) Has anyone tried submitting an RFE/Bug similar to the one that asked for Linux support? http://developer.java.sun.com/developer/bugParade/bugs/4097810.html As long as Sun didn't just say they weren't going to do it and mark it closed, I'm sure we could round up a few votes for such a request. Right now, a search on the BugParade for "FreeBSD" only comes up with 10 hits, most of them not specifically relevant to FreeBSD, but two with evaluations of "This is not an environment that we support." and "This is a third party port." So it's not terribly surprising if FreeBSD isn't really showing up on their radar screens. If somebody does get something entered in to the bug parade, let us know so we can go vote for it. Barry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Nov 6 11: 2: 5 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 525E614ED5 for ; Sat, 6 Nov 1999 11:02:03 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id MAA22634; Sat, 6 Nov 1999 12:02:02 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id MAA24925; Sat, 6 Nov 1999 12:02:01 -0700 Date: Sat, 6 Nov 1999 12:02:01 -0700 Message-Id: <199911061902.MAA24925@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Barry Pederson Cc: java@FreeBSD.ORG Subject: Re: Status of JDK for FreeBSD? In-Reply-To: <38247965.F0A895B4@geocities.com> References: <19991106191715.A6091@snark.ptc.spbu.ru> <0vd7tnpoqz.fsf@cs.uni-magdeburg.de> <19991106194958.A6128@snark.ptc.spbu.ru> <199911061722.KAA24423@mt.sri.com> <38247965.F0A895B4@geocities.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Has anyone tried submitting an RFE/Bug similar to the one that asked for > Linux support? > > http://developer.java.sun.com/developer/bugParade/bugs/4097810.html > > As long as Sun didn't just say they weren't going to do it and mark it > closed, I'm sure we could round up a few votes for such a request. Great idea, Barry! If you're a Java developer (or even if you're not), setup a RFE and tell the folks on the mailing list about it. I'd be willing to vote for it, and I'm sure a number of other folks would as well. :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Nov 6 12: 1:42 1999 Delivered-To: freebsd-java@freebsd.org Received: from sith.wlcg.com (209-9-101-127.sdsl.cais.net [209.9.101.127]) by hub.freebsd.org (Postfix) with ESMTP id 7EECF14C27 for ; Sat, 6 Nov 1999 12:01:38 -0800 (PST) (envelope-from joe@wlcg.com) Received: from localhost (joe@localhost) by sith.wlcg.com (8.9.3/8.9.3/Debian 8.9.3-6) with SMTP id PAA21377; Sat, 6 Nov 1999 15:03:22 -0500 X-Authentication-Warning: sith.wlcg.com: joe owned process doing -bs Date: Sat, 6 Nov 1999 15:03:22 -0500 (EST) From: Joe Yandle To: Nate Williams Cc: java@FreeBSD.ORG Subject: Re: Status of JDK for FreeBSD? In-Reply-To: <199911061902.MAA24925@mt.sri.com> 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 > > > > Has anyone tried submitting an RFE/Bug similar to the one that asked for > > Linux support? > > > > If you're a Java developer (or even if you're not), setup a RFE and tell > the folks on the mailing list about it. > I just submitted an RFE to the JDC. The id is 97555; however, it will be a while before it actually appears on the JDC bug list. Joe Yandle Internet Programmer Westlake Consulting Group To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Nov 6 12: 2:56 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 7D60414F5B for ; Sat, 6 Nov 1999 12:02:53 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id NAA23077; Sat, 6 Nov 1999 13:02:52 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id NAA25087; Sat, 6 Nov 1999 13:02:51 -0700 Date: Sat, 6 Nov 1999 13:02:51 -0700 Message-Id: <199911062002.NAA25087@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Joe Yandle Cc: Nate Williams , java@FreeBSD.ORG Subject: Re: Status of JDK for FreeBSD? In-Reply-To: References: <199911061902.MAA24925@mt.sri.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > Has anyone tried submitting an RFE/Bug similar to the one that asked for > > > Linux support? > > > > > > > If you're a Java developer (or even if you're not), setup a RFE and tell > > the folks on the mailing list about it. > > > > I just submitted an RFE to the JDC. The id is 97555; however, it will be > a while before it actually appears on the JDC bug list. Thanks Joe! Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Nov 6 12: 6:18 1999 Delivered-To: freebsd-java@freebsd.org Received: from sith.wlcg.com (209-9-101-127.sdsl.cais.net [209.9.101.127]) by hub.freebsd.org (Postfix) with ESMTP id 2DCA914DBF for ; Sat, 6 Nov 1999 12:06:12 -0800 (PST) (envelope-from joe@wlcg.com) Received: from localhost (joe@localhost) by sith.wlcg.com (8.9.3/8.9.3/Debian 8.9.3-6) with SMTP id PAA21481 for ; Sat, 6 Nov 1999 15:08:06 -0500 X-Authentication-Warning: sith.wlcg.com: joe owned process doing -bs Date: Sat, 6 Nov 1999 15:08:06 -0500 (EST) From: Joe Yandle To: java@freebsd.org Subject: Your Report: Port jdk-1.2.x to FreeBSD (fwd) 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 This is the automatic reply from the JDC. Joe Yandle Internet Programmer Westlake Consulting Group ---------- Forwarded message ---------- Date: Sat, 6 Nov 1999 11:59:04 -0800 (PST) From: nobody@java.sun.com To: undisclosed-recipients: ; Subject: Your Report: Port jdk-1.2.x to FreeBSD ************************************************ Your report has been assigned an internal review ID of: 97555 This review ID is NOT visible on the "Java Developer Connection" (JDC). We greatly appreciate your interest in improving the quality of Java(tm) Technology from Sun Microsystems. Please be aware that the large volume of reports we receive sometimes prevents us from responding individually to each message. We currently have a three week response time for responding to Bug Reports. If the information is determined to be a new bug, or a duplicate of a known bug, you will receive a followup email containing a seven digit bug number. You may search for this bug number on the "Java Developer Connection" (JDC) at this URL: http://developer.java.sun.com/developer/bugParade/index.html. If you just reported an issue that could have a major impact on your project and you require a response, please consider purchasing one of the support offerings at this URL: http://java.sun.com/support/index.html -------------------------------------------- user_type: E security: 1 description: Since I'm requesting a jdk port that doesn't exist, it would be difficult to execute java -version. Please, port jdk-1.2.x (and future releases) to FreeBSD. As a member of the free software community, I appreciate Sun's recent commitment to providing a supported jdk for linux. However, linux is not the only fish in the free OS ocean; many linux users (myself included) eventually migrate to the *BSD systems. Yet I am unable to use FreeBSD at work due to the lack of a good jdk-1.2 implementation. Though we use FreeBSD for a variety of tasks, we cannot use it as a production server for our servlet projects. I usually end up doing development on my linux box, then using NT as the production platform. The lack of a jdk-1.2 implementation for FreeBSD helps no one except Microsoft. The FreeBSD commmunity would greatly appreciate either a supported jdk port or help from Sun in the ongoing FreeBSD-java porting project: http://www.freebsd.org/java/ BTW, I chose solaris 7 as the OS above due to lack of an 'other' choice. workaround: It is possible to use the linux jdk under FreeBSD using linux emulation. While many FreeBSD users do this, it is far from an optimal solution. The following FreeBSD port will grab the linux jdk and apply the necessary patches: http://www.jmcm.org/tech/ports/linux-jdk1.2.tar.gz cust_name: Joe Yandle type: rfe cust_email: joe@wlcg.com category: java subcategory: other crash: 1 synopsis: Port jdk-1.2.x to FreeBSD dateCreated: November 6, 1999 11:59:02 AM jdcid: jyandle severity: 3 OSversion: sol2.7 data_loss: 1 hardware: x86 performance: 1 user_role: D company: Westlake Consulting Group minusVersion: Since I'm requesting a jdk port that doesn't exist, it would be difficult to execute java -version. hang: 1 comments: (company - Westlake Consulting Group , email - joe@wlcg.com) status: Waiting release: 1.2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Nov 6 19: 0:44 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 6210614DBF for ; Sat, 6 Nov 1999 19:00:42 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id UAA26079; Sat, 6 Nov 1999 20:00:37 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id UAA26150; Sat, 6 Nov 1999 20:00:36 -0700 Date: Sat, 6 Nov 1999 20:00:36 -0700 Message-Id: <199911070300.UAA26150@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: ryan Cc: Nate Williams , "Valeriy E. Ushakov" , java@FreeBSD.ORG Subject: Re: Status of JDK for FreeBSD? In-Reply-To: References: <199911061721.KAA24415@mt.sri.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > Does I understand it correctly that FreeBSD, Inc. an official > > > licensee? > > > > No, despite attempts to work with Sun, there has been no progress, > > mainly because we have no internal contact at Sun. > ... > Maybe there's folks inside apple who'll get good attention from sun, and > reflect some of that light FreeBSD's direction? If you know someone at Apple, feel free to point them our direction... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message