From owner-freebsd-questions@FreeBSD.ORG Fri Aug 4 23:11:14 2006 Return-Path: X-Original-To: questions@freebsd.org 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 9F6E916A4DD for ; Fri, 4 Aug 2006 23:11:14 +0000 (UTC) (envelope-from gauthamglist@gmail.com) Received: from saraswati.hathway.com (saraswati.hathway.com [202.88.156.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2668D43D45 for ; Fri, 4 Aug 2006 23:11:14 +0000 (GMT) (envelope-from gauthamglist@gmail.com) Received: from [210.18.149.72] by saraswati.hathway.com (iPlanet Messaging Server 5.2 Patch 1 (built Aug 19 2002)) with ESMTP id <0J3H007PAXKX2C@saraswati.hathway.com> for questions@freebsd.org; Sat, 05 Aug 2006 04:37:46 +0530 (IST) Date: Sat, 05 Aug 2006 04:42:25 +0530 From: Gautham Ganapathy In-reply-to: <44D2973C.5040501@ywave.com> To: Micah Message-id: <1154733145.5551.4.camel@localhost> MIME-version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-type: text/plain Content-transfer-encoding: 7BIT References: <1154644957.16390.5.camel@localhost> <44D2973C.5040501@ywave.com> Cc: questions@freebsd.org Subject: Re: How to build azureus port with diablo-1.5.0-b00 jdk 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: Fri, 04 Aug 2006 23:11:14 -0000 On Thu, 2006-08-03 at 17:39 -0700, Micah wrote: > Gautham Ganapathy wrote: > > Hi > > > > I have installed the diablo jdk package downloaded from the freebsd > > foundation page. Now, when I try to build the azureus port, it also > > tries to build jdk1.4.2 because log4j depends on that port. How can I > > get the ports system to use the installed jdk instead of building 1.4.2? > > I am using freebsd 6.1-release. > log4j doesn't specify a java version, so it should work with any. > azureus, however, is a little more specific and might be the culprit. > > You might be able to fix it by setting one of the java knobs in > make.conf, but since I don't have diablo installed, I couldn't tell you > which one to set. :( Check /usr/local/etc/javavms to see which java VMs > are installed and how javavmwrapper refers to diablo, maybe we can > figure it out from that. > I checked the file. It contains just one line /usr/local/diablo-jdk1.5.0/bin/java # DiabloCaffe I tried changing the JAVA_BUILD and JAVA_RUN variables in the azureus Makefile to diablo-jdk and JAVA_VERSION to 1.5, but it did not work. Any idea what change I need to do to the Makefile. Building azureus or log4j both start the jdk-1.4.2 build Regards Gautham