From owner-freebsd-java@FreeBSD.ORG Fri Jul 30 19:28:41 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 CB3BE16A4CE for ; Fri, 30 Jul 2004 19:28:41 +0000 (GMT) Received: from mail.impactonline.org (mail.impactonline.org [192.220.110.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7970943D6A for ; Fri, 30 Jul 2004 19:28:41 +0000 (GMT) (envelope-from aah@roarmouse.org) Received: from [192.168.0.25] (ip-64-139-6-196.dsl.sca.megapath.net [64.139.6.196]) by mail.impactonline.org (8.12.11) id i6UJS5AP089032 for ; Fri, 30 Jul 2004 13:28:05 -0600 (MDT) Message-ID: <410AA0FB.5090207@roarmouse.org> Date: Fri, 30 Jul 2004 12:26:51 -0700 From: Andrew Houghton User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040720) X-Accept-Language: en-us, en MIME-Version: 1.0 To: java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 19:28:41 -0000 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 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. 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. 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.. Is there any chance of getting DragonFly into the list of "officially" supported systems for the native JDK? Thanks, - Andrew