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

2024/2/14

No suitable Java JDKs were found

zonks zonks

2024/2/14

#
I'm trying to open a project file, but I get the error message: No (suitable) Java JDKs were found. Greenfoot requires JDK version 1.6 or later. I'm using the Greenfoot Version 2.4.2 for Windows, file name: Greenfoot-windows-242.msi downloaded from https://www.greenfoot.org/download_old Please help
nccb nccb

2024/2/14

#
Greenfoot 2.4.2 had two versions, one that includes a JDK (which is the filename you describe) and one without. Assuming you installed to the default location, if you look in the directory:
C:\Program Files (x86)\Greenfoot
You should see "jdk" folder that is just over 300MB (if you right-click it and select properties). Double-clicking the "Greenfoot.exe" file in there should load up without warning. If you are seeing a warning when double-clicking "project.greenfoot" files elsewhere, it may be that the file association is wrong in Windows somehow. You can try fixing it by right-clicking those files and saying "Open with" then navigating to the directory above and selecting Greenfoot there. Or you can use the Scenario->Open menu item once Greenfoot loads, to load the project that way.
zonks zonks

2024/2/14

#
That solved it! Thanks so much for your help. Navigating to the jdk folder in the Greenfoot directory worked.
You need to login to post a reply.