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

2011/8/10

Java 7 or 6 for Greenfoot?

jay1025 jay1025

2011/8/10

#
Helo Greenfoot users... With Java 7 just out, will Greenfoot 2.1 run ok? I heard indirectly that there might be some "path" configuration issues. Anyways, I have some new students wanting to download and try Greenfoot, but I'm not sure if I should tell them to download Java 6 (which is less convenient to find on oracle.com) or Java 7 (of which oracle is pushing now). Thanks in advance... :) Jason
davmac davmac

2011/8/11

#
Hi Jason, Greenfoot 2.1 will run fine on Java 7, but you may get a dialog when you start it saying something along the lines "Can't find required dll msvcr100.dll; application will terminate" - the message however is harmless, Greenfoot will continue to run just fine. We'll be putting out a new Greenfoot release to fix this some time soon. (When it's ready). You can also prevent the error message by copying the msvcr100.dll file from the JDK into the Greenfoot folder (where Greenfoot is installed). Davin
jay1025 jay1025

2011/8/27

#
Thanks Davin... :) Jason
mjrb4 mjrb4

2011/8/30

#
On top of what Davin's said, it may also be worth mentioning that the current editor will probably flag up any new Java 7 syntax as invalid (since it was in Java 6!) Things like the diamond syntax (probably the most likely), string switch, underscores in integers, autoclosable stuff etc. It'll still compile and run fine however :)
Robin Robin

2011/9/6

#
Hi guys. I had JDK 7 installed with Greenfoot 2.1. First it gave me the dll error. So I added the file then it just did not want to start. So finally I installed JDK 6.25 and now it works.
mjrb4 mjrb4

2011/9/6

#
Hi Robin, It should still work fine despite the DLL error (and in the next version of Greenfoot this will be fixed anyway.) Was this not the case for you?
Robin Robin

2011/9/9

#
No, it did not work. It would simply just time out then crash and give me a pop to go to the support page.
You need to login to post a reply.