From owner-freebsd-java@FreeBSD.ORG Fri Jul 30 23:01:21 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 016AB16A4CE for ; Fri, 30 Jul 2004 23:01:21 +0000 (GMT) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1AEA43D5C for ; Fri, 30 Jul 2004 23:01:20 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from [198.60.22.209] (helo=mgr9.xmission.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1BqgMo-0000MD-02; Fri, 30 Jul 2004 17:00:46 -0600 Received: from [166.70.56.15] (helo=misty.eyesbeyond.com) by mgr9.xmission.com with esmtp (Exim 4.32) id 1BqgMn-00085i-Sm; Fri, 30 Jul 2004 17:00:46 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i6UN0ij3054711; Fri, 30 Jul 2004 17:00:44 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.11/8.12.11/Submit) id i6UN0hkl054710; Fri, 30 Jul 2004 17:00:43 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 30 Jul 2004 17:00:43 -0600 From: Greg Lewis To: Andrew Houghton Message-ID: <20040730230043.GA54639@misty.eyesbeyond.com> References: <410AA0FB.5090207@roarmouse.org> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <410AA0FB.5090207@roarmouse.org> User-Agent: Mutt/1.4.2.1i Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mgr9.xmission.com X-Spam-Level: X-Spam-Status: No, hits=-1.5 required=8.0 tests=BAYES_01 autolearn=no version=2.63 X-SA-Exim-Connect-IP: 166.70.56.15 X-SA-Exim-Mail-From: glewis@eyesbeyond.com X-SA-Exim-Version: 4.0 (built Sat, 24 Apr 2004 12:31:30 +0200) X-SA-Exim-Scanned: Yes (on mgr9.xmission.com) cc: freebsd-java@freebsd.org Subject: Re: native JDK on Dragonfly BSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2004 23:01:21 -0000 On Fri, Jul 30, 2004 at 12:26:51PM -0700, Andrew Houghton wrote: > I've been playing around with DragonFly BSD for a few weeks, and thought > I'd try compiling a native JDK from ports. Surprisingly enough (more on > that later) almost everything seems to work. Admittedly, I'm not doing > deep testing -- but the plugin, the JVM, and javac have handled > everything I've thrown at them, including IntelliJ IDEA, various web > applications, and things like HPJmeter. > > The one place I *am* running into problems is with Java Web Start. When > I try starting it I get: > > Java Web Start splash screen process exiting ..... > Bad installation. No JRE found in configuration file: No such file > or directory I assume that it works on FreeBSD? I must admit I've never tried it. > I traced this message down to line 243 of > /deploy/src/javaws/src/share/native/launcher.c; the helpful comment on > line 241 or so says "This should never happen." > > The closest bug report I found was from Evan Easton: > > http://lists.freebsd.org/mailman/htdig/freebsd-java/2003-December/001403.html > > using his script I was able to get javaws to start, but i still can't > get any of the demo apps to actually run. What errors do they produce? > Now, looking at the patchset there's no mention of DragonFly (not > surprisingly). The reason I was surprised that most things work is that > the patch seems to be making many choices based on system type, and it's > just not clear whether DragonFly defines anything close to the expected > system types. I would guess that DragonFly still defines __FreeBSD__ (probably as 4) so tha tmost things will just work. > So, I'm poking through the patchset and seeing what I can do, but > someone actually familiar with this stuff (i.e., Greg or Alexey) could > do this about a million times faster than I could, I think.. Assuming we had a DragonFly system, maybe so :). > Is there any chance of getting DragonFly into the list of "officially" > supported systems for the native JDK? Yes. The easiest way is to do what you're doing and submit patches when you're done. All other ways involve waiting till someone else does it :). I'll try and have a quick look if I get a chance and let you know if I see anything obvious, but its going to be a little hard without a DragonFly system to test on. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org