From owner-freebsd-java@FreeBSD.ORG Mon Apr 14 13:31:25 2008 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DEFB10657C0; Mon, 14 Apr 2008 13:31:25 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id EE2928FC0C; Mon, 14 Apr 2008 13:31:24 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.2/8.14.1) with ESMTP id m3EDVNWo041053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Apr 2008 09:31:23 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.2/8.14.1/Submit) id m3EDVNHM041052; Mon, 14 Apr 2008 09:31:23 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: Kim =?iso-8859-1?q?H=F8jgaard-Hansen?= Date: Mon, 14 Apr 2008 09:31:22 -0400 User-Agent: KMail/1.9.9 References: <20080414120018.E732B106567F@hub.freebsd.org> In-Reply-To: <20080414120018.E732B106567F@hub.freebsd.org> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: ports@FreeBSD.org, java@FreeBSD.org Subject: Re: error building java/jdk15 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2008 13:31:25 -0000 On =D0=CF=CE=C5=C4=A6=CC=CF=CB 14 =CB=D7=A6=D4=C5=CE=D8 2008, freebsd-ports= =2Drequest@freebsd.org wrote: > I'm trying to install openoffice.org-2, and it needs jdk15 which gives > this error for me: > /usr/local/linux-sun-jdk1.4.2/bin/jar tf=20 > ../../tools/crypto/jgss/jgss_kerberos.jar sun/security/jgss/spi [...] > /usr/ports/java/jdk15/work/control/build/bsd-i586/lib -target 1.5=20 [...] > javac: invalid target release: 1.5 [...] It is trying to build JDK-1.5 using 1.4.2 and failing. I would've recommend= ed=20 installing linux-sun-jdk15, but that will not work any more either: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D122513 You have to use diablo-jdk15 to build native JDK ports... -mi