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

2006-08-04 Thread Gautham Ganapathy
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


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2006-08-04 Thread Micah

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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2006-08-03 Thread Gautham Ganapathy
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.

Regards
Gautham


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2006-08-03 Thread Micah

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.

Regards
Gautham


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.


HTH,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]