Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2003 09:47:51 -0300 (ART)
From:      Fernando Gleiser <fgleiser@cactus.fi.uba.ar>
To:        Simon Barner <barner@in.tum.de>
Cc:        questions@freebsd.org
Subject:   Re: Using linux-jdx to build java ports?
Message-ID:  <20030422094403.F56950-100000@cactus.fi.uba.ar>
In-Reply-To: <20030421222316.GA55056@zi025.glhnet.mhn.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Apr 2003, Simon Barner wrote:

> > Does anybody know how to tell the ports system to use Linux's JDK?
>
> As far as I understand things, the ports collection should take care of
> this and determine which java version you have installed (see
> ports/Mk.bsd.java.mk for the implementation of this task).
>
> Somehow, the ports collection is not able to find the jdk on your system.
>
> My (wild) guesses are:
> 1. Your ports collection is not up-to-date
>
>    What's the output of ls -d /usr/local/*jdk*  ? Your linux jdk should be
>    something like "linux-sun-jdk1.3.1" (I think it used to be "linux-jdk1.3.1"
>    which is not recognized anymore).

Right! you hit the nail!. The ports collection is up-to-date, but the
linux-jdk was not. I had linux-jdk14, after deinstalling and installing
linux-sun-jdk14, everything works fine.

Thank you very much.



			Fer



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