which jdk?

Miguel mmiranda at 123.com.sv
Fri Mar 24 14:59:11 UTC 2006

Benjamin Thelen wrote:

> Miguel schrieb:
>> hi, i need to install tomcat 5 in a client's server running 
>> freebsd-6.0R, i know there is a port in  /usr/ports/www/tomcat55, so 
>> far so good,  in
>> http://www.freebsd.org/java/
>> there are many options, which one  do you recommend, native?:
>> ---
>> miguel
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe at freebsd.org"
> I have jdk 1.4 and tomcat 5.0 on FreeBSD 4.11-Release running now for 
> months without problems. I'm just starting to test 1.5/5.5 on 6.0R and 
> built jdk-1.5 successfully, but it is beta. Otherwise 1.3/1.4 is said 
> to be used "at their own risk"...
> Ben
I tried /usr/ports/java/jdk14 but it tries to install the linux binary !!!!
===>  Applying extra patch /usr/ports/java/jdk14/files/disable-ipv6.patch
===>  Applying FreeBSD patches for jdk-1.4.2p8_3
===>   jdk-1.4.2p8_3 depends on executable: gm4 - found
===>   jdk-1.4.2p8_3 depends on executable: zip - found
===>   jdk-1.4.2p8_3 depends on file: /usr/local/include/nspr/prtypes.h 
- found
===>   jdk-1.4.2p8_3 depends on file: /usr/X11R6/lib/libXm.so - found
===>   jdk-1.4.2p8_3 depends on file: 
/usr/local/linux-sun-jdk1.4.2/bin/javac - not found
===>    Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac in 
===>  linux-sun-jdk- You must manually fetch the J2SE SDK 
self-extracting file for the Linux platform 
(j2sdk-1_4_2_10-linux-i586.bin) from 
place it in /usr/ports/distfiles and then run make again.
*** Error code 1

Stop in /usr/ports/java/linux-sun-jdk14.
*** Error code 1

Stop in /usr/ports/java/jdk14.

WTF??, i dont want linux binary, i want freebsd native port, did i miss 
some -D option?,
can you send the bare commands you used to install them?


More information about the freebsd-questions mailing list