From owner-freebsd-java Tue Jun 6 7:43:48 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id B16A737B6DC for ; Tue, 6 Jun 2000 07:43:43 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id AAA46228; Wed, 7 Jun 2000 00:13:22 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200006061443.AAA46228@ares.trc.adelaide.edu.au> Subject: Re: Hint: compiling new JDK In-Reply-To: <393D0639.32364356@olive.co.uk> from Cliff Rowley at "Jun 6, 2000 03:10:01 pm" To: Cliff Rowley Date: Wed, 7 Jun 2000 00:13:16 +0930 (CST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Cliff Rowley wrote: > The problem comes around because the sanity check looks at the first > line outputted by '/usr/local/linux-jdk1.2.2/bin/java -version' in order > to check the version number. The correct output would usually be: > > java version "1.2.2" > Classic VM (build Linux_JDK_1.2.2_RC4, green threads, nojit)# > > or similar. > > In my case, it was: > > Warning: JIT compiler "OpenJIT" not found. Will use interpreter. > java version "1.2.2" > Classic VM (build Linux_JDK_1.2.2_RC4, green threads, nojit) Yup, sanityck could potentially be a little smarter about parsing the output of java -version. > Just a quickie :) Thanks :). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message