Date: Fri, 04 Aug 2006 17:38:30 -0700 From: Micah <micahjon@ywave.com> To: Gautham Ganapathy <gauthamglist@gmail.com> Cc: questions@freebsd.org Subject: Re: How to build azureus port with diablo-1.5.0-b00 jdk Message-ID: <44D3E886.6010603@ywave.com> In-Reply-To: <1154733145.5551.4.camel@localhost> References: <1154644957.16390.5.camel@localhost> <44D2973C.5040501@ywave.com> <1154733145.5551.4.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
Gautham Ganapathy wrote: > 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 > > According to bsd.java.mk and man javavm, I think you want to set JAVA_VENDOR=freebsd, probably in /etc/make.conf. It looks like it defaults to bsdjava. HTH, Micah
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44D3E886.6010603>