How to build azureus port with diablo-1.5.0-b00 jdk

Gautham Ganapathy gauthamglist at gmail.com
Fri Aug 4 23:11:14 UTC 2006


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




More information about the freebsd-questions mailing list