Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2010 00:57:27 -0500
From:      Sergio Tam <tam.sergio@gmail.com>
To:        herbey zepeda <zepedaherbey@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: diablo-jdk not installing correctly
Message-ID:  <z2jd75759ac1004252257gcb9368a7q3adff14d924be21@mail.gmail.com>
In-Reply-To: <v2u49856ef1004251634hf5f83489j4cf0db1b5558e917@mail.gmail.com>
References:  <v2u49856ef1004251634hf5f83489j4cf0db1b5558e917@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/4/25 herbey zepeda <zepedaherbey@gmail.com>:
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?z2jd75759ac1004252257gcb9368a7q3adff14d924be21>