From owner-freebsd-java Sun Apr 19 15:22:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA25033 for freebsd-java-outgoing; Sun, 19 Apr 1998 15:22:14 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA25016 for ; Sun, 19 Apr 1998 22:22:09 GMT (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id PAA16051; Sun, 19 Apr 1998 15:22:03 -0700 (PDT) Date: Sun, 19 Apr 1998 15:22:01 -0700 (PDT) From: Tom Bartol To: Adrian Colley cc: ritter@orbysis.com, freebsd-java@FreeBSD.ORG Subject: Re: Can't find class blah.class In-Reply-To: <87532138.fnord546344@three.serpentine.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 Thanks for the extremely rapid response (and please excuse my extremely slow "thankyou"). The problem was indeed an anomalous "package demos;" statement at the top of the program. This must have been a vestigial piece of code left over from the authors' package tree. Commenting out this statement fixed the code and it now runs perfectly using: "java bounce" as it should. I now have an excellent java development environment in which to design my project. Thanks to Sun and the FreeBSD team for such a wonderful set of tools!!! Tom On Fri, 17 Apr 1998, Adrian Colley wrote: > tb> java bounce > tb> Can't find class bounce > > Java will look for "./bounce.class", but if it doesn't contain a > definition for "bounce" ("some.packagename.bounce" and "Bounce" are > possible red herrings) it will fail abysmally. > > Sometimes, a missing superclass/interface/declared component class > will cause a class to fail to load (you should be getting an > ExceptionInInitializer error, but the provided error message isn't > helpful). > > All this may be obvious to you; and you might have found a real bug. > Make sure CLASSPATH is set to "." and use "javap bounce" in the > correct directory. If you get the same error, there's probably > something wrong with the classfile. > > --adrian. > RMI Team > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Apr 19 22:59:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA08765 for freebsd-java-outgoing; Sun, 19 Apr 1998 22:59:13 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from prime.arces.net (gateway.arces.net [206.124.14.241]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA08753 for ; Mon, 20 Apr 1998 05:59:10 GMT (envelope-from monachus@prime.arces.net) Received: (from monachus@localhost) by prime.arces.net (8.8.8/8.8.nospam) id XAA28279; Sun, 19 Apr 1998 23:59:08 -0600 (MDT) Message-ID: <19980419235907.47512@arces.net> Date: Sun, 19 Apr 1998 23:59:07 -0600 From: Adrian Goins To: freebsd-java@FreeBSD.ORG Subject: Java Servlets under Virtualhost Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-md5; boundary=EVAkct0FjGQmdO3R X-Mailer: Mutt 0.89.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --EVAkct0FjGQmdO3R Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable i posted this a while back and heard nothing in response - this was just before the list went dead for a few days. i've continued to play with the problem and have resolved nothing, so i'm reposting with the hope that someone out there has a solution: Platform: FreeBSD 2.2.5-STABLE Apache 1.2.6 JServ 0.9.10 JDK 1.1.5 Problem: Servlets work fine under the main hostname for the webserver, but i have many VirtualHost entries which won't run any servlet i feed to them. I use the aliasing method of VirtualHost (as opposed to having an individual IP for each of them). the error i get is as follows: java.lang.ClassCastException: SnoopServlet at org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:3= 69) at org.apache.jserv.JServConnection.run(JServConnection.java:307) and the browser just sits there until it times out. the weird part: i was running a SNAP of 2.2.5 and it worked fine. it broke when i upgraded to STABLE. things i've tried: upgraded from apache 1.2.4 to 1.2.6 unlocked my web directory (previously restricted access) moved my servlet directory to various places set permissions to various things =20 it's almost as though having a ServletAlias in a VirtualHost area kills it. as soon as i remove that and HUP my daemon, it will happily load servlets from the main servlet location no matter which host i'm going to. = =20 on a side note: i run JRun (http://www.livesoftware.com) on my NT webserver and love it. i tried working with JRun 2.1b4 for Apache and found that it never even attempted to load a servlet. when i alias /servlet to something and then go to www.host.net/servlet/SnoopServlet, it tries to find a directory off of my DocumentRoot which is called /servlet rather than loading the JRun module and actually calling something from the servlet path configured via JRunAdmin. i have a tech-support request into Live Software for that one - has anyone else run into it?=20 thanks for all of your help... --=20 Regards, Adrian Goins - admin@arces.net Arces Network, Inc. http://www.arces.net 719.282.8192 vox 719.443.6757 pgr --EVAkct0FjGQmdO3R Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNTrkKv3qHshR21gJAQFq4QP/eZPtDJgH7qzLz1Sb9uwmVpvA+SiUyjsR Mv4Knt5VNuCFhNDuBWGW9cS21UrZ/WU/uH9E+zbQ7mbz7hVQCr5mzaWwmY85+bE6 b+R42n1b98HsZH5WwI1UQ3CTFcbWDHbTZU4PVks/X3bdtF0pNyGR8oz1D7C+VrKX aHt8DR0Xk8Q= =eDnQ -----END PGP SIGNATURE----- --EVAkct0FjGQmdO3R-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Apr 20 12:55:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA28510 for freebsd-java-outgoing; Mon, 20 Apr 1998 12:55:35 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA28390 for ; Mon, 20 Apr 1998 19:54:57 GMT (envelope-from hasty@rah.star-gate.com) Received: (from hasty@localhost) by rah.star-gate.com (8.8.8/8.8.8) id MAA08176 for freebsd-java@FreeBSD.ORG; Mon, 20 Apr 1998 12:54:51 -0700 (PDT) (envelope-from hasty) Date: Mon, 20 Apr 1998 12:54:51 -0700 (PDT) From: Amancio Hasty Message-Id: <199804201954.MAA08176@rah.star-gate.com> To: freebsd-java@FreeBSD.ORG Subject: Sun & FreeBSD? Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org To Sun: Is there a way that we can work together so that we can port java components like: JMF, Java 3D API, Java Plug-In, JWS's native debugger library, etc... Thank You, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Apr 20 13:56:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA15432 for freebsd-java-outgoing; Mon, 20 Apr 1998 13:56:06 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA15345 for ; Mon, 20 Apr 1998 20:55:43 GMT (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.8.8/8.8.8) with SMTP id OAA00323; Mon, 20 Apr 1998 14:55:30 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id OAA02553; Mon, 20 Apr 1998 14:55:28 -0600 Date: Mon, 20 Apr 1998 14:55:28 -0600 Message-Id: <199804202055.OAA02553@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Amancio Hasty Cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun & FreeBSD? In-Reply-To: <199804201954.MAA08176@rah.star-gate.com> References: <199804201954.MAA08176@rah.star-gate.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > To Sun: > Is there a way that we can work together so that we can port java > components like: JMF, Java 3D API, Java Plug-In, JWS's native debugger > library, etc... I sent email to my contact at Sun a couple of weeks ago, and so far no response. :( Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Apr 20 14:18:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA22445 for freebsd-java-outgoing; Mon, 20 Apr 1998 14:18:35 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA22338 for ; Mon, 20 Apr 1998 21:18:22 GMT (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id OAA08659; Mon, 20 Apr 1998 14:18:12 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804202118.OAA08659@rah.star-gate.com> To: Nate Williams cc: Amancio Hasty , freebsd-java@FreeBSD.ORG, hasty@rah.star-gate.com Subject: Re: Sun & FreeBSD? In-reply-to: Your message of "Mon, 20 Apr 1998 14:55:28 MDT." <199804202055.OAA02553@mt.sri.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <8656.893107092.1@rah.star-gate.com> Date: Mon, 20 Apr 1998 14:18:12 -0700 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Lets give them a couple of days to respond after that it is a matter of good old fashioned locating the right people with a phone ... Cheers, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Apr 20 15:32:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA11886 for freebsd-java-outgoing; Mon, 20 Apr 1998 15:32:59 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA11843 for ; Mon, 20 Apr 1998 22:32:47 GMT (envelope-from hasty@rah.star-gate.com) Received: (from hasty@localhost) by rah.star-gate.com (8.8.8/8.8.8) id PAA09227 for freebsd-java@freebsd.org; Mon, 20 Apr 1998 15:32:44 -0700 (PDT) (envelope-from hasty) Date: Mon, 20 Apr 1998 15:32:44 -0700 (PDT) From: Amancio Hasty Message-Id: <199804202232.PAA09227@rah.star-gate.com> To: freebsd-java@FreeBSD.ORG Subject: Symantec Corp? Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org http://www.symantec.com/ My understanding is that Sun licensed Symantec's JIT for both Solaris and Win95. We need to get in touch with Symantec to see if it is possible for Symantec to port their JIT to FreeBSD or maybe allow one of us to port . Right now, I am looking for a Symantec contact. Tnks, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Apr 20 16:30:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA24817 for freebsd-java-outgoing; Mon, 20 Apr 1998 16:30:55 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from oznet07.ozemail.com.au (oznet07.ozemail.com.au [203.2.192.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA24640 for ; Mon, 20 Apr 1998 23:29:45 GMT (envelope-from joe.shevland@horizonti.com) Received: from fac_c1292 (pc111.slt.tased.edu.au [147.41.72.111]) by oznet07.ozemail.com.au (8.8.4/8.6.12) with SMTP id JAA26078 for ; Tue, 21 Apr 1998 09:29:24 +1000 (EST) Message-ID: <353BDA52.3953@horizonti.com> Date: Tue, 21 Apr 1998 09:29:22 +1000 From: Joe Shevland Reply-To: joe.shevland@horizonti.com Organization: Horizon Techonologies International X-Mailer: Mozilla 3.0 (WinNT; I) MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: Activator/Java Plug-in Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Is anyone in the FBSD Java team in cahoots with Sun on the Java Activator technology (now called the Java Plug-in, I believe)? I'm not sure if the mechanism to download Sun's JVM would differ much on FBSD (as opposed to Solaris) apart from the actual binary code downloaded. -- Joe Shevland Horizon Technologies International Team Leader L7, 65 Murray Street, Hobart TAS 7000 WWW: http://www.HorizonTechnologies.com Email: Joe.Shevland@Horizonti.com Phone: +61-3-6231-9335 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Apr 20 17:43:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA09806 for freebsd-java-outgoing; Mon, 20 Apr 1998 17:43:50 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.cyber.koganei.tokyo.jp (ns.cyber.koganei.tokyo.jp [210.161.69.210]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA09673 for ; Tue, 21 Apr 1998 00:43:05 GMT (envelope-from skonno@cyber.koganei.tokyo.jp) Received: from ns ([192.168.0.6]) by ns.cyber.koganei.tokyo.jp (8.8.7/3.6Wbeta7) with SMTP id JAA00585 for ; Tue, 21 Apr 1998 09:24:31 +0900 (JST) Message-ID: <001601bd6cba$3e7fed50$0600a8c0@ns.cyber.koganei.tokyo.jp> From: "Satoshi Konno" To: Date: Tue, 21 Apr 1998 09:12:59 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org help To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 21 23:13:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA24364 for freebsd-java-outgoing; Tue, 21 Apr 1998 23:13:57 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from mail.kcwc.com (h1.kcwc.com [206.139.252.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA24303 for ; Wed, 22 Apr 1998 06:13:40 GMT (envelope-from tomchapp@intelenet.net) Received: from tom-tchapp.intelenet.net by mail.kcwc.com (NX5.67c/NeXT-2.0-KCWC-1.0) id AA02228; Wed, 22 Apr 98 02:13:38 -0400 Reply-To: From: "Tom Chappell" To: Subject: RE: Sun & FreeBSD? Date: Tue, 21 Apr 1998 23:13:09 -0700 Message-Id: <000601bd6db5$b8e27940$840726cf@tom.livesystems.com> 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 8.5, Build 4.71.2173.0 In-Reply-To: <199804201954.MAA08176@rah.star-gate.com> X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > To Sun: > Is there a way that we can work together so that we can port java > components like: JMF, Java 3D API, Java Plug-In, JWS's native debugger > library, etc... > Guys- Not that I'm complaining or anything, but why don't you hold off worrying about those other technologies until you've got your current Java port solid? It seems kind of half-baked at the moment (in the sense of 'well begun'). -TC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 21 23:58:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA09336 for freebsd-java-outgoing; Tue, 21 Apr 1998 23:58:48 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from cimlogic.com.au (cimlogic.com.au [203.36.2.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA09280 for ; Wed, 22 Apr 1998 06:58:33 GMT (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.5/8.8.7) id QAA01719; Wed, 22 Apr 1998 16:57:26 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199804220657.QAA01719@cimlogic.com.au> Subject: Re: Sun & FreeBSD? In-Reply-To: <000601bd6db5$b8e27940$840726cf@tom.livesystems.com> from Tom Chappell at "Apr 21, 98 11:13:09 pm" To: tom.chappell@industryfigure.com Date: Wed, 22 Apr 1998 16:57:26 +1000 (EST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (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 Tom Chappell wrote: > Not that I'm complaining or anything, but why don't you hold off worrying > about those other technologies until you've got your current Java port > solid? It seems kind of half-baked at the moment (in the sense of 'well > begun'). Err, I'll bite. What is "half-baked" about it? There must be something I'm missing. I'm surpised that you'd think that. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 21 23:59:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA09509 for freebsd-java-outgoing; Tue, 21 Apr 1998 23:59:29 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA09474 for ; Wed, 22 Apr 1998 06:59:23 GMT (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id XAA17842; Tue, 21 Apr 1998 23:59:14 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804220659.XAA17842@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: tom.chappell@industryfigure.com cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun & FreeBSD? In-reply-to: Your message of "Tue, 21 Apr 1998 23:13:09 PDT." <000601bd6db5$b8e27940$840726cf@tom.livesystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 21 Apr 1998 23:59:14 -0700 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Three things: 1. We are waiting for JDK1.1.6 which is supposed to have many bug fixes 2. Acquisition of technology sometimes takes a while and in some cases we may not be able to get hold of it. Part of JMF involves codecs such as H.263 which I am sure we will never be able to get hold of from Sun mostly due to licensing issues surrounding codecs such H.263. 3. We work on the areas that we like. Cheers, Amancio > > > To Sun: > > Is there a way that we can work together so that we can port java > > components like: JMF, Java 3D API, Java Plug-In, JWS's native debugger > > library, etc... > > > > Guys- > > Not that I'm complaining or anything, but why don't you hold off worrying > about those other technologies until you've got your current Java port > solid? It seems kind of half-baked at the moment (in the sense of 'well > begun'). > > -TC > > > 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 Apr 22 02:04:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA01549 for freebsd-java-outgoing; Wed, 22 Apr 1998 02:04:42 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from mail.kcwc.com (h1.kcwc.com [206.139.252.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA01543 for ; Wed, 22 Apr 1998 09:04:37 GMT (envelope-from tomchapp@intelenet.net) Received: from tom-tchapp.intelenet.net by mail.kcwc.com (NX5.67c/NeXT-2.0-KCWC-1.0) id AA02345; Wed, 22 Apr 98 05:04:33 -0400 Reply-To: From: "Tom Chappell" Cc: Subject: RE: Sun & FreeBSD? Date: Wed, 22 Apr 1998 02:04:04 -0700 Message-Id: <000c01bd6dcd$997d7060$840726cf@tom.livesystems.com> 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 8.5, Build 4.71.2173.0 In-Reply-To: <199804220657.QAA01719@cimlogic.com.au> X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Tom Chappell wrote: > > Not that I'm complaining or anything, but why don't you hold > off worrying > > about those other technologies until you've got your current Java port > > solid? It seems kind of half-baked at the moment (in the sense of 'well > > begun'). > > John Birrell [mailto:jb@cimlogic.com.au] replied: > Err, I'll bite. What is "half-baked" about it? > > There must be something I'm missing. I'm surpised that you'd think that. First off, let me say that I haven't done a lick of work on this project myself. As Amancio Hasty said, you folks are free to work on what you like, just as I am free to fix the problems I'm complaining about, if I'm so inclined. But as to the question of why I characterized it as only well-begun, as opposed to being completed and ready for additional enhancements, I must say that I am astonished at your surprise. I say that because I've had trouble running most of the larger Java applications that I've tried to run on the current build. Are you saying that you haven't had the same experience? I had assumed that it was universal. To be clear, what I'm saying is that most of the larger Java programs that I try to run with the current build mostly work, but exhibit bugs not seen on other Java platforms. Here are some notable items from the http://www.FreeBSD.org/java page itself: "This is a pre-release version..." "jdk1.1.5.V98-2-25.tar.gz appears to have some difficult-to-track-down socket bugs." "There are a few known bugs which occur when tested against the supplied demos. They do not bomb out, but display error messages. The most common occurs when you start appletviewer: java in free(): warning: chunk is already free. *or* java in free(): warning: chunk is already free." "There is also a 'signal abort' error that occurs at random times." Again, you folks have done a great job taking it this far, but as a FreeBSD user, I just wish that the port was a little closer to production quality (of the same quality as FreeBSD itself, say). Do what you want, I was just trying to let you know that I'd love to use it if it was ready to use. -TC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 03:32:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA11715 for freebsd-java-outgoing; Wed, 22 Apr 1998 03:32:25 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from hotpoint.dcs.qmw.ac.uk (hotpoint.dcs.qmw.ac.uk [138.37.88.162]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA11692 for ; Wed, 22 Apr 1998 10:32:14 GMT (envelope-from scott@dcs.qmw.ac.uk) Received: from brunos-sun.dcs.qmw.ac.uk [138.37.88.185]; by hotpoint.dcs.qmw.ac.uk (8.8.7/8.8.5/S-4.0) with SMTP; id LAA21520; Wed, 22 Apr 1998 11:32:08 +0100 (BST) Date: Wed, 22 Apr 1998 11:32:08 +0100 (BST) Message-Id: <199804221032.LAA21520@hotpoint.dcs.qmw.ac.uk> Received: locally by brunos-sun (SMI-8.6/QMW-client-3.2b); poster "scott"; id LAA14199; Wed, 22 Apr 1998 11:28:15 +0100 From: Scott Mitchell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Cc: Subject: RE: Sun & FreeBSD? In-Reply-To: <000c01bd6dcd$997d7060$840726cf@tom.livesystems.com> References: <199804220657.QAA01719@cimlogic.com.au> <000c01bd6dcd$997d7060$840726cf@tom.livesystems.com> X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tom Chappell said: >But as to the question of why I characterized it as only well-begun, as >opposed to being completed and ready for additional enhancements, I must say >that I am astonished at your surprise. I say that because I've had trouble >running most of the larger Java applications that I've tried to run on the >current build. Are you saying that you haven't had the same experience? I >had assumed that it was universal. To be clear, what I'm saying is that >most of the larger Java programs that I try to run with the current build >mostly work, but exhibit bugs not seen on other Java platforms. [...] Which applications, and what exactly do they do wrong? The FreeBSD JDK hasn't done anything particularly odd in my experience -- although I haven't used it for anything large except my own code (which does tend to make the IRIX JDK curl up its little toes and die). Scott. -- =========================================================================== Scott Mitchell | PGP Key ID |"If I can't have my coffee, I'm just | 0x54B171B9 | like a dried up piece of roast goat" QMW College, London, UK | 0xAA775B8B | -- J. S. Bach. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 03:34:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA11880 for freebsd-java-outgoing; Wed, 22 Apr 1998 03:34:08 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from hotpoint.dcs.qmw.ac.uk (hotpoint.dcs.qmw.ac.uk [138.37.88.162]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA11859 for ; Wed, 22 Apr 1998 10:34:04 GMT (envelope-from scott@dcs.qmw.ac.uk) Received: from brunos-sun.dcs.qmw.ac.uk [138.37.88.185]; by hotpoint.dcs.qmw.ac.uk (8.8.7/8.8.5/S-4.0) with SMTP; id LAA21692; Wed, 22 Apr 1998 11:33:38 +0100 (BST) Date: Wed, 22 Apr 1998 11:33:38 +0100 (BST) Message-Id: <199804221033.LAA21692@hotpoint.dcs.qmw.ac.uk> Received: locally by brunos-sun (SMI-8.6/QMW-client-3.2b); poster "scott"; id LAA14201; Wed, 22 Apr 1998 11:29:45 +0100 From: Scott Mitchell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Amancio Hasty Cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun & FreeBSD? In-Reply-To: <199804220659.XAA17842@rah.star-gate.com> References: <000601bd6db5$b8e27940$840726cf@tom.livesystems.com> <199804220659.XAA17842@rah.star-gate.com> X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Amancio Hasty said: >Three things: > >1. We are waiting for JDK1.1.6 which is supposed to have many bug fixes >2. Acquisition of technology sometimes takes a while and in some > cases we may not be able to get hold of it. Part of JMF involves > codecs such as H.263 which I am sure we will never be able to > get hold of from Sun mostly due to licensing issues surrounding > codecs such H.263. >3. We work on the areas that we like. > > Cheers, > Amancio [...] Just out of curiosity, what (if any) are the plans for 1.2, considering that the final release will be out RSN? Scott. -- =========================================================================== Scott Mitchell | PGP Key ID |"If I can't have my coffee, I'm just | 0x54B171B9 | like a dried up piece of roast goat" QMW College, London, UK | 0xAA775B8B | -- J. S. Bach. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 08:55:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA06138 for freebsd-java-outgoing; Wed, 22 Apr 1998 08:55:40 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA06106 for ; Wed, 22 Apr 1998 15:55:35 GMT (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.8.8/8.8.8) with SMTP id JAA16098; Wed, 22 Apr 1998 09:55:35 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA03743; Wed, 22 Apr 1998 09:55:32 -0600 Date: Wed, 22 Apr 1998 09:55:32 -0600 Message-Id: <199804221555.JAA03743@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Cc: Subject: RE: Sun & FreeBSD? In-Reply-To: <000601bd6db5$b8e27940$840726cf@tom.livesystems.com> References: <199804201954.MAA08176@rah.star-gate.com> <000601bd6db5$b8e27940$840726cf@tom.livesystems.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Is there a way that we can work together so that we can port java > > components like: JMF, Java 3D API, Java Plug-In, JWS's native debugger > > library, etc... ... > Not that I'm complaining or anything, but why don't you hold off worrying > about those other technologies until you've got your current Java port > solid? I don't know, I'm pretty happy with the current state of the port. I and many other use it for *real* paid work. Yes, I know of bugs in it, but I also know of bugs in my code as well. That doesn't mean I'm not willing to keep looking at fixing them, but the known bugs in the current port occur rarely, and are no worse than the known bugs in all JDK ports. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 09:04:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA08482 for freebsd-java-outgoing; Wed, 22 Apr 1998 09:04:58 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA08464 for ; Wed, 22 Apr 1998 16:04:53 GMT (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.8.8/8.8.8) with SMTP id KAA16174; Wed, 22 Apr 1998 10:04:49 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA03807; Wed, 22 Apr 1998 10:04:47 -0600 Date: Wed, 22 Apr 1998 10:04:47 -0600 Message-Id: <199804221604.KAA03807@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Cc: Subject: RE: Sun & FreeBSD? In-Reply-To: <000c01bd6dcd$997d7060$840726cf@tom.livesystems.com> References: <199804220657.QAA01719@cimlogic.com.au> <000c01bd6dcd$997d7060$840726cf@tom.livesystems.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > But as to the question of why I characterized it as only well-begun, as > opposed to being completed and ready for additional enhancements, I must say > that I am astonished at your surprise. I say that because I've had trouble > running most of the larger Java applications that I've tried to run on the > current build. Did you have problems running them, or did you get error messages when you ran them? > Are you saying that you haven't had the same experience? Not at all. :) I consider my application one of the larger Java applications around. I think we're close to 8MB of source now, not including the 3rd party libraries (PSE/PRO, Swing, Javachart, OrbixWeb/CORBA libraries, some other minor ones.) > I > had assumed that it was universal. To be clear, what I'm saying is that > most of the larger Java programs that I try to run with the current build > mostly work, but exhibit bugs not seen on other Java platforms. And those bugs would be? > Here are some notable items from the http://www.FreeBSD.org/java page > itself: > > "This is a pre-release version..." > > "jdk1.1.5.V98-2-25.tar.gz appears to have some difficult-to-track-down > socket bugs." Yep, and these bugs *only* appear on certain Java applications. My applications uses Sockets *heavily*, but I never see any problems with the current port. > "There are a few known bugs which occur when tested against the supplied > demos. They do not bomb out, but display error messages. The most common > occurs when you start appletviewer: > java in free(): warning: chunk is already free. FWIW, these are bugs in the JDK. I was just speaking with Steve Byrne yesterday about these, and it turns out that the malloc on the Sun refuses to free already freed memory. However, it simply ignores it, while the FreeBSD malloc lets you know that something bad is occurring. These bugs exist on *all* unix ports as best we can tell, and actually cause problems on Linux because the 2nd free is not ignored. > "There is also a 'signal abort' error that occurs at random times." I'm pretty sure this bug if fixed in the development branch, but since no-one can seem to find us a program that can reproduce this bug, it's difficult to know. I do have a very simply program that reproduces the 'chunk is already free' bug, but I just got it yesterday, and I haven't even sent it to the development list since Steve and I were doing our own sluething (he had already done it all, and I was doing it on my own). However, with the immenint release of JDK1.1.6 looming, I'm simply waiting for it before doing much more work, hoping that it will fix many of the existing bugs we're seeing. I'm a bit more positive about this release, since it's been a long time coming plus it's sole intention is to be a bugfix/stability release. I'm hoping they don't attempt to make it into a '1.2 transition' release and instead follow their original charter. > Again, you folks have done a great job taking it this far, but as a FreeBSD > user, I just wish that the port was a little closer to production quality > (of the same quality as FreeBSD itself, say). These bugs are no greater than the bugs that exist in the JDK, but they are specific to the FreeBSD port (at least, I thought they were until the 'free chunk' bug reports started showing up.) The socket bug is now the only known bug that exists in FreeBSD, and to be honest if I can't reproduce it, I can't fix it. And, I know of *tons* of applications that use networking that work flawlessly under the current JDK/JVM, so it's not a high-priority for me. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 12:05:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA19523 for freebsd-java-outgoing; Wed, 22 Apr 1998 12:05:18 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA19475; Wed, 22 Apr 1998 19:05:02 GMT (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id MAA13834; Wed, 22 Apr 1998 12:05:01 -0700 (PDT) Date: Wed, 22 Apr 1998 12:04:52 -0700 (PDT) From: Tom Bartol To: freebsd-java@FreeBSD.ORG cc: java-port@FreeBSD.ORG, ritter@orbisys.com Subject: JWS2.0/libawt.so trouble 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, I've searched the mail archives for an answer to the problem described below. I found a similar problem recently posted there by jake@checker.org (April 7, 1998) but none of the proposed solutions worked for me and I did not see a follow-up by Jake as to whether it worked for him so here I go with the problem: I've installed JWS 2.0 as per the instructions posted at www.freebsd.org/java (thanks, Amancio!). When I try to run jws as follows: /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/jws I get this: JAVA_HOME = /usr/local/Java-WorkShop2.0/JDK LD_LIBRARY_PATH = /usr/lib:/usr/X11R6/lib:/usr/local/lib: /usr/local/Java-WorkShop2.0/JDK/lib/i386/green_threads: /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin /usr/libexec/ld.so: warning: /usr/X11R6/lib/libXext.so.6.1: minor version 1 older than expected 3, using it anyway cannot stat "/usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/libawt.so" : No such file or directory (libawt.so) java.lang.UnsatisfiedLinkError: no awt in shared library path at java.lang.Runtime.loadLibrary(Runtime.java) at java.lang.System.loadLibrary(System.java) at at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:402) at java.awt.SystemColor.updateSystemColors(SystemColor.java:350) at at sun.jws.WaitFrame.(WaitFrame.java:16) at sun.jws.WaitFrame.showIt(WaitFrame.java:56) at sun.jws.Main.main(Main.java:143) I am running -current SMP as of April 9, I'm using the XiG v4.1 XServer, and jdk1.1.5. /usr/local/Java-WorkShop2.0/JDK is a symlink to /usr/local/jdk1.1.5 and I can run the demo java apps as well as apps I have written just fine. If I make symlinks to /usr/local/jdk1.1.5/lib/i386/green_threads/lib* in /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin then a java process appears in the process table consuming 100% CPU in state RUN but a window never appears. Does anyone have suggestions as to how to fix this? Thanks for your help, Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 12:11:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA20520 for freebsd-java-outgoing; Wed, 22 Apr 1998 12:11:18 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA20510; Wed, 22 Apr 1998 19:11:10 GMT (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.8.8/8.8.8) with SMTP id NAA17545; Wed, 22 Apr 1998 13:11:07 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id NAA05137; Wed, 22 Apr 1998 13:11:06 -0600 Date: Wed, 22 Apr 1998 13:11:06 -0600 Message-Id: <199804221911.NAA05137@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Tom Bartol Cc: freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: References: X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I've searched the mail archives for an answer to the problem described > below. I found a similar problem recently posted there by > jake@checker.org (April 7, 1998) but none of the proposed solutions worked > for me and I did not see a follow-up by Jake as to whether it worked for > him so here I go with the problem: > > I've installed JWS 2.0 as per the instructions posted at > www.freebsd.org/java (thanks, Amancio!). When I try to run jws as > follows: > > /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/jws > > I get this: > > JAVA_HOME = /usr/local/Java-WorkShop2.0/JDK > LD_LIBRARY_PATH = /usr/lib:/usr/X11R6/lib:/usr/local/lib: > /usr/local/Java-WorkShop2.0/JDK/lib/i386/green_threads: > /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin > /usr/libexec/ld.so: warning: /usr/X11R6/lib/libXext.so.6.1: minor version > 1 older than expected 3, using it anyway > cannot stat "/usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/libawt.so" : No > such file or directory (libawt.so) > java.lang.UnsatisfiedLinkError: no awt in shared library path > at java.lang.Runtime.loadLibrary(Runtime.java) > at java.lang.System.loadLibrary(System.java) > at > at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:402) > at java.awt.SystemColor.updateSystemColors(SystemColor.java:350) > at > at sun.jws.WaitFrame.(WaitFrame.java:16) > at sun.jws.WaitFrame.showIt(WaitFrame.java:56) > at sun.jws.Main.main(Main.java:143) Is your DISPLAY environment set? If not, it can't find the graphics stuff. (Don't ask, it's for legal/performance reasons). Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 12:37:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26900 for freebsd-java-outgoing; Wed, 22 Apr 1998 12:37:57 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA26893; Wed, 22 Apr 1998 19:37:54 GMT (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id MAA16761; Wed, 22 Apr 1998 12:37:46 -0700 (PDT) Date: Wed, 22 Apr 1998 12:37:25 -0700 (PDT) From: Tom Bartol To: Nate Williams cc: freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: <199804221911.NAA05137@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 On Wed, 22 Apr 1998, Nate Williams wrote: > > I've searched the mail archives for an answer to the problem described > > below. I found a similar problem recently posted there by > > jake@checker.org (April 7, 1998) but none of the proposed solutions worked > > for me and I did not see a follow-up by Jake as to whether it worked for > > him so here I go with the problem: > > > > I've installed JWS 2.0 as per the instructions posted at > > www.freebsd.org/java (thanks, Amancio!). When I try to run jws as > > follows: > > > > /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/jws > > > > I get this: > > > > JAVA_HOME = /usr/local/Java-WorkShop2.0/JDK > > LD_LIBRARY_PATH = /usr/lib:/usr/X11R6/lib:/usr/local/lib: > > /usr/local/Java-WorkShop2.0/JDK/lib/i386/green_threads: > > /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin > > /usr/libexec/ld.so: warning: /usr/X11R6/lib/libXext.so.6.1: minor version > > 1 older than expected 3, using it anyway > > cannot stat "/usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/libawt.so" : No > > such file or directory (libawt.so) > > java.lang.UnsatisfiedLinkError: no awt in shared library path > > at java.lang.Runtime.loadLibrary(Runtime.java) > > at java.lang.System.loadLibrary(System.java) > > at > > at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:402) > > at java.awt.SystemColor.updateSystemColors(SystemColor.java:350) > > at > > at sun.jws.WaitFrame.(WaitFrame.java:16) > > at sun.jws.WaitFrame.showIt(WaitFrame.java:56) > > at sun.jws.Main.main(Main.java:143) > > Is your DISPLAY environment set? If not, it can't find the graphics > stuff. (Don't ask, it's for legal/performance reasons). > > > > Nate Yes my DISPLAY environment variable is set to :0.0 I've tried setting it to the fully qualified name of my machine and that didn't help either. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 13:49:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA19500 for freebsd-java-outgoing; Wed, 22 Apr 1998 13:49:31 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA19405; Wed, 22 Apr 1998 20:49:22 GMT (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.8.8/8.8.8) with SMTP id OAA18262; Wed, 22 Apr 1998 14:49:20 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id OAA05643; Wed, 22 Apr 1998 14:49:17 -0600 Date: Wed, 22 Apr 1998 14:49:17 -0600 Message-Id: <199804222049.OAA05643@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Tom Bartol Cc: Nate Williams , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: References: <199804221911.NAA05137@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > I've installed JWS 2.0 as per the instructions posted at > > > www.freebsd.org/java (thanks, Amancio!). When I try to run jws as > > > follows: > > > > > > /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/jws > > > > > > I get this: > > > > > > JAVA_HOME = /usr/local/Java-WorkShop2.0/JDK > > > LD_LIBRARY_PATH = /usr/lib:/usr/X11R6/lib:/usr/local/lib: > > > /usr/local/Java-WorkShop2.0/JDK/lib/i386/green_threads: > > > /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin > > > /usr/libexec/ld.so: warning: /usr/X11R6/lib/libXext.so.6.1: minor version > > > 1 older than expected 3, using it anyway > > > cannot stat "/usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/libawt.so" : No > > > such file or directory (libawt.so) > > > java.lang.UnsatisfiedLinkError: no awt in shared library path > > > at java.lang.Runtime.loadLibrary(Runtime.java) > > > at java.lang.System.loadLibrary(System.java) > > > at > > > at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:402) > > > at java.awt.SystemColor.updateSystemColors(SystemColor.java:350) > > > at > > > at sun.jws.WaitFrame.(WaitFrame.java:16) > > > at sun.jws.WaitFrame.showIt(WaitFrame.java:56) > > > at sun.jws.Main.main(Main.java:143) > > > > Is your DISPLAY environment set? If not, it can't find the graphics > > stuff. (Don't ask, it's for legal/performance reasons). > > Yes my DISPLAY environment variable is set to :0.0 > I've tried setting it to the fully qualified name of my machine and that > didn't help either. Hmm, how is JWS calling 'java'? It appears to not be calling it with the DISPLAY environment set. :( Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 14:21:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA01120 for freebsd-java-outgoing; Wed, 22 Apr 1998 14:21:07 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA01048; Wed, 22 Apr 1998 21:20:55 GMT (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id OAA25975; Wed, 22 Apr 1998 14:20:52 -0700 (PDT) Date: Wed, 22 Apr 1998 14:20:29 -0700 (PDT) From: Tom Bartol To: Nate Williams cc: freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: <199804222049.OAA05643@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 On Wed, 22 Apr 1998, Nate Williams wrote: > > > > I've installed JWS 2.0 as per the instructions posted at > > > > www.freebsd.org/java (thanks, Amancio!). When I try to run jws as > > > > follows: > > > > > > > > /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/jws > > > > > > > > I get this: > > > > > > > > JAVA_HOME = /usr/local/Java-WorkShop2.0/JDK > > > > LD_LIBRARY_PATH = /usr/lib:/usr/X11R6/lib:/usr/local/lib: > > > > /usr/local/Java-WorkShop2.0/JDK/lib/i386/green_threads: > > > > /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin > > > > /usr/libexec/ld.so: warning: /usr/X11R6/lib/libXext.so.6.1: minor version > > > > 1 older than expected 3, using it anyway > > > > cannot stat "/usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/libawt.so" : No > > > > such file or directory (libawt.so) > > > > java.lang.UnsatisfiedLinkError: no awt in shared library path > > > > at java.lang.Runtime.loadLibrary(Runtime.java) > > > > at java.lang.System.loadLibrary(System.java) > > > > at > > > > at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:402) > > > > at java.awt.SystemColor.updateSystemColors(SystemColor.java:350) > > > > at > > > > at sun.jws.WaitFrame.(WaitFrame.java:16) > > > > at sun.jws.WaitFrame.showIt(WaitFrame.java:56) > > > > at sun.jws.Main.main(Main.java:143) > > > > > > Is your DISPLAY environment set? If not, it can't find the graphics > > > stuff. (Don't ask, it's for legal/performance reasons). > > > > Yes my DISPLAY environment variable is set to :0.0 > > I've tried setting it to the fully qualified name of my machine and that > > didn't help either. > > Hmm, how is JWS calling 'java'? It appears to not be calling it with > the DISPLAY environment set. :( > > > Nate > I just modified the jws startup_wrapper to output the java command line and this is what I get: /usr/local/Java-WorkShop2.0/JDK/bin/i386/green_threads/java -classpath "/usr/local/Java-WorkShop2.0/JWS/lib/jws_patch.zip: /usr/local/Java-WorkShop2.0/JWS/lib/jws.zip: /usr/local/Java-WorkShop2.0/JDK/lib/classes.zip: /usr/local/Java-WorkShop2.0/JWS/classes: /home/bartol/.jws2.0/ImportedComponents/classes: /home/bartol/.jws2.0/PlugIns/classes: /usr/local/Java-WorkShop2.0/JWS/PlugIns/classes" -Djws.build.classes="/usr/local/Java-WorkShop2.0/JDK/lib/classes.zip" -Djws.classes="/usr/local/Java-WorkShop2.0/JWS/lib/jws_patch.zip: /usr/local/Java-WorkShop2.0/JWS/lib/jws.zip: /usr/local/Java-WorkShop2.0/JWS/classes" -Djws.home="/usr/local/Java-WorkShop2.0/JWS" -Dhotjava.home="/usr/local/Java-WorkShop2.0/JWS" -Djws.bin="/usr/local/Java-WorkShop2.0/JWS/intel-S2/bin" -Djdk.bin="/usr/local/Java-WorkShop2.0/JDK/bin" -Djws.ut.user=bartol -Djws.variant="intel-S2" -Djws.ut.platform="SunOS" -ms5m -ss384k -noclassgc -noasyncgc -Djws.startcmd=jws.showwin.mainide -Djws.xdisplay=:0.0 sun.jws.Main It looks like it's setting jws.xdisplay to the correct value. Is this the variable you were referring to? Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 14:31:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA04181 for freebsd-java-outgoing; Wed, 22 Apr 1998 14:31:00 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA04111; Wed, 22 Apr 1998 21:30:42 GMT (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id OAA22295; Wed, 22 Apr 1998 14:30:14 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804222130.OAA22295@rah.star-gate.com> To: Tom Bartol cc: Nate Williams , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com, hasty@rah.star-gate.com Subject: Re: JWS2.0/libawt.so trouble In-reply-to: Your message of "Wed, 22 Apr 1998 12:37:25 PDT." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22292.893280613.1@rah.star-gate.com> Date: Wed, 22 Apr 1998 14:30:13 -0700 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Do you have JAVA_HOME set? It should point to your java installation... rah - /mnt/java/JWS/JWS/intel-S2/bin > echo $JAVA_HOME /usr/local/jdk1.1.5/javasrc/build Cheers, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 14:34:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA05233 for freebsd-java-outgoing; Wed, 22 Apr 1998 14:34:58 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA05077; Wed, 22 Apr 1998 21:34:15 GMT (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id OAA27217; Wed, 22 Apr 1998 14:34:03 -0700 (PDT) Date: Wed, 22 Apr 1998 14:33:39 -0700 (PDT) From: Tom Bartol To: Amancio Hasty cc: Nate Williams , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: <199804222130.OAA22295@rah.star-gate.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 Yes JAVA_HOME is set to: JAVA_HOME = /usr/local/jdk1.1.5 Tom On Wed, 22 Apr 1998, Amancio Hasty wrote: > Hi, > Do you have JAVA_HOME set? > > It should point to your java installation... > > rah - /mnt/java/JWS/JWS/intel-S2/bin > echo $JAVA_HOME > /usr/local/jdk1.1.5/javasrc/build > > Cheers, > Amancio > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 15:13:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA13825 for freebsd-java-outgoing; Wed, 22 Apr 1998 15:13:38 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA13627; Wed, 22 Apr 1998 22:12:47 GMT (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.8.8/8.8.8) with SMTP id QAA18954; Wed, 22 Apr 1998 16:12:21 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id QAA06399; Wed, 22 Apr 1998 16:12:18 -0600 Date: Wed, 22 Apr 1998 16:12:18 -0600 Message-Id: <199804222212.QAA06399@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Tom Bartol Cc: Nate Williams , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: References: <199804222049.OAA05643@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I just modified the jws startup_wrapper to output the java command line > and this is what I get: > > /usr/local/Java-WorkShop2.0/JDK/bin/i386/green_threads/java -classpath Why is java being run out of there? If the JDK is installed there, then you need to change JAVA_HOME to point there. (I don't know what's going on with regard to Amancio's changes/patches, so forgive me.) > -Djws.xdisplay=:0.0 sun.jws.Main > > It looks like it's setting jws.xdisplay to the correct value. Is this the > variable you were referring to? No, I'm referring to the 'DISPLAY' variable, which is part of your shell and is used by the java shell script to use the 'appropriate' JVM. (One doesn't contain any linkage for the X stuff, hence the original error.) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 15:37:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA20446 for freebsd-java-outgoing; Wed, 22 Apr 1998 15:37:35 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA20398; Wed, 22 Apr 1998 22:37:28 GMT (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id PAA03436; Wed, 22 Apr 1998 15:37:25 -0700 (PDT) Date: Wed, 22 Apr 1998 15:37:00 -0700 (PDT) From: Tom Bartol To: Nate Williams cc: freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com, hasty@rah.star-gate.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: <199804222212.QAA06399@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 On Wed, 22 Apr 1998, Nate Williams wrote: > > I just modified the jws startup_wrapper to output the java command line > > and this is what I get: > > > > /usr/local/Java-WorkShop2.0/JDK/bin/i386/green_threads/java -classpath > > Why is java being run out of there? If the JDK is installed there, then > you need to change JAVA_HOME to point there. (I don't know what's going > on with regard to Amancio's changes/patches, so forgive me.) > /usr/local/Java-WorkShop2.0/JDK is a symlink to /usr/local/jdk1.1.5 so this is fine. If I set JAVA_HOME to point directly at /usr/local/jdk1.1.5 Then I get: /usr/local/jdk1.1.5/bin/i386/green_threads/java -classpath ... And jws still fails so that's not it. > > -Djws.xdisplay=:0.0 sun.jws.Main > > > > It looks like it's setting jws.xdisplay to the correct value. Is this the > > variable you were referring to? > > No, I'm referring to the 'DISPLAY' variable, which is part of your shell > and is used by the java shell script to use the 'appropriate' JVM. (One > doesn't contain any linkage for the X stuff, hence the original error.) > > > Nate Well, my DISPLAY shell variable _IS_ set to :0.0 as I originally stated. Inside the startup_wrapper for jws $DISPLAY is being picked up properly and passed on the java command line as far as I can tell in the -Djws.xdisplay=:0.0 argument to java. If this is not what you mean by passing the DISPLAY environment variable to java then please spell out what you mean and/or what the command line to java should look like (sorry for the frustrated tone of this e-mail, thanks for your help!) Perhaps Amancio can shed more light here? Thank you very much, Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 15:45:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA22822 for freebsd-java-outgoing; Wed, 22 Apr 1998 15:45:37 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA22782; Wed, 22 Apr 1998 22:45:23 GMT (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.8.8/8.8.8) with SMTP id QAA19219; Wed, 22 Apr 1998 16:45:20 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id QAA06639; Wed, 22 Apr 1998 16:45:13 -0600 Date: Wed, 22 Apr 1998 16:45:13 -0600 Message-Id: <199804222245.QAA06639@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Tom Bartol Cc: Nate Williams , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com, hasty@rah.star-gate.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: References: <199804222212.QAA06399@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > I just modified the jws startup_wrapper to output the java command line > > > and this is what I get: > > > > > > /usr/local/Java-WorkShop2.0/JDK/bin/i386/green_threads/java -classpath > > > > Why is java being run out of there? If the JDK is installed there, then > > you need to change JAVA_HOME to point there. (I don't know what's going > > on with regard to Amancio's changes/patches, so forgive me.) > > > > /usr/local/Java-WorkShop2.0/JDK is a symlink to /usr/local/jdk1.1.5 so > this is fine. If I set JAVA_HOME to point directly at /usr/local/jdk1.1.5 > Then I get: > > /usr/local/jdk1.1.5/bin/i386/green_threads/java -classpath ... > > And jws still fails so that's not it. It *should* setup the environment correctly then, since /usr/local/Java-Workshop2.0/JDK/lib/i386/green_threads/*so should contain the correct libraries. Is that indeed the case? Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 16:20:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA29369 for freebsd-java-outgoing; Wed, 22 Apr 1998 16:20:12 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA29355; Wed, 22 Apr 1998 23:20:07 GMT (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id QAA07578; Wed, 22 Apr 1998 16:20:05 -0700 (PDT) Date: Wed, 22 Apr 1998 16:19:40 -0700 (PDT) From: Tom Bartol To: Nate Williams cc: freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com, hasty@rah.star-gate.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: <199804222245.QAA06639@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 On Wed, 22 Apr 1998, Nate Williams wrote: > > > > I just modified the jws startup_wrapper to output the java command line > > > > and this is what I get: > > > > > > > > /usr/local/Java-WorkShop2.0/JDK/bin/i386/green_threads/java -classpath > > > > > > Why is java being run out of there? If the JDK is installed there, then > > > you need to change JAVA_HOME to point there. (I don't know what's going > > > on with regard to Amancio's changes/patches, so forgive me.) > > > > > > > /usr/local/Java-WorkShop2.0/JDK is a symlink to /usr/local/jdk1.1.5 so > > this is fine. If I set JAVA_HOME to point directly at /usr/local/jdk1.1.5 > > Then I get: > > > > /usr/local/jdk1.1.5/bin/i386/green_threads/java -classpath ... > > > > And jws still fails so that's not it. > > It *should* setup the environment correctly then, since > /usr/local/Java-Workshop2.0/JDK/lib/i386/green_threads/*so should > contain the correct libraries. Is that indeed the case? > > > > Nate Yes, "ls /usr/local/Java-WorkShop2.0/JDK/lib/i386/green_threads/*so" looks like: libagent.so* libjpeg.so* libnet_g.so* libagent_g.so* libjpeg_g.so* libsysresource.so* libawt.so* libmath.so* libsysresource_g.so* libawt_g.so* libmath_g.so* libtawt.so* libjava.so* libmmedia.so* libtawt_g.so* libjava_g.so* libmmedia_g.so* libzip.so* libjogl.so@ libnet.so* libzip_g.so* and as you can see libawt.so is right where it's supposed to be. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 16:22:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA29930 for freebsd-java-outgoing; Wed, 22 Apr 1998 16:22:28 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA29919; Wed, 22 Apr 1998 23:22:22 GMT (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.8.8/8.8.8) with SMTP id RAA19498; Wed, 22 Apr 1998 17:22:18 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id RAA06888; Wed, 22 Apr 1998 17:22:16 -0600 Date: Wed, 22 Apr 1998 17:22:16 -0600 Message-Id: <199804222322.RAA06888@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Tom Bartol Cc: Nate Williams , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com, hasty@rah.star-gate.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: References: <199804222245.QAA06639@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > It *should* setup the environment correctly then, since > > /usr/local/Java-Workshop2.0/JDK/lib/i386/green_threads/*so should > > contain the correct libraries. Is that indeed the case? ... > Yes, "ls /usr/local/Java-WorkShop2.0/JDK/lib/i386/green_threads/*so" looks > like: ... > libawt.so* libmath.so* libsysresource_g.so* Ok, how do you run JWS again? Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 16:27:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA00811 for freebsd-java-outgoing; Wed, 22 Apr 1998 16:27:25 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA00801; Wed, 22 Apr 1998 23:27:22 GMT (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id QAA08239; Wed, 22 Apr 1998 16:27:20 -0700 (PDT) Date: Wed, 22 Apr 1998 16:26:54 -0700 (PDT) From: Tom Bartol To: Nate Williams cc: freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com, hasty@rah.star-gate.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: <199804222322.RAA06888@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 On Wed, 22 Apr 1998, Nate Williams wrote: > > > It *should* setup the environment correctly then, since > > > /usr/local/Java-Workshop2.0/JDK/lib/i386/green_threads/*so should > > > contain the correct libraries. Is that indeed the case? > ... > > Yes, "ls /usr/local/Java-WorkShop2.0/JDK/lib/i386/green_threads/*so" looks > > like: > ... > > libawt.so* libmath.so* libsysresource_g.so* > > Ok, how do you run JWS again? > > > Nate I type: /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/jws which is not in my path. /usr/local/jdk1.1.5/bin is in my path. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 16:36:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA02087 for freebsd-java-outgoing; Wed, 22 Apr 1998 16:36:37 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from sag.space.lockheed.com (sag.space.lockheed.com [192.68.162.134]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA02082 for ; Wed, 22 Apr 1998 23:36:36 GMT (envelope-from handy@sag.space.lockheed.com) Received: from localhost by sag.space.lockheed.com; (5.65v3.2/1.1.8.2/21Nov95-0423PM) id AA12745; Wed, 22 Apr 1998 16:35:37 -0700 Date: Wed, 22 Apr 1998 16:35:37 -0700 (PDT) From: Brian Handy To: freebsd-java@FreeBSD.ORG Subject: JCAM Message-Id: X-Files: The truth is out there Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Forwarded to me from someone who got it from someone who got it from a friend who got it from a linux list somewhere... Brian ------------------- JCam - a single software program for (almost) all OSes and (almost) all Digital Cameras ... The first public release of JCam is now available from "www.jcam.com", featuring support for Digital Still Cameras from Epsom, Casio, Kodak and coming soon, Fuji, Samsung and Olympus. JCam is currently available for Win95, WinNT and Linux 2.0 ... future versions will offer - subject to demand - support for Mac, OS-2, PPC and a range of other Unices. JCam requires Java 1.1 to be installed on the host machine; later versions will be available bundled with the JRE, simplifying installation for non-Java users. For more details about supported cameras, etc, please E-Mail to info@jcam.com or visit the Web Page at "www.jcam.com" ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 16:43:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA03429 for freebsd-java-outgoing; Wed, 22 Apr 1998 16:43:16 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA03332; Wed, 22 Apr 1998 23:42:23 GMT (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.8.8/8.8.8) with SMTP id RAA19656; Wed, 22 Apr 1998 17:42:18 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id RAA07109; Wed, 22 Apr 1998 17:42:14 -0600 Date: Wed, 22 Apr 1998 17:42:14 -0600 Message-Id: <199804222342.RAA07109@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Tom Bartol Cc: Nate Williams , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com, hasty@rah.star-gate.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: References: <199804222322.RAA06888@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Ok, how do you run JWS again? > > I type: > > /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/jws > > which is not in my path. /usr/local/jdk1.1.5/bin is in my path. Ok. Give me a second to go look at the jws script..... Well, this is at least part of the problem, if not all of it. # Check for java interpreter. # JAVA_VM=${JAVA_VM:-"java"} javaloc="${_SS_JDK_HOME}/bin/${V_ARCH}/${THREADS_FLAG}_threads" if [ -x "${javaloc}/${JAVA_VM}" ] ; then JAVA="${javaloc}/${JAVA_VM}" else echo "`${GETTEXT} 'Error: Cannot find Java VM:'` ${javaloc}/${JAVA_VM}" 1>&2 exit 1 fi It's invoking java *directly*, which is a bad thing since it should be using the script in ${__SS_JDK_HOME}, not in the sub-directory. This script is overly complex. :( In any case, the *easy* fix for this is as follows: # Check for java interpreter. # JAVA_VM=${JAVA_VM:-"java_X"} ^^^^^^ That should do the trick. The other solution would be to move javaloc completely out of the picture, and have it use the *script*, which it's supposed to do. ;( # Check for java interpreter. # JAVA_VM=${JAVA_VM:-"java"} javaloc="${_SS_JDK_HOME}/bin/" ^^^^^^^^^^^^^^^^^^^^ That is the 'portable' solution, but I'm not sure if it'll work. (It should.) Let me know 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 Wed Apr 22 16:48:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA04322 for freebsd-java-outgoing; Wed, 22 Apr 1998 16:48:30 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA04273; Wed, 22 Apr 1998 23:48:25 GMT (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id QAA10119; Wed, 22 Apr 1998 16:48:14 -0700 (PDT) Date: Wed, 22 Apr 1998 16:47:48 -0700 (PDT) From: Tom Bartol To: Nate Williams cc: freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com, hasty@rah.star-gate.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: <199804222342.RAA07109@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 On Wed, 22 Apr 1998, Nate Williams wrote: > > > Ok, how do you run JWS again? > > > > I type: > > > > /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/jws > > > > which is not in my path. /usr/local/jdk1.1.5/bin is in my path. > > Ok. Give me a second to go look at the jws script..... > > Well, this is at least part of the problem, if not all of it. > > # Check for java interpreter. > # > JAVA_VM=${JAVA_VM:-"java"} > javaloc="${_SS_JDK_HOME}/bin/${V_ARCH}/${THREADS_FLAG}_threads" > if [ -x "${javaloc}/${JAVA_VM}" ] ; then > JAVA="${javaloc}/${JAVA_VM}" > else > echo "`${GETTEXT} 'Error: Cannot find Java VM:'` ${javaloc}/${JAVA_VM}" 1>&2 > exit 1 > fi > > It's invoking java *directly*, which is a bad thing since it should be > using the script in ${__SS_JDK_HOME}, not in the sub-directory. This > script is overly complex. :( > > In any case, the *easy* fix for this is as follows: > > # Check for java interpreter. > # > JAVA_VM=${JAVA_VM:-"java_X"} > ^^^^^^ > That should do the trick. The other solution would be to move javaloc > completely out of the picture, and have it use the *script*, which it's > supposed to do. ;( > # Check for java interpreter. > # > JAVA_VM=${JAVA_VM:-"java"} > javaloc="${_SS_JDK_HOME}/bin/" > ^^^^^^^^^^^^^^^^^^^^ > That is the 'portable' solution, but I'm not sure if it'll work. (It > should.) > > Let me know if that helps. > > > Nate I'm heading home on the train now. I'll try this out on my laptop enroute and e-mail you later with the results... Standby... Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 17:11:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA10110 for freebsd-java-outgoing; Wed, 22 Apr 1998 17:11:48 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA10105 for ; Thu, 23 Apr 1998 00:11:42 GMT (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id RAA23064; Wed, 22 Apr 1998 17:11:27 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804230011.RAA23064@rah.star-gate.com> To: Brian Handy cc: freebsd-java@FreeBSD.ORG, hasty@rah.star-gate.com Subject: Re: JCAM In-reply-to: Your message of "Wed, 22 Apr 1998 16:35:37 PDT." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23061.893290287.1@rah.star-gate.com> Date: Wed, 22 Apr 1998 17:11:27 -0700 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sounds like a nice pet project for the evening . Can't till I get home and I hope that the source for their native library interface is available . If I manage to do it tonite perhaps I will have to rename the app to JMovie 8) (Don't mind me I have been spending a few good ours on video capture driver Bt848) Cheers, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 21:05:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA24876 for freebsd-java-outgoing; Wed, 22 Apr 1998 21:05:50 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA24857; Thu, 23 Apr 1998 04:05:41 GMT (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id VAA24135; Wed, 22 Apr 1998 21:05:30 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804230405.VAA24135@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Tom Bartol cc: Nate Williams , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com Subject: Re: JWS2.0/libawt.so trouble In-reply-to: Your message of "Wed, 22 Apr 1998 15:37:00 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 22 Apr 1998 21:05:29 -0700 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, In startup_wrapper add this: # Determine _SS_JDK_HOME & JAVA_HOME settings. # . "${_SS_JWS_HOME}"/solaris/bin/locate_dirs JAVA_HOME="${_SS_JDK_HOME}" echo $JAVA_HOME export JAVA_HOME # Set Paths # .... Start the java interpreter. # PLATFORM=FreeBSD echo "JAVA $JAVA" echo "RUNCLASSPATH $RUNCLASSPATH" echo "CLASSPATH $CLASSPATH" echo "JWSPATH $JWSPATH" eval exec "${JAVA}" \ -classpath \"${RUNCLASSPATH}\" \ -Djws.build.classes=\"${CLASSPATH}\" \ -Djws.classes=\"${JWSPATH}\" \ .... When I execute jws , I get this: hasty} jws /usr/local/jdk1.1.5/javasrc/build JAVA /usr/local/jdk1.1.5/javasrc/build/bin/i386/green_threads/java RUNCLASSPATH /mnt/java/JWS/JWS/lib/jws_patch.zip:/mnt/java/JWS/JWS/lib/jws.zip: /usr/local/jdk1.1.5/javasrc/build/classes:/mnt/java/JWS/JWS/classes:/home/hasty /.jws2.0/ImportedComponents/classes:/home/hasty/.jws2.0/PlugIns/classes:/mnt/ja va/JWS/JWS/PlugIns/classes CLASSPATH /usr/home/hasty/Visaj/visaj.jar:/mnt/java/usr/work/java/swing-1.0/mot if.jar:/usr/work/java/swing-1.0/multi.jar:/usr/work/java/swing-1.0/windows.jar: /usr/work/java/swing-1.0/swing.jar:/usr/local/jdk1.1.5/javasrc/build/classes JWSPATH /mnt/java/usr/work/java/swing-1.0/motif.jar:/usr/work/java/swing-1.0/mu lti.jar:/usr/work/java/swing-1.0/windows.jar:/usr/work/java/swing-1.0/swing.jar :/mnt/java/JWS/JWS/lib/jws_patch.zip:/mnt/java/JWS/JWS/lib/jws.zip:/mnt/java/JW S/JWS/classes Tnks, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 22 22:17:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA24876 for freebsd-java-outgoing; Wed, 22 Apr 1998 21:05:50 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA24857; Thu, 23 Apr 1998 04:05:41 GMT (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id VAA24135; Wed, 22 Apr 1998 21:05:30 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804230405.VAA24135@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Tom Bartol cc: Nate Williams , freebsd-java@FreeBSD.org, java-port@FreeBSD.org, ritter@orbisys.com Subject: Re: JWS2.0/libawt.so trouble In-reply-to: Your message of "Wed, 22 Apr 1998 15:37:00 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 22 Apr 1998 21:05:29 -0700 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.org Hi, In startup_wrapper add this: # Determine _SS_JDK_HOME & JAVA_HOME settings. # . "${_SS_JWS_HOME}"/solaris/bin/locate_dirs JAVA_HOME="${_SS_JDK_HOME}" echo $JAVA_HOME export JAVA_HOME # Set Paths # .... Start the java interpreter. # PLATFORM=FreeBSD echo "JAVA $JAVA" echo "RUNCLASSPATH $RUNCLASSPATH" echo "CLASSPATH $CLASSPATH" echo "JWSPATH $JWSPATH" eval exec "${JAVA}" \ -classpath \"${RUNCLASSPATH}\" \ -Djws.build.classes=\"${CLASSPATH}\" \ -Djws.classes=\"${JWSPATH}\" \ .... When I execute jws , I get this: hasty} jws /usr/local/jdk1.1.5/javasrc/build JAVA /usr/local/jdk1.1.5/javasrc/build/bin/i386/green_threads/java RUNCLASSPATH /mnt/java/JWS/JWS/lib/jws_patch.zip:/mnt/java/JWS/JWS/lib/jws.zip: /usr/local/jdk1.1.5/javasrc/build/classes:/mnt/java/JWS/JWS/classes:/home/hasty /.jws2.0/ImportedComponents/classes:/home/hasty/.jws2.0/PlugIns/classes:/mnt/ja va/JWS/JWS/PlugIns/classes CLASSPATH /usr/home/hasty/Visaj/visaj.jar:/mnt/java/usr/work/java/swing-1.0/mot if.jar:/usr/work/java/swing-1.0/multi.jar:/usr/work/java/swing-1.0/windows.jar: /usr/work/java/swing-1.0/swing.jar:/usr/local/jdk1.1.5/javasrc/build/classes JWSPATH /mnt/java/usr/work/java/swing-1.0/motif.jar:/usr/work/java/swing-1.0/mu lti.jar:/usr/work/java/swing-1.0/windows.jar:/usr/work/java/swing-1.0/swing.jar :/mnt/java/JWS/JWS/lib/jws_patch.zip:/mnt/java/JWS/JWS/lib/jws.zip:/mnt/java/JW S/JWS/classes Tnks, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 23 01:57:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA01762 for freebsd-java-outgoing; Thu, 23 Apr 1998 01:57:32 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from chico.franken.de (dns.franken.de [193.175.24.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA01744; Thu, 23 Apr 1998 01:56:57 -0700 (PDT) (envelope-from scratchy@yavin.franken.de) Received: by chico.franken.de (Smail3.2 #2) id m0ySHo5-005CIdC; Thu, 23 Apr 1998 10:56:37 +0200 (MET DST) Received: from vulcan.franken.de(194.94.248.10) via SMTP by chico.franken.de, id smtpd001666; Thu Apr 23 10:56:29 1998 Received: from yavin.franken.de (yavin.franken.de [194.94.248.13]) by vulcan.franken.de (8.8.8/8.8.8) with ESMTP id KAA00860; Thu, 23 Apr 1998 10:57:53 +0200 (CEST) (envelope-from scratchy@yavin.franken.de) Received: from yavin.franken.de (localhost.franken.de [127.0.0.1]) by yavin.franken.de (8.8.8/8.8.8) with ESMTP id KAA00610; Thu, 23 Apr 1998 10:57:27 +0200 (CEST) (envelope-from scratchy@yavin.franken.de) Message-Id: <199804230857.KAA00610@yavin.franken.de> X-Mailer: exmh version 2.0.2 2/24/98 To: Nate Williams cc: Tom Bartol , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com, hasty@rah.star-gate.com Subject: Re: JWS2.0/libawt.so trouble In-reply-to: Your message of "Wed, 22 Apr 1998 17:42:14 MDT." <199804222342.RAA07109@mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 23 Apr 1998 10:57:27 +0200 From: Volker Paepcke Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > Ok, how do you run JWS again? > > > > I type: > > > > /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/jws > > > > which is not in my path. /usr/local/jdk1.1.5/bin is in my path. > > Ok. Give me a second to go look at the jws script..... > > Well, this is at least part of the problem, if not all of it. > > # Check for java interpreter. > # > JAVA_VM=${JAVA_VM:-"java"} > javaloc="${_SS_JDK_HOME}/bin/${V_ARCH}/${THREADS_FLAG}_threads" > if [ -x "${javaloc}/${JAVA_VM}" ] ; then > JAVA="${javaloc}/${JAVA_VM}" > else > echo "`${GETTEXT} 'Error: Cannot find Java VM:'` ${javaloc}/${JAVA_VM}" 1>&2 > exit 1 > fi > > It's invoking java *directly*, which is a bad thing since it should be > using the script in ${__SS_JDK_HOME}, not in the sub-directory. This > script is overly complex. :( > > In any case, the *easy* fix for this is as follows: > > # Check for java interpreter. > # > JAVA_VM=${JAVA_VM:-"java_X"} > ^^^^^^ > That should do the trick. The other solution would be to move javaloc > completely out of the picture, and have it use the *script*, which it's > supposed to do. ;( > # Check for java interpreter. > # > JAVA_VM=${JAVA_VM:-"java"} > javaloc="${_SS_JDK_HOME}/bin/" > ^^^^^^^^^^^^^^^^^^^^ > That is the 'portable' solution, but I'm not sure if it'll work. (It > should.) > > Let me know if that helps. > > > Nate > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > Hi! I just want to say, that I had exactly the same problem as Tom Barto! The second fix (the 'portable' solution) works fine for me now :-) I assume that the THREADS_TYPE environment variable must be set for the JVM to find the correct libraries. Setting the LD_LIBRARAY_PATH is not enough. I just downloaded the 2.0a extensions from sun, has anybody got this one running already? Thanks! volker To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 23 08:24:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA16060 for freebsd-java-outgoing; Thu, 23 Apr 1998 08:24:26 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA15930 for ; Thu, 23 Apr 1998 08:24:02 -0700 (PDT) (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.8.8/8.8.8) with SMTP id JAA25177; Thu, 23 Apr 1998 09:23:55 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA09410; Thu, 23 Apr 1998 09:23:17 -0600 Date: Thu, 23 Apr 1998 09:23:17 -0600 Message-Id: <199804231523.JAA09410@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Volker Paepcke Cc: Nate Williams , Tom Bartol , freebsd-java@FreeBSD.ORG Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: <199804230857.KAA00610@yavin.franken.de> References: <199804222342.RAA07109@mt.sri.com> <199804230857.KAA00610@yavin.franken.de> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > That should do the trick. The other solution would be to move javaloc > > completely out of the picture, and have it use the *script*, which it's > > supposed to do. ;( > > # Check for java interpreter. > > # > > JAVA_VM=${JAVA_VM:-"java"} > > javaloc="${_SS_JDK_HOME}/bin/" > > ^^^^^^^^^^^^^^^^^^^^ > > That is the 'portable' solution, but I'm not sure if it'll work. (It > > should.) ... > The second fix (the 'portable' solution) works fine for me now :-) Great! > I assume that the THREADS_TYPE environment variable must > be set for the JVM to find the correct libraries. Setting the > LD_LIBRARAY_PATH is not enough. Actually, no. We just took the need for such things out, since it's non-portable. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 23 10:19:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA14065 for freebsd-java-outgoing; Thu, 23 Apr 1998 10:19:52 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA14052 for ; Thu, 23 Apr 1998 10:19:48 -0700 (PDT) (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id KAA06834; Thu, 23 Apr 1998 10:17:43 -0700 (PDT) Date: Thu, 23 Apr 1998 10:17:39 -0700 (PDT) From: Tom Bartol To: Nate Williams cc: Volker Paepcke , freebsd-java@FreeBSD.ORG, hasty@rah.star-gate.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: <199804231523.JAA09410@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 On Thu, 23 Apr 1998, Nate Williams wrote: > > > That should do the trick. The other solution would be to move javaloc > > > completely out of the picture, and have it use the *script*, which it's > > > supposed to do. ;( > > > # Check for java interpreter. > > > # > > > JAVA_VM=${JAVA_VM:-"java"} > > > javaloc="${_SS_JDK_HOME}/bin/" > > > ^^^^^^^^^^^^^^^^^^^^ > > > That is the 'portable' solution, but I'm not sure if it'll work. (It > > > should.) > ... > > The second fix (the 'portable' solution) works fine for me now :-) > > Great! > > > I assume that the THREADS_TYPE environment variable must > > be set for the JVM to find the correct libraries. Setting the > > LD_LIBRARAY_PATH is not enough. > > Actually, no. We just took the need for such things out, since it's > non-portable. > > > > Nate Hi all, I can also confirm that changing the definition of javaloc to: javaloc="${_SS_JDK_HOME}/bin" (note that there is _NO_ terminating / in the definition) fixed the problem for me -- Thanks Nate for all your help and the extremely rapid turn-around! Sorry I didn't get back to you last night as promised. I found that I needed a break once I got home. I now have jws running great. Thanks Amancio for your postings on how to get it running! I did find that I had to change the preference for "Builder" to "Use JDK java compiler (standard)" in the "Preferences" menu in order to actual build a package. Once I did this I could build the checkers demo applet and it ran just fine! This is excellent! O.K. On to installing the Swing bits... Thanks again, Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 23 10:34:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA17411 for freebsd-java-outgoing; Thu, 23 Apr 1998 10:34:05 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA17371 for ; Thu, 23 Apr 1998 10:33:59 -0700 (PDT) (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.8.8/8.8.8) with SMTP id LAA26164; Thu, 23 Apr 1998 11:33:53 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id LAA10203; Thu, 23 Apr 1998 11:33:50 -0600 Date: Thu, 23 Apr 1998 11:33:50 -0600 Message-Id: <199804231733.LAA10203@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Tom Bartol Cc: Nate Williams , Volker Paepcke , freebsd-java@FreeBSD.ORG, hasty@rah.star-gate.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: References: <199804231523.JAA09410@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I can also confirm that changing the definition of javaloc to: > > javaloc="${_SS_JDK_HOME}/bin" Great. I'll update the shell script in the tar.gz file. (Done.) > (note that there is _NO_ terminating / in the definition) Whoops, my bad. You are right, although it shouldn't hurt to add it. (The fix doesn't have one). Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 23 10:58:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA20589 for freebsd-java-outgoing; Thu, 23 Apr 1998 10:58:13 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA20584 for ; Thu, 23 Apr 1998 10:58:12 -0700 (PDT) (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id KAA10557; Thu, 23 Apr 1998 10:56:02 -0700 (PDT) Date: Thu, 23 Apr 1998 10:55:58 -0700 (PDT) From: Tom Bartol To: Nate Williams cc: Volker Paepcke , freebsd-java@FreeBSD.ORG, hasty@rah.star-gate.com Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: <199804231733.LAA10203@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 On Thu, 23 Apr 1998, Nate Williams wrote: > > I can also confirm that changing the definition of javaloc to: > > > > javaloc="${_SS_JDK_HOME}/bin" > > Great. I'll update the shell script in the tar.gz file. (Done.) > > > (note that there is _NO_ terminating / in the definition) > > Whoops, my bad. You are right, although it shouldn't hurt to add it. > (The fix doesn't have one). > > > > > Nate Great, thanks! Oh, while you're at it I also noticed that the locate_dirs script in the jwspatch.tar.gz file had a typo (or was corrupted) on the first line. The copy I got had a "2" as it's first line which I changed to: #!/bin/sh Also the jws script needed to have its #!/bin/sh -h changed to: #!/usr/local/bin/bash -h Neither the linux patch nor the freebsd patch included this fix. What the heck is this "-h" anyways. Neither the bash man page nor a SunOS sh man page discusses it as far as I could see. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 23 11:37:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA29997 for freebsd-java-outgoing; Thu, 23 Apr 1998 11:37:47 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA29978; Thu, 23 Apr 1998 11:37:43 -0700 (PDT) (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id LAA14321; Thu, 23 Apr 1998 11:37:43 -0700 (PDT) Date: Thu, 23 Apr 1998 11:37:34 -0700 (PDT) From: Tom Bartol To: freebsd-java@FreeBSD.ORG cc: java-port@FreeBSD.ORG, ritter@orbisys.com Subject: Trouble installing SwingSet in JWS 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, O.K. Here we go again... I grabbed swing-1.0.1 from Sun and installed it. Now when I try to get JWS to see it using "Import Components to Palette..." I get the following error in the Java WorkShop Java Console: java.lang.OutOfMemoryError at java.util.Hashtable.rehash(Hashtable.java) at java.util.Hashtable.put(Hashtable.java) at sunsoft.jws.visual.designer.loader.VJClassLoader.setDefinition(VJClassLoader.java:72) at sunsoft.jws.visual.designer.loader.VJJarLoader.defineIt(VJJarLoader.java:362) at sunsoft.jws.visual.designer.loader.VJJarLoader.(VJJarLoader.java:249) at sunsoft.jws.visual.designer.loader.VJJarLoader.getVJJarLoader(VJJarLoader.java:113) at sunsoft.jws.visual.designer.loader.VJJarLoader.getVJJarLoader(VJJarLoader.java:85) at sunsoft.jws.visual.designer.importer.ImportBeans.loadJar(ImportBeans.java:811) at sunsoft.jws.visual.designer.importer.ImportBeans.trigger(ImportBeans.java:133) at sunw.kfc.beans.filebrowser.FileBrowserPanel.notifyListenersAux(FileBrowserPanel.java:162) at sunw.kfc.beans.filebrowser.FileBrowserPanel.notifyListeners(FileBrowserPanel.java:170) at sunw.kfc.beans.filebrowser.FileBrowserPanel.actionPerformed(FileBrowserPanel.java:196) at java.awt.Button.processActionEvent(Button.java:254) at java.awt.Button.processEvent(Button.java:227) at java.awt.Component.dispatchEventImpl(Component.java:1764) at java.awt.Component.dispatchEvent(Component.java:1704) at java.awt.EventDispatchThread.run(EventDispatchThread.java:63) Visual Palette Editor Log : Error: This jar file swingall.jar is not loadable or introspectable. Soooo, what am I doing wrong here? Thanks, Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 23 13:08:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA16406 for freebsd-java-outgoing; Thu, 23 Apr 1998 13:08:25 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA16400 for ; Thu, 23 Apr 1998 13:08:23 -0700 (PDT) (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.8.8/8.8.8) with SMTP id OAA27255; Thu, 23 Apr 1998 14:08:19 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id OAA10908; Thu, 23 Apr 1998 14:08:16 -0600 Date: Thu, 23 Apr 1998 14:08:16 -0600 Message-Id: <199804232008.OAA10908@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Tom Bartol Cc: Nate Williams , freebsd-java@FreeBSD.ORG Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: References: <199804231733.LAA10203@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Great, thanks! Oh, while you're at it I also noticed that the locate_dirs > script in the jwspatch.tar.gz file had a typo (or was corrupted) on the > first line. The copy I got had a "2" as it's first line which I changed > to: > > #!/bin/sh Done. > Also the jws script needed to have its #!/bin/sh -h changed to: > > #!/usr/local/bin/bash -h It's right now set to: #!/usr/local/bin/bash -h -x Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 23 13:12:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA17360 for freebsd-java-outgoing; Thu, 23 Apr 1998 13:12:53 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA17331; Thu, 23 Apr 1998 13:12:47 -0700 (PDT) (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.8.8/8.8.8) with SMTP id OAA27299; Thu, 23 Apr 1998 14:12:46 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id OAA10969; Thu, 23 Apr 1998 14:12:43 -0600 Date: Thu, 23 Apr 1998 14:12:43 -0600 Message-Id: <199804232012.OAA10969@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Tom Bartol Cc: freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG Subject: Re: Trouble installing SwingSet in JWS In-Reply-To: References: X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I grabbed swing-1.0.1 from Sun and installed it. Now when I try to get > JWS to see it using "Import Components to Palette..." I get the following > error in the Java WorkShop Java Console: > > > java.lang.OutOfMemoryError This seems pretty obvious to me. > Soooo, what am I doing wrong here? Running out of memory. What are your memory limits set to? Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 23 13:13:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA17533 for freebsd-java-outgoing; Thu, 23 Apr 1998 13:13:42 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA17528 for ; Thu, 23 Apr 1998 13:13:31 -0700 (PDT) (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id NAA23269; Thu, 23 Apr 1998 13:13:23 -0700 (PDT) Date: Thu, 23 Apr 1998 13:12:46 -0700 (PDT) From: Tom Bartol To: Nate Williams cc: freebsd-java@FreeBSD.ORG Subject: Re: JWS2.0/libawt.so trouble In-Reply-To: <199804232008.OAA10908@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 I have the JWS-2.0a extension installed and almost have it working with swing-1.0.1!! I'll let you know when I get it and what I did... Tom On Thu, 23 Apr 1998, Nate Williams wrote: > > Great, thanks! Oh, while you're at it I also noticed that the locate_dirs > > script in the jwspatch.tar.gz file had a typo (or was corrupted) on the > > first line. The copy I got had a "2" as it's first line which I changed > > to: > > > > #!/bin/sh > > Done. > > > Also the jws script needed to have its #!/bin/sh -h changed to: > > > > #!/usr/local/bin/bash -h > > It's right now set to: > > #!/usr/local/bin/bash -h -x > > > Nate > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 23 13:40:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA21505 for freebsd-java-outgoing; Thu, 23 Apr 1998 13:40:05 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA21478; Thu, 23 Apr 1998 13:40:01 -0700 (PDT) (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id NAA25590; Thu, 23 Apr 1998 13:39:56 -0700 (PDT) Date: Thu, 23 Apr 1998 13:39:18 -0700 (PDT) From: Tom Bartol To: Nate Williams cc: freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG Subject: Re: Trouble installing SwingSet in JWS In-Reply-To: <199804232012.OAA10969@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 On Thu, 23 Apr 1998, Nate Williams wrote: > > I grabbed swing-1.0.1 from Sun and installed it. Now when I try to get > > JWS to see it using "Import Components to Palette..." I get the following > > error in the Java WorkShop Java Console: > > > > > > java.lang.OutOfMemoryError > > This seems pretty obvious to me. > > > Soooo, what am I doing wrong here? > > Running out of memory. What are your memory limits set to? > > > Nate That was my first guess as well but that's not it. After installing the JWS-2.0a extension (which Sun claims is required to support JFC-1.1/swing-1.0.1) I noticed that the new startup_wrapper that it comes with does the following: max_heap="-mx128m" ... java_opts="${max_heap} ${initial_heap} ${c_stack_size} ${java_opts}" So I added this to our freebsd startup_wrapper and, Shazamm!! The "Import Components to Palette..." function opens swingall.jar just fine now. It claims to have found 33 Beans in the file and the sets of widgets appear in the left hand half of the Import window. Now I just have to read the docs on how to add these to the existing palette on the right side of the window... Give me a minute... O.K. I've just read the help on how to do it and have just tried but now I get this error message in the java console: Visual Palette Editor Log : Failure locating Class for com.sun.java.swing.JMenuBarShadow and I get this message in my shell window: ELF binary type not known Which make it look like the visual palette editor is trying to run one of the ELF solaris binaries that come with JWS and not a FreeBSD one. It does say which binary it is trying to run. Any ideas on how to progress past this one now? Thanks, Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 23 13:52:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA23569 for freebsd-java-outgoing; Thu, 23 Apr 1998 13:52:29 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA23556; Thu, 23 Apr 1998 13:52:25 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id NAA27940; Thu, 23 Apr 1998 13:52:11 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804232052.NAA27940@rah.star-gate.com> To: Tom Bartol cc: Nate Williams , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, hasty@rah.star-gate.com Subject: Re: Trouble installing SwingSet in JWS In-reply-to: Your message of "Thu, 23 Apr 1998 13:39:18 PDT." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <27937.893364731.1@rah.star-gate.com> Date: Thu, 23 Apr 1998 13:52:11 -0700 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Grab a bean widget set from the net and practice with it for 1/2 hour so . when I get home I try to back track to see what I did to include swing into JWS also not all swing classes are supported by JWS --- sorry I am at work and I don't have the list of unsupported swing classes in JWS however I am sure that the docs for jws does mention a few of them. Cheers, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 23 14:13:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA26745 for freebsd-java-outgoing; Thu, 23 Apr 1998 14:13:47 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA26737; Thu, 23 Apr 1998 14:13:39 -0700 (PDT) (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.8.8/8.8.8) with SMTP id PAA27761; Thu, 23 Apr 1998 15:13:34 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id PAA11336; Thu, 23 Apr 1998 15:13:32 -0600 Date: Thu, 23 Apr 1998 15:13:32 -0600 Message-Id: <199804232113.PAA11336@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Tom Bartol Cc: Nate Williams , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG Subject: Re: Trouble installing SwingSet in JWS In-Reply-To: References: <199804232012.OAA10969@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > java.lang.OutOfMemoryError > > > > This seems pretty obvious to me. > > > > > Soooo, what am I doing wrong here? > > > > Running out of memory. What are your memory limits set to? > > That was my first guess as well but that's not it. After installing the > JWS-2.0a extension (which Sun claims is required to support > JFC-1.1/swing-1.0.1) I noticed that the new startup_wrapper that it comes > with does the following: > > max_heap="-mx128m" > > java_opts="${max_heap} ${initial_heap} ${c_stack_size} ${java_opts}" > > > So I added this to our freebsd startup_wrapper and, Shazamm!! The "Import Components to > Palette..." function opens swingall.jar just fine now. So, you were running out of memory. :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 23 14:20:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA27833 for freebsd-java-outgoing; Thu, 23 Apr 1998 14:20:19 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA27826; Thu, 23 Apr 1998 14:20:15 -0700 (PDT) (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id OAA29419; Thu, 23 Apr 1998 14:20:12 -0700 (PDT) Date: Thu, 23 Apr 1998 14:19:34 -0700 (PDT) From: Tom Bartol To: Nate Williams cc: freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG Subject: Re: Trouble installing SwingSet in JWS In-Reply-To: <199804232113.PAA11336@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 On Thu, 23 Apr 1998, Nate Williams wrote: > > > > java.lang.OutOfMemoryError > > > > > > This seems pretty obvious to me. > > > > > > > Soooo, what am I doing wrong here? > > > > > > Running out of memory. What are your memory limits set to? > > > > That was my first guess as well but that's not it. After installing the > > JWS-2.0a extension (which Sun claims is required to support > > JFC-1.1/swing-1.0.1) I noticed that the new startup_wrapper that it comes > > with does the following: > > > > max_heap="-mx128m" > > > > java_opts="${max_heap} ${initial_heap} ${c_stack_size} ${java_opts}" > > > > > > So I added this to our freebsd startup_wrapper and, Shazamm!! The "Import Components to > > Palette..." function opens swingall.jar just fine now. > > So, you were running out of memory. :) > > > > Nate > Funny guy ;-) Any comment on the rest of question? Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Apr 24 10:28:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA07764 for freebsd-java-outgoing; Fri, 24 Apr 1998 10:28:42 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA07757; Fri, 24 Apr 1998 10:28:37 -0700 (PDT) (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id KAA12392; Fri, 24 Apr 1998 10:28:25 -0700 (PDT) Date: Fri, 24 Apr 1998 10:28:24 -0700 (PDT) From: Tom Bartol To: Amancio Hasty cc: Nate Williams , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG Subject: Re: Trouble installing SwingSet in JWS In-Reply-To: <199804232052.NAA27940@rah.star-gate.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 On Thu, 23 Apr 1998, Amancio Hasty wrote: > Hi, > > Grab a bean widget set from the net and practice with it for > 1/2 hour so . when I get home I try to back track to see what > I did to include swing into JWS also not all swing classes > are supported by JWS --- sorry I am at work and I don't have > the list of unsupported swing classes in JWS however I am > sure that the docs for jws does mention a few of them. > > Cheers, > Amancio > Hi Amancio, Have you had a chance yet to recall how you installed swing? I've installed the JWS-2.0a extension so this might help make more of the swing widgets work with JWS. I still can't get swing to install in JWS. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Apr 25 00:43:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA21305 for freebsd-java-outgoing; Sat, 25 Apr 1998 00:43:42 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA21297; Sat, 25 Apr 1998 00:43:40 -0700 (PDT) (envelope-from Majordomo-Owner@FreeBSD.ORG) Date: Sat, 25 Apr 1998 00:43:40 -0700 (PDT) Message-Id: <199804250743.AAA21297@hub.freebsd.org> To: freebsd-java From: Majordomo@FreeBSD.ORG Subject: Confirmation for subscribe freebsd-announce Reply-To: Majordomo@FreeBSD.ORG Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -- Please be sure to read the charters before subscribing or sending mail to any FreeBSD mailing list for an explanation of which topics are relevant for a given list and what types of postings are and are not allowed. They may be found at: http://www.freebsd.org/handbook/eresources:charters.html Someone (possibly you) has requested that your email address be added to or deleted from the mailing list "freebsd-announce@FreeBSD.ORG". If you really want this action to be taken, please send the following commands (exactly as shown) back to "Majordomo@FreeBSD.ORG": auth 34d2c7fb subscribe freebsd-announce freebsd-java If you do not want this action to be taken, simply ignore this message and the request will be disregarded. If your mailer will not allow you to send the entire command as a single line, you may split it using backslashes, like so: auth 34d2c7fb subscribe freebsd-announce \ freebsd-java If you have any questions about the policy of the list owner, please contact "freebsd-announce-approval@FreeBSD.ORG". Thanks! Majordomo@FreeBSD.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Apr 25 02:45:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA05029 for freebsd-java-outgoing; Sat, 25 Apr 1998 02:45:57 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA05017; Sat, 25 Apr 1998 02:45:46 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id CAA04630; Sat, 25 Apr 1998 02:45:10 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804250945.CAA04630@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Tom Bartol cc: Nate Williams , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG Subject: Re: Trouble installing SwingSet in JWS In-reply-to: Your message of "Fri, 24 Apr 1998 10:28:24 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 25 Apr 1998 02:45:10 -0700 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Tom, No Joy over here tonite :( Sometimes, when I try to load swing-1.0.1 I get an out of memory error and sometimes I don't so far I have not been able to determine the pattern. Cheers, Amancio > > > > Hi Amancio, > > Have you had a chance yet to recall how you installed swing? I've > installed the JWS-2.0a extension so this might help make more of the swing > widgets work with JWS. I still can't get swing to install in JWS. > > Tom > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Apr 25 08:44:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA07829 for freebsd-java-outgoing; Sat, 25 Apr 1998 08:44:59 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from lab321.ru (anonymous1.omsk.net.ru [194.226.32.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA07787 for ; Sat, 25 Apr 1998 08:44:21 -0700 (PDT) (envelope-from kev@lab321.ru) Received: (from uucp@localhost) by lab321.ru (8.8.5-MVC-230497/8.8.5) id WAA29702 for ; Sat, 25 Apr 1998 22:44:37 +0700 (OSD) Received: from ns.lab321.ru(194.226.33.65), claiming to be "lab321.ru" via SMTP by ns.lab321.ru, id smtpd029698; Sat Apr 25 22:44:35 1998 Date: Sat, 25 Apr 1998 22:44:35 +0700 (OSD) From: Eugeny Kuzakov To: java@FreeBSD.ORG Subject: JDK 1.1.6 is out ! 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 ! :) -- Best wishes, Eugeny Kuzakov Laboratory 321 ( Omsk, Russia ) kev@lab321.ru ICQ#: 5885106 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Apr 25 11:38:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA27338 for freebsd-java-outgoing; Sat, 25 Apr 1998 11:38:00 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA27331; Sat, 25 Apr 1998 11:37:56 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id LAA10456; Sat, 25 Apr 1998 11:37:17 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804251837.LAA10456@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Tom Bartol cc: Nate Williams , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG Subject: Re: Trouble installing SwingSet in JWS In-reply-to: Your message of "Fri, 24 Apr 1998 10:28:24 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 25 Apr 1998 11:37:17 -0700 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Guys, I managed to load swing-1.0.1 and compile all the swing classes on JWS for win95. Not sure what the problem with our jdk version is. I do remember loading the swing set into JWS however I can't seem to recollect what I did. Again, every time that I try to load swing I get a different behavior is not consistent. Sometimes, I run out of memory other times when I managed to load the swing set, JWS fails to compile the swing set and displays the error messages failed to compiled class xxxx. If you do get an out of memory message while loading swing , exit out of jws, restart jws and exit cleanly, run jws again and try to load the swing set. Apparently, if jws fails it keeps information around. Regards, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message