From owner-freebsd-questions@FreeBSD.ORG Tue Aug 31 18:13:47 2004 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 5947B16A4CE for ; Tue, 31 Aug 2004 18:13:47 +0000 (GMT) Received: from mail.indatacorp.com (65.104.0.66.ptr.us.xo.net [65.104.0.66]) by mx1.FreeBSD.org (Postfix) with SMTP id 1159C43D1F for ; Tue, 31 Aug 2004 18:13:47 +0000 (GMT) (envelope-from rgrafton@indatacorp.com) Received: (qmail 43870 invoked by uid 0); 31 Aug 2004 18:15:35 -0000 Received: from unknown (HELO itxp01) (rgrafton@indatacorp.com@192.168.100.179) by netfb01.indatacorp.com with SMTP; 31 Aug 2004 18:15:35 -0000 From: "Randy Grafton" To: Date: Tue, 31 Aug 2004 11:17:19 -0700 Organization: inData Corporation MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: Thread-Index: AcSPfluugBk5Jh1BS/KJdXKBEyiZUAABdcMg Message-Id: <20040831181347.1159C43D1F@mx1.FreeBSD.org> Subject: RE: java install errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rgrafton@indatacorp.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 18:13:47 -0000 Not to beat a dead horse but here are a couple of extra points to offer. >From a Base/Minimal install of 5.2.1 I got a current ports tree with cvsup-without-gui. Next, I install linux-base: cd /usr/ports/emulators/linux-base make install clean edit /etc/rc.conf to contain the line linux_enable="YES" I then downloaded: bsd-jdk14-patches-6.tar.gz (Got this from www.eyesbeyond.com) j2sdk-1_4_2-bin-scsl.zip j2sdk-1_4_2-src-scsl.zip j2sdk-1_4_2_05-linux-i586.bin j2sdk-sec-1_4_2-src-scsl.zip (I got the j2sdk stuff from java.sun.com). Once these files were downloaded, I placed them in /usr/port/distfiles. Now cd to /usr/ports/java/jdk14 and do a make install clean. I just did these steps in the listed order yesterday and after a few hours of compiling java it was up. -Randy -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Steve Hodgson Sent: Tuesday, August 31, 2004 10:15 AM To: 'T Kellers'; freebsd-questions@freebsd.org Cc: 'Chip' Subject: RE: java install errors >> -------------------- >> 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/Curr ency Data.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/Currency >> Data.java:1: unclosed character literal >> Java HotSpot(TM) Client VM warning: Can't detect initial thread >> stack location ^ >> >> Stop in /usr/ports/java/jdk14. >> ------------------ >> What needs to be done to make this actually install correctly? >> Thanks, Chip >> I had this happen to me a couple of times, and the cause (for me) was that I hadn't setup linux emulation properly. This message (from a google search) seems to sum it up: http://www.mail-archive.com/freebsd-questions@freebsd.org/msg60015.html IIRC, I had to "make clean" in /usr/ports/java/jdk14 to get it work again once this had happened. Steve _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"