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

2019/5/16

Unable to execute project after code change in portable version

LaurentB LaurentB

2019/5/16

#
Hi everyone. With the last Greenfoot portable versions (under Windows 7): unable to execute Greenfoot project after modifying its code. The editor tells: "class compiled, no syntax error", but when coming back to the main Greenfoot IDE page, "Execute", "Pause" and "Reset" buttons are grayed (disabled), as the World scene as well... Workarround (not very nice): close the Greenfoot project and reopen it to execute it (pressing control + K does not change anything). But even after that, when you change again the code, the same problem starts again and you have to close and reopen project to execute... Any idea? Laurent
danpost danpost

2019/5/16

#
Usually, all you really have to do is change something in your World subclass (like hit "enter", then, hit "backspace" to counteract). That should get it to try compiling again.
LaurentB LaurentB

3 days ago

#
Recompiling after code change does work: that's not the problem. The problem is that after all classes have been compiled after editing code, it is not possible to run the application from the main Greenfoot window: "Execute", "Pause" and "Reset" buttons are grayed (disabled) I've found a workaround: apprently Greenfoot configuration files that Greenfoot creates at first execution and modifies after configuration changes were corrupted. I had a 'greenfoot' folder into my personal folder, with files regularly updated by Greenfoot. I've deleted it and apprently everything works fine again now (at least I hope it will last). Just strange thing: Greenfoot did not create again a 'greenfoot' folder with configuration files into my personnal folder... But instead it seems it now changes configuration settings into 'bluej' configuration folder (I use the last portable version of Greenfoot)
You need to login to post a reply.