From owner-freebsd-java@FreeBSD.ORG Thu Sep 29 11:19:22 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B01316A41F for ; Thu, 29 Sep 2005 11:19:22 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: from mta07-winn.ispmail.ntl.com (mta07-winn.ispmail.ntl.com [81.103.221.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8623C43D48 for ; Thu, 29 Sep 2005 11:19:20 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: from aamta09-winn.ispmail.ntl.com ([81.103.221.35]) by mta07-winn.ispmail.ntl.com with ESMTP id <20050929111919.OBPF21883.mta07-winn.ispmail.ntl.com@aamta09-winn.ispmail.ntl.com> for ; Thu, 29 Sep 2005 12:19:19 +0100 Received: from jigsaw-sbs02.jigsawhq.com ([213.106.224.113]) by aamta09-winn.ispmail.ntl.com with ESMTP id <20050929111919.JCEE13031.aamta09-winn.ispmail.ntl.com@jigsaw-sbs02.jigsawhq.com> for ; Thu, 29 Sep 2005 12:19:19 +0100 X-Copfilter: Sender is in whitelist, skipped SpamAssassin X-Filtered-With-Copfilter: Version 0.1.0beta11 (ProxSMTP 1.2.1) X-Copfilter-Virus-Scanned: ClamAV 0.86.2/1104 - Wed Sep 28 23:20:40 2005 X-Copfilter: Client is part of our network, skipped SpamAssassin Received: from [192.168.0.181] ([192.168.0.181]) by jigsaw-sbs02.jigsawhq.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 29 Sep 2005 12:18:29 +0100 Message-ID: <433BCD85.10808@ashleymoran.me.uk> Date: Thu, 29 Sep 2005 12:18:29 +0100 From: Ashley Moran User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <433BC658.7000808@ebs.gr> In-Reply-To: <433BC658.7000808@ebs.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Sep 2005 11:18:29.0904 (UTC) FILETIME=[85132100:01C5C4E7] Subject: Re: JBoss ports do not respect the user's JAVA_VERSION X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2005 11:19:22 -0000 Panagiotis Astithas wrote: > The jboss ports build along the jboss3ctl (or jboss4ctl) and hardcode in > it the JAVA_HOME it uses during the build. This makes it impossible to > change the jdk afterwards without rebuilding. > > Unfortunately, it seems that you cannot build jboss3/4 with jdk15, when > you also have jdk14 installed. This is caused by the port specifying the > java version like this: > > JAVA_VERSION= 1.4+ > > I have modified this to: > > JAVA_VERSION?= 1.4+ > > Actually grepping through the java category shows that almost all > java-dependent ports, behave like that. Shouldn't we make a sweep and > fix them all? > > > Panagiotis I had a similar problem. I had to hack my /usr/ports/Mk/bsd.java.mk file to set the preferred JDK to native/1.5 to get tomcat to compile against JDK 1.5. I was wondering when this file will be updated to support the latest JDK (even if native/1.4 is left as the default). Ashley