From owner-freebsd-chat@FreeBSD.ORG Mon Jul 19 00:10:17 2010 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D79E106564A for ; Mon, 19 Jul 2010 00:10:17 +0000 (UTC) (envelope-from jamie@geniegate.com) Received: from geniegate.com (geniegate.com [65.18.174.84]) by mx1.freebsd.org (Postfix) with ESMTP id E0CE78FC18 for ; Mon, 19 Jul 2010 00:10:16 +0000 (UTC) Received: from geniegate.com (geniegate.com [65.18.174.84]) by geniegate.com (8.14.2/8.14.2) with ESMTP id o6J0E7h0023710 for ; Mon, 19 Jul 2010 00:14:07 GMT (envelope-from jamie@geniegate.com) Received: from localhost (localhost [[UNIX: localhost]]) by geniegate.com (8.14.2/8.14.2/Submit) id o6J0E634023709 for freebsd-chat@freebsd.org; Mon, 19 Jul 2010 00:14:06 GMT (envelope-from jamie@geniegate.com) X-Authentication-Warning: geniegate.com: joe set sender to jamie@geniegate.com using -f Date: Sun, 18 Jul 2010 19:10:14 -0500 From: Jamie To: freebsd-chat@freebsd.org Message-ID: <20100719001014.GC9225@apollo.podro.com> References: <20100718225234.GB9225@apollo.podro.com> <4C438DE8.7060704@langille.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C438DE8.7060704@langille.org> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Java (w/out ports?) X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2010 00:10:17 -0000 On Sun, Jul 18, 2010 at 07:27:36PM -0400, Dan Langille wrote: > On 7/18/2010 6:52 PM, Jamie wrote: > > Are there any documents on the web some-place that explain how > > to install java on freebsd, w/out the ports system? > > > > Over on linux, I used to have /usr/local/jdk1.n and a symlink > > to whichever JDK I was using. I kind of liked it that way, even > > though it was kind of a pain to keep all the paths straight. > > > > Haven't been able to figure out how to do this with FreeBSD, > > any pointers to docs appreciated! > > Why do you wish to do this without the ports system? On some corner cases, I'll typically do this: ./configure --prefix=/usr/local/appname-version ..... .. make install cd /usr/local ln -s appname-version appname This is like one of those emacs -vs- vim things, I've seen some people go absolutely ballastic at the very notion. I've seen it make debian users panic, some folks go absolutely crazy if you even suggest the above for ANYTHING, but I've been doing it for years because, frankly, it "just works". That way, if I upgrade to a new version I can do so w/out interfering with stuff that might already be using the old version, then in one fell swoop, change the symlink to the new version. If things don't pan out so well on the upgrade, change the symlink back to the old version w/out any problems, stuff continues to function while I scratch my head trying to figure out why a given upgrade broke such-n-such. Anyway.. I can't seem to find a way to install the JDK w/out going through ports, will make install PREFIX=/where/i/want work with ports in such a way as to not create a mess later on, such as recording it in the package db and insisting I uninstall it before upgrading, even though the upgrade would be in a different PREFIX? Jamie -- http://www.geniegate.com Custom web programming Perl * Java * UNIX User Management Solutions