From owner-freebsd-questions@FreeBSD.ORG Fri Mar 24 14:59:11 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAC3316A400 for ; Fri, 24 Mar 2006 14:59:11 +0000 (UTC) (envelope-from mmiranda@123.com.sv) Received: from asgard1.americatelsal.com (asgard.americatelsal.com [200.13.161.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 469C843D49 for ; Fri, 24 Mar 2006 14:59:10 +0000 (GMT) (envelope-from mmiranda@123.com.sv) Received: (qmail 10781 invoked from network); 24 Mar 2006 15:21:37 -0000 Received: from unknown (HELO ?192.168.10.124?) (200.13.161.68) by asgard1.americatelsal.com with SMTP; 24 Mar 2006 15:21:37 -0000 Message-ID: <44240A15.1070909@123.com.sv> Date: Fri, 24 Mar 2006 09:02:45 -0600 From: Miguel User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Benjamin Thelen References: <4422EEED.6080705@123.com.sv> <4423F082.3010004@ccgis.de> In-Reply-To: <4423F082.3010004@ccgis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: which jdk? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 14:59:11 -0000 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@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@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 /usr/ports/java/linux-sun-jdk14 ===> linux-sun-jdk-1.4.2.10 You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_10-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-1.4.2_10-oth-JPR&SiteId=JSC&TransactionId=noreg, 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? thanks