Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 05:55:14 +1030
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Michael Lucas <mwlucas@blackhelicopters.org>
Cc:        Greg Lewis <glewis@eyesbeyond.com>, java@FreeBSD.ORG
Subject:   Re: plug-in error?
Message-ID:  <20020313055514.A14034@misty.eyesbeyond.com>
In-Reply-To: <20020312141644.A94499@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Tue, Mar 12, 2002 at 02:16:45PM -0500
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020313055514.A14034>