From owner-freebsd-questions@FreeBSD.ORG Tue Jan 25 13:45:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5682216A4CE for ; Tue, 25 Jan 2005 13:45:44 +0000 (GMT) Received: from smtp.golden.net (smtp.golden.net [199.166.210.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8FD243D58 for ; Tue, 25 Jan 2005 13:45:43 +0000 (GMT) (envelope-from gldisater@gto.net) Received: from 180-208.speede.golden.net ([216.75.180.208]) by smtp.golden.net with esmtp (Exim 4.22) id 1CtR0p-000Mqa-0d; Tue, 25 Jan 2005 08:45:43 -0500 Message-ID: <41F64E8E.9050207@gto.net> Date: Tue, 25 Jan 2005 08:50:06 -0500 From: Jeremy Faulkner User-Agent: Mozilla Thunderbird 1.0 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Hall References: <41F53D9A.5020408@corp.earthlink.net> In-Reply-To: <41F53D9A.5020408@corp.earthlink.net> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: JDK 1.5 and 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gldisater@gto.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 13:45:44 -0000 Andrew Hall wrote: > Greetings, > > I have a few questions about jdk and 5.3. > > 1. If one does a src compile, it requires that the linux-sun-jdk to be > installed to bootstrap the compile of native jdk. > > Why would freebsd not use a binary version of it's own native jdk to > bootstrap itself? If that's not feasible, then why would the jdk port > not immediately remove all the linux crap that it installs if its not > needed? If something is only temporary, then it should be removed > immediately after use right :)? Sun's licensing terms do not allow the distribution of a binary jdk. The FreeBSD Foundation pushed long and hard to get a license to distribute the diablo-jdk13. I don't know why there hasn't been a diablo-jdk14 released, but I can only assume it involves Sun. > 2. Where did the browser plugin go? In 1.3 and 1.4 I symlinked > /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so to what ever jdk I > was using. For example: > > /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so -> > /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so > > But in 1.5 I don't see this .so, nor does the plugin directory even > exist. Is there a new way I am not aware of? The jdk1.5 port is very young, the patchset-1 was only announced on the 19th: http://lists.freebsd.org/pipermail/freebsd-java/2005-January/003376.html Plugin support was not included with this patchset. Please be patient, the jdk is big and the team porting it is very small. > 3. Since the linux jdk is not necessary, is there an easy way to get a > list of everything that was installed as the req for the native jdk > compile so I may remove it all (and its deps)? pkg_delete knows what to remove and will do as it's told if you pass the -f argument. Read the available documentation before proceeding. -- Jeremy Faulkner