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

2020/11/24

Scenario not working on Greenfoot site

mrjswaine mrjswaine

2020/11/24

#
Anyone have any idea why this isn't working on the Greenfoot site: https://www.greenfoot.org/scenarios/25235 Error says: The attempted translation produced the following diagnostic messages: INFO: Running TeaVM
danpost danpost

2020/11/24

#
Cannot determine the problem without the source. However, my guess is that either java.awt or javax.swing is used somewhere in it.
RcCookie RcCookie

2020/11/27

#
I lately had the same problem, and for me it was caused by running a later version of the jdk. It is fine in the application but the JavaScript conversion doesn’t seem to work. Try to reinstall Greenfoot, or download the zip and replace the jdk folder in your Greenfoot installation with the one from the zip. Finally, make sure to delete all the class files and use the recompile option from one of the drop down menus because sometimes Java ain’t recompile everything automatically and just show an error.
You need to login to post a reply.