From owner-freebsd-java@FreeBSD.ORG Sun Apr 4 12:11:58 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B8A216A4CE for ; Sun, 4 Apr 2004 12:11:58 -0700 (PDT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 4DA8043D41 for ; Sun, 4 Apr 2004 12:11:57 -0700 (PDT) (envelope-from christian.hofer@gmx.de) Received: (qmail 15610 invoked by uid 65534); 4 Apr 2004 19:11:56 -0000 Received: from p5080E23F.dip0.t-ipconnect.de (EHLO gmx.de) (80.128.226.63) by mail.gmx.net (mp008) with SMTP; 04 Apr 2004 21:11:56 +0200 X-Authenticated: #2522098 Message-ID: <40705DFE.3060009@gmx.de> Date: Sun, 04 Apr 2004 21:11:58 +0200 From: Christian Hofer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031208 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: BUG: FreeBSD 5.2.1. - JDK 1.4 installation from ports collection X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2004 19:11:58 -0000 Hi, I installed the JDK 1.4 from the ports collection into FreeBSD 5.2.1, with cvsup'ed java-ports. The installation fails. Searching the list, I see that obviously this already happened to other people. The error message is something like this (I included it from another post): >/usr/ports/java/jdk14/work/control/build/bsd-?>i586/gensrc/java/util/CurrencyData.java:1: >'class' or 'interface' expected >/Java HotSpot(TM) Client VM warning: Can't detect />/initial thread stack />/location />/^ />//usr/ports/java/jdk14/work/control/build/bsd->i586/gensrc/java/util/CurrencyData.java:1: / >/unclosed character literal />/Java HotSpot(TM) Client VM warning: Can't detect />/initial thread stack />/location / ^ >/2 errors />/gmake[4]: *** [.compile.classlist] Error 1 />/gmake[4]: Leaving directory />/`/usr/ports/java/jdk14/work/j2se/make/java/java' />/gmake[3]: *** [optimized] Error 2 />/gmake[3]: Leaving directory />/`/usr/ports/java/jdk14/work/j2se/make/java/java' />/gmake[2]: *** [all] Error 1 />/gmake[2]: Leaving directory />/`/usr/ports/java/jdk14/work/j2se/make/java' />/gmake[1]: *** [all] Error 1 />/gmake[1]: Leaving directory />/`/usr/ports/java/jdk14/work/j2se/make' />/gmake: *** [j2se-build] Error 2 />/*** Error code 2 />/ />/Stop in /usr/ports/java/jdk14. Workaround: Robert Corsaro posted the following workaround (subject //usr/ports/java/jdk14 on 25 March): > I had the same problem and found the offensive file > (/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java) > and deleted the first line, which was : > Java HotSpot(TM) Client VM warning: Can't detect initial thread stack This seems to work also with my installation. The compilation continued successfully afterwards. I didn't test, if the class CurrencyData is now working correctly. Chris