From owner-freebsd-questions@FreeBSD.ORG Mon Apr 26 05:57:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34C84106564A for ; Mon, 26 Apr 2010 05:57:32 +0000 (UTC) (envelope-from tam.sergio@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id BD2778FC12 for ; Mon, 26 Apr 2010 05:57:31 +0000 (UTC) Received: by wye20 with SMTP id 20so3911524wye.13 for ; Sun, 25 Apr 2010 22:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=SXuCaQdugYEkB7Rxc4hac1Zsv1T/klFgetpo9XwlQBg=; b=WMbPz3B8BfHWtWMFNuUhcfNkvZf8SpN5hHYUGmG/XARfQ1S9H7Yb1AmSvK/X1kc8We Wwq3yRBJj9poFWgf6M1X8Z2I0S7AKos1UDqjbmcVX9aILDaGpkkHg4hbzy/9GDegWl3m MCRatJGIGXfI9e/KJvDEGLXZbD0qxxqugi4bc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xKnRcwfMOcdIeKhjPnSp+rJGQyZUN/knabbBBrsZsfG0k8bWtwqn8E1IjlFElln0Kq QRbIyEAL+TxKBzmmKsStdKQmt3tdYMwNwjYsMjij255LQncEM/WeqRwF4BdbGoaVUa+F bSBYmX/M3K2/Lp7CnusyjB62egMyiIfD4mCBY= MIME-Version: 1.0 Received: by 10.216.153.195 with SMTP id f45mr1974153wek.137.1272261447243; Sun, 25 Apr 2010 22:57:27 -0700 (PDT) Received: by 10.216.89.129 with HTTP; Sun, 25 Apr 2010 22:57:27 -0700 (PDT) In-Reply-To: References: Date: Mon, 26 Apr 2010 00:57:27 -0500 Message-ID: From: Sergio Tam To: herbey zepeda Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: diablo-jdk not installing correctly 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: Mon, 26 Apr 2010 05:57:32 -0000 2010/4/25 herbey zepeda : > Hi, > > I want to install java and tomcat. After some time trying I could not > install the JDK, I first tried to install diablo jdk 1.6. > I go to /usr/ports/java/diablo-jdk1.6, turns out that I have to go throug= h > further step due to licensing, > I do that step and go to > http://www.freebsdfoundation.org/downloads/java.shtml > and choose: > > Diablo Caffe JDK 1.6.0-7 FreeBSD 7.x/i386 End-User 61M > diablo-jdk-freebsd7.i386.1.6.0.07.02.tbz > > I read and accept the licensing terms, > > then I do pkg_add Diablo Caffe JDK 1.6.0-7 FreeBSD 7.x/i386 End-User 61M > diablo-jdk-freebsd7.i386.1.6.0.07.02.tbz > and the problem starts, > > it's requiring me to install javavmwrapper > In install the respoective port > then try again > pkg_add Diablo Caffe JDK 1.6.0-7 FreeBSD 7.x/i386 End-User 61M > diablo-jdk-freebsd7.i386.1.6.0.07.02.tbz > and it turns out that I also need a different version of x libraries, > for example, I'm required to install: > xtrans-1.0.4 > > I go to sysinstall and I realize that because my version of FreeBSD is 7.= 3, > but it already includes the newer versions of =A0xtrans, > > I am currently downloading a previous version of FreeBSD (7.1) to see if = it > has the required previous version of xtrans, > > I am concerned because according to the literature diablo is supposed to > be the maintained jdk for FreeBSD. And I realize that I am having to > download version 7.1 when we are already on version 8.0 of FreeBSD to mak= e > java work > > My question is: is Java in FreeBSD an experimental/academic package? Shou= ld > I rather go with the linux compatibility way? > > Am I doing things incorrectly? > > Hi http://www.freebsd.org/cgi/cvsweb.cgi/ports/java/diablo-jdk16/ cd /usr/ports/java/diablo-jdk16 make install 2.Download the package manually from the links provided by Ports. This is due to licensing issues. 3.Copy the downloaded file into /usr/ports/distfiles. 4.Launch the installation again 5.Maybe you need repeat step 2 and download another package. Note: Please note that due to the current Sun licensing policy the resulting binaries can not be distributed and you are only permitted to use/hack it personally. Due to the same reasons you have to manually fetch the source code and patchset for FreeBSD. If you should have trouble, you can see the FreeBSD Handbook section on "installing applications" for help. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html this port Requires: inputproto-1.5.0, javavmwrapper-2.3.4, kbproto-1.0.3, libICE-1.0.4_1,1, libSM-1.1.0_1,1, libX11-1.2.1_1,1, libXau-1.0.4, libXdmcp-1.0.2_1, libXext-1.0.5,1, libXi-1.2.1,1, libXp-1.0.0,1, libXt-1.0.5_1, libXtst-1.0.3_1, libpthread-stubs-0.3_3, libxcb-1.5, pkg-config-0.23_1, printproto-1.0.4, recordproto-1.13.2, xextproto-7.0.5, xproto-7.0.15 javavmwrapper-2.3.4 this port does not Requires another http://www.freebsd.org/cgi/cvsweb.cgi/ports/java/javavmwrapper/ Your problem its with xtrans (diablo-jdk16 and javavmwrapper does not Requires xtrans) Maybe you need upgrade your ports http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html Regards.