From owner-freebsd-current@FreeBSD.ORG Sat May 31 16:01:45 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCDF537B401 for ; Sat, 31 May 2003 16:01:45 -0700 (PDT) Received: from sloth.wcug.wwu.edu (sloth.wcug.wwu.edu [140.160.139.223]) by mx1.FreeBSD.org (Postfix) with SMTP id ED8FC43FA3 for ; Sat, 31 May 2003 16:01:44 -0700 (PDT) (envelope-from cjohnson@wcug.wwu.edu) Received: (qmail 25617 invoked by uid 1089); 31 May 2003 23:03:17 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 31 May 2003 23:03:17 -0000 Date: Sat, 31 May 2003 16:03:17 -0700 (PDT) From: Christopher Johnson To: Dag-Erling Smorgrav In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org cc: Daniel Eischen cc: Norikatsu Shigemura Subject: Re: Native JDK with libthr/libkse X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2003 23:01:46 -0000 On Sat, 31 May 2003, Dag-Erling Smorgrav wrote: > Daniel Eischen writes: > > What are the above error messages? Sorry, I've never been able to > > build native java for FreeBSD. > > # cd /usr/ports/java/jdk13 > # make install clean > > DES > I disagree. I recently built jdk13 on Friday and it died on me, complaining about needing npapi.h. The build instructions did mention downloading the Sun SDK source and eyesbeyond patchset, but did not mention the Qt Netscape Plugin Extension. (I am not a Java programmer, I just like having the Java plugin for Mozilla. I am using 5.1-BETA and mozilla-devel (1.4b).) The fix: 1) Go to http://wp.netscape.com/comprod/development_partners/plugin_api/index.html. 2) Navigate to the "Unix LiveConnect/Plug-in SDK", and download the Plugin SDK. As of today, you can download it directly from: ftp://ftp.netscape.com/pub/sdk/plugin/unix/unix-sdk-3.0b5.tar.Z 3) Extract the headers to a place where the build can find them (I put them in /usr/X11R6/include, I suspect there's a more appropriate place). The headers are in the PluginSDK30b5/include/ directory of the tarball. 4) Voila, jdk13 will build. Chris Johnson cjohnson@wcug.wwu.edu Potestatem obscuri lateris necsis.