Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2003 16:03:17 -0700 (PDT)
From:      Christopher Johnson <cjohnson@wcug.wwu.edu>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Norikatsu Shigemura <nork@freebsd.org>
Subject:   Re: Native JDK with libthr/libkse
Message-ID:  <Pine.LNX.4.21.0305311544080.25423-100000@sloth.wcug.wwu.edu>
In-Reply-To: <xzpsmqvladz.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 31 May 2003, Dag-Erling Smorgrav wrote:

> Daniel Eischen <eischen@pcnet.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0305311544080.25423-100000>