From owner-freebsd-questions@FreeBSD.ORG Tue Mar 23 18:12:43 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 C479916A4CE for ; Tue, 23 Mar 2004 18:12:43 -0800 (PST) Received: from tenacious.boundariez.com (mail.boundariez.com [216.36.108.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CF2743D2F for ; Tue, 23 Mar 2004 18:12:43 -0800 (PST) (envelope-from Ralph@boundariez.com) MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Date: Tue, 23 Mar 2004 21:07:57 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Java runtime? Thread-Index: AcQRAAjlS32ns2KfQoKbbQY3hYoelwAQ/ilQAAAhNZ4= From: "Ralph M. Los" To: "Ralph M. Los" , "Peter Schuller" , Subject: RE: Java runtime? 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: Wed, 24 Mar 2004 02:12:43 -0000 -----Original Message----- From: Ralph M. Los Sent: Tue 3/23/2004 9:03 PM To: Peter Schuller; freebsd-questions@freebsd.org Cc:=09 Subject: RE: Java runtime? -----Original Message----- From: Peter Schuller [mailto:peter.schuller@infidyne.com]=20 Sent: Tuesday, March 23, 2004 1:00 PM To: freebsd-questions@freebsd.org Cc: Ralph M. Los Subject: Re: Java runtime? >Alright. I tried, and after hours and hours of compiling...this: > >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 encyData.java:1:=20 >'class' or 'interface' expected I haven't encoutered this particular problem myself, though I remember reading=20 a post on this or the -java mailinglist not long ago where someone had the=20 same problem. I did some google and didn't find anything conclusive, though I did find someone having the same problem on Linux when running in a chrooted=20 environment. A suggestion which may or may not be correct is that it may be caused by the=20 linprocfs filesystem not being mounted (because it broke in chroot). Try doing, as root: kldload linprocfs mount linprocfs /compat/linux/proc But again I have personally not seen this problem. When I failed to have a=20 proper /proc filesystem for the Linux compatibility the result was the JVM=20 busy-waiting indefinitely rather than getting instability/errors. But try=20 that and see. If it doesn't fix it, write back. (I am assuming it is the Linux JVM, running under emulation, which is failing,=20 given that it is compiling the standard library for the native JVM.) --=20 / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org So I did that....after SU'ing to root, the first command line worked fine. The second, however, produced an error as such: mount: linprocfs: No such file or directory Someone else HAS to have had this problem? Anyone? What does everyone else here do for JAVA support??? -Ralph _______________________________________________ ...OK so something new now. I tried to "make install" again, and got = this: -------------------------------------------- frog# make install =3D=3D=3D> Building for jdk-1.4.2p6_4 ERROR: You have to have LINPROCFS mounted before starting to build of native JDK 1.4.2. =20 You may do it by following set of commands: =20 # kldload linprocfs =20 and =20 # mount -t linprocfs linprocfs /compat/linux/proc =20 *** Error code 1 =20 Stop in /usr/ports/java/jdk14. frog# mount -t linprocfs linprocfs /compat/linux/proc frog# make install --------------------------------------------/ so I did as above (system suggested) and I'm seeing it building OK now. = I'll let the list know if I'm successful. Can someone explain what it is that I had to do (above commands)?? = Thanks! -Ralph