Re: Mac driving me crazy
- From: "Daniel Dyer" <dan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 15 Sep 2006 23:17:47 +0100
On Fri, 15 Sep 2006 22:55:26 +0100, Redbeard <tom.cowdery@xxxxxxxxxxx> wrote:
The method called on line 19 simply places a random number of baskets
at a random place in the JavbotWorld. It clearly works on newer
versions of Java, so the method exists. And the only thing in the
addBaskets() method that involves a JFC is a couple of calls to the
nextInt(int n) method of the Random class. And that doesn't show up in
the stacktrace anyway.
OK, this is where you need to be absolutely certain which Java Runtime you are using. Which browser are you using? Is it Internet Explorer for the Mac? And if so, are you sure it is not using a Microsoft JVM? The Microsoft JVM is roughly compatible with Java 1.1, which means no Random.nextInt(int n), which was introduced in Java 1.2.
Dan.
--
Daniel Dyer
http://www.dandyer.co.uk
.
- Follow-Ups:
- Re: Mac driving me crazy
- From: Redbeard
- Re: Mac driving me crazy
- From: Andrew Thompson
- Re: Mac driving me crazy
- References:
- Mac driving me crazy
- From: Redbeard
- Re: Mac driving me crazy
- From: Oliver Wong
- Re: Mac driving me crazy
- From: Redbeard
- Mac driving me crazy
- Prev by Date: Re: Mac driving me crazy
- Next by Date: Re: Mac driving me crazy
- Previous by thread: Re: Mac driving me crazy
- Next by thread: Re: Mac driving me crazy
- Index(es):
Relevant Pages
|