From owner-freebsd-questions@FreeBSD.ORG Mon Oct 8 00:32:12 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 8081416A41A for ; Mon, 8 Oct 2007 00:32:12 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id 3457E13C45A for ; Mon, 8 Oct 2007 00:32:12 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so2206435pyb for ; Sun, 07 Oct 2007 17:32:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=TUxlnsaZUoYyYPDgrBCBfOHp30hOH0xWHFEbnANYmrU=; b=azszbbNce4M1BGosE+GBM5a2JclK2ccMH07ETiTE933aeEKuyHSFhgBVTeHlK3D9S8ktJ9JgRL2Rsg+j+pvpkp7VpuC9LKDaSbVCksZ8R0WA56yQs3C4TCE7qh4qevgN2LFICQehHvEg7mXh0H9aY9zF8U7S82KcWilpVIM3Cn8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dv5f9cHIMso2ir+tFC0RZxAVUPGlWNeqp1z1vCHxo2387iPaOjcvdDzoqyOpQbHVudA5bCux96yQxDrg0jyla2TQtvdm4rst5mVHri0XqZi6WtMRkIwg3XV+t0sTaxAz8hFXBLpp/2d/L/6OfKsje4IrdMSP6yiemPDrCvcDdbc= Received: by 10.65.155.19 with SMTP id h19mr4031380qbo.1191803531160; Sun, 07 Oct 2007 17:32:11 -0700 (PDT) Received: by 10.65.105.2 with HTTP; Sun, 7 Oct 2007 17:32:11 -0700 (PDT) Message-ID: Date: Mon, 8 Oct 2007 00:32:11 +0000 From: "Aryeh Friedman" To: "Stephen Allen" In-Reply-To: <470971BC.5070505@rowyerboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <470971BC.5070505@rowyerboat.com> Cc: FreeBSD Questions Subject: Re: 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: Mon, 08 Oct 2007 00:32:12 -0000 On 10/7/07, Stephen Allen wrote: > 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? No because javavm will automatically detect the most appropriate one... also all three above are linked to /usr/local/diablo-jre1.5.0/bin/java I think... now a side issue is under some configurations diablo doesn't work for any gui app (non-www based) so you may want to update to jdk-16 or linux-sun-jdk16