From owner-freebsd-questions@FreeBSD.ORG Tue Jan 25 15:52:23 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 7259216A4CE for ; Tue, 25 Jan 2005 15:52:23 +0000 (GMT) Received: from winger.mail.pas.earthlink.net (winger.mail.pas.earthlink.net [207.217.120.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46BB343D39 for ; Tue, 25 Jan 2005 15:52:23 +0000 (GMT) (envelope-from halla3@corp.earthlink.net) Received: from reserved-role-dmzfront.fw.earthlink.net ([198.185.0.144] helo=[10.30.102.204]) by winger.mail.pas.earthlink.net with esmtp (TLSv1:AES256-SHA:256) (Exim 3.36 #1) id 1CtSzO-00051L-00 for freebsd-questions@freebsd.org; Tue, 25 Jan 2005 07:52:23 -0800 Message-ID: <41F66AE1.6050500@corp.earthlink.net> Date: Tue, 25 Jan 2005 10:50:57 -0500 From: Andrew Hall User-Agent: Mozilla Thunderbird 0.9 (X11/20041111) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <41F53D9A.5020408@corp.earthlink.net> <41F64E8E.9050207@gto.net> In-Reply-To: <41F64E8E.9050207@gto.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: SUMMARY: Re: JDK 1.5 and 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 15:52:23 -0000 Thanks for everyone's replies. Here is what I have learned: Basically the 1.5 JDK is still alpha. There was a messages stating that in the compile, but I did not see it. The browser plugin is not included in the 1.5 JDK at this time. The linux JDK is used to compile the native JDK because of a license issue, and not a technology issue. Drew Jeremy Faulkner wrote: > 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. >