From owner-freebsd-questions@FreeBSD.ORG Sun Oct 7 23:54:42 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEA2C16A419 for ; Sun, 7 Oct 2007 23:54:42 +0000 (UTC) (envelope-from sdafreebsduk@rowyerboat.com) Received: from pythagoras.zen.co.uk (pythagoras.zen.co.uk [212.23.3.140]) by mx1.freebsd.org (Postfix) with ESMTP id 81B1013C448 for ; Sun, 7 Oct 2007 23:54:42 +0000 (UTC) (envelope-from sdafreebsduk@rowyerboat.com) Received: from [82.70.166.86] (helo=[192.168.0.200]) by pythagoras.zen.co.uk with esmtp (Exim 4.50) id 1IefxI-0000nc-SE for freebsd-questions@freebsd.org; Sun, 07 Oct 2007 23:54:41 +0000 Message-ID: <470971BC.5070505@rowyerboat.com> Date: Mon, 08 Oct 2007 00:54:36 +0100 From: Stephen Allen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-Pythagoras-IP: [82.70.166.86] Subject: Which java binary to use? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Oct 2007 23:54:42 -0000 I installed the Diablo java packages (http://www.freebsdfoundation.org/downloads/java.shtml), but "which java" shows "/usr/local/bin/java" which is a link to javavm in the same directory. I wondered about changing the link to point to one of these: /usr/local/diablo-jre1.5.0/bin/java /usr/local/diablo-jdk1.5.0/bin/java /usr/local/diablo-jdk1.5.0/jre/bin/java Should I change the link, and which one of these should it point to... the JRE? Many thanks, Steve