From owner-freebsd-java Tue Mar 12 11:26: 2 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 531EC37B43D for ; Tue, 12 Mar 2002 11:25:21 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16krtf-0000D9-00; Tue, 12 Mar 2002 12:25:19 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g2CJPEU14100; Wed, 13 Mar 2002 05:55:14 +1030 (CST) (envelope-from glewis) Date: Wed, 13 Mar 2002 05:55:14 +1030 From: Greg Lewis To: Michael Lucas Cc: Greg Lewis , java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020313055514.A14034@misty.eyesbeyond.com> References: <20020312084239.B9904@misty.eyesbeyond.com> <20020311174959.A88376@blackhelicopters.org> <20020312100916.B10202@misty.eyesbeyond.com> <20020311204029.B89283@blackhelicopters.org> <20020313025417.A12713@misty.eyesbeyond.com> <20020312112929.A92770@blackhelicopters.org> <20020313034346.A13457@misty.eyesbeyond.com> <20020312124904.A93431@blackhelicopters.org> <20020313051151.A13824@misty.eyesbeyond.com> <20020312141644.A94499@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020312141644.A94499@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Tue, Mar 12, 2002 at 02:16:45PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Mar 12, 2002 at 02:16:45PM -0500, Michael Lucas wrote: > Perhaps I'm being insufficiently paranoid here... This seems an unlikely statement from someone with an email address @BlackHelicopters.org :) > I've installed the JDK, but never tested it... it went in just for the > plugin. So, is there some decent way to test the JDK itself, without > a plugin, in a plain old X session? As an initial test, just run java -version If that produces something like java version "1.3.1-p6" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p6-glewis-020219-22:55) Classic VM (build 1.3.1-p6-glewis-020219-22:55, green threads, nojit) then try java -jar /usr/local/jdk1.3.1/demo/jfc/SwingSet2/SwingSet2.jar That will definitely give the X part of the code a decent work out. If you want something simpler on the X side try java -jar /usr/local/jdk1.3.1/demo/jfc/SimpleExample/SimpleExample.jar > I could just go hunting random java apps, but thought someone here > might have a decent pointer to try. Do I have to define any > environment variables or anything? You shouldn't need to define any environment variables. Java itself should provide all of these (the java executable is just a symlink to a shell script which sets up environment variables before invoking the actual executable). > I promise to put all this in an article, btw, to hopefully reduce > future support load on you guys. :-) Cool :). I'd certainly proof read it for you if that would be helpful. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message