This site requires JavaScript, please enable it in your browser!
Greenfoot back
davmac
davmac wrote ...

2012/6/14

Greenfoot 2.2.1 standalone

davmac davmac

2012/6/14

#
The Greenfoot 2.2.1 "standalone" bundle (for running on Windows from a USB stick, without having to install Greenfoot or the JDK) is now available from the Download page. The bundle also includes BlueJ.
erdelf erdelf

2012/6/14

#
This is cool. So I can program mobile with my usb. What makes such a big difference between the standalone and the normal version that it takes weeks to bring it on the same stage?
davmac davmac

2012/6/14

#
We have written a new launcher for the USB version, to improve reliability, which took some development effort. Also, in general, this was a fairly low-priority task considering all the things the team does. On the positive side, for future versions, we should be able to put out the USB version at more-or-less the same time as the regular release. However, I'm not sure what you mean by "program mobile". This is standard Greenfoot, it won't do mobile apps.
erdelf erdelf

2012/6/14

#
ok, now I know why. With mobile I mean with an usb (I know it is not really mobile, i need a pc to do this)
danpost danpost

2012/6/14

#
Greenfoot launcher gives message: Greenfoot could not find any Java system: A JDK/J2SDK must be installed to run BlueJ. I thought the JDK was included in the download for the stand-alone version. What did I do wrong?
erdelf erdelf

2012/6/15

#
I am not sure, but in this window, there is a button browse, click on it and find it manually
davmac davmac

2012/6/15

#
Apologies, but the download included the wrong version of Greenfoot - this has been remedied now. Anyone who downloaded it previously may wish to do so again. danpost, the file must be unzipped at the "root" level of a USB stick. It won't work correctly if you unzip it into a folder. This is something we might be able to remedy in the future.
danpost danpost

2012/6/23

#
Is there a reason that for testing, I am limited to only 5 strings per user, instead of 10? I am getting ArrayIndexOutOfBounds: 5 with
for (int i = 0; i < 10; i++) System.out.println(ui.getString(i));
davmac davmac

2012/6/23

#
Why do you think it should be 10? (You are allowed 10 ints, 5 Strings - perhaps this confused you?)
danpost danpost

2012/6/23

#
From Class UserInfo API documentation: The data that can be stored for each user consists of a score, 10 additional general purpose integers, and 10 strings (limited to 50 characters in length). In addition, the user name and user's image can be retrieved from the user data.
davmac davmac

2012/6/23

#
Ah, that's a mistake; it should say 5 strings! The documentation for the setString() and getString() methods is more accurate, specifying that there are NUM_STRING storable strings (NUM_STRINGS is defined as equal to 5).
You need to login to post a reply.