From owner-freebsd-ports@FreeBSD.ORG Thu Apr 21 06:46:30 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6898C1065674 for ; Thu, 21 Apr 2011 06:46:30 +0000 (UTC) (envelope-from bruce@freebsd.zuhause.org) Received: from mailhost.zuhause.org (216.243.156.193.real-time.com [216.243.156.193]) by mx1.freebsd.org (Postfix) with ESMTP id 363998FC23 for ; Thu, 21 Apr 2011 06:46:29 +0000 (UTC) Received: from mailhost (mailhost [10.0.2.231]) by mailhost.zuhause.org (Postfix) with ESMTP id 6E074749E1 for ; Thu, 21 Apr 2011 01:28:17 -0500 (CDT) X-Virus-Scanned: amavisd-new at zuhause.org Received: from mailhost.zuhause.org ([10.0.2.231]) by mailhost (mailhost.zuhause.org [10.0.2.231]) (amavisd-new, port 10024) with ESMTP id DNl9s3SiLgmz for ; Thu, 21 Apr 2011 01:28:15 -0500 (CDT) Received: from nx7400b.zuhause.org (unknown [10.0.2.59]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bruce@zuhause.org) by mailhost.zuhause.org (Postfix) with ESMTPSA id 5836B749DE for ; Thu, 21 Apr 2011 01:28:15 -0500 (CDT) Message-ID: <4DAFCE85.8080600@freebsd.zuhause.org> Date: Thu, 21 Apr 2011 01:28:21 -0500 From: Bruce Albrecht User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.15) Gecko/20110402 Thunderbird/3.1.9 MIME-Version: 1.0 To: FreeBSD Ports Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Java version and JRuby port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2011 06:46:30 -0000 When the JRuby port is installed, it updates the jruby script to force the JAVA_HOME to be the JAVA_HOME the port was built with. I've got both diablo-jdk1.6.0 and openjdk6 installed, but I can't figure out how to force the JRuby port to use openjdk6, and I can't override the JAVA_HOME unless I'm willing to modify the jruby script. Why is this port set up this way? What's the rationale for not allowing JAVA_HOME to be overridden?