From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 05:50:43 2003 Return-Path: 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 7F06F37B401 for ; Tue, 22 Apr 2003 05:50:43 -0700 (PDT) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F7AF43FB1 for ; Tue, 22 Apr 2003 05:50:42 -0700 (PDT) (envelope-from fgleiser@cactus.fi.uba.ar) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by cactus.fi.uba.ar (8.12.3/8.12.3) with ESMTP id h3MClpC4066771; Tue, 22 Apr 2003 09:47:51 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Tue, 22 Apr 2003 09:47:51 -0300 (ART) From: Fernando Gleiser To: Simon Barner In-Reply-To: <20030421222316.GA55056@zi025.glhnet.mhn.de> Message-ID: <20030422094403.F56950-100000@cactus.fi.uba.ar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-120.1 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, QUOTE_TWICE_1,REPLY_WITH_QUOTES,USER_IN_WHITELIST version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: questions@freebsd.org Subject: Re: Using linux-jdx to build java ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2003 12:50:43 -0000 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