Closed TWinston-66 closed 2 years ago
You've most likely set your run configuration to an Android app. https://youtu.be/vdn1v404go8 (see around 7 minutes). The run target should be an "Application"
Is this the correct config?
Looks to be correct. Are you still encountering that error with the given config?
Yeah I am...
I've tested it on both Windows and Linux machines and it's broken in both. Is there a version of the JDK or something I need that I am missing?
I got it to work by installing it into an Intelli J project using JDK 16 SE. ![Uploading Screenshot from 2022-03-10 11-31-23.png…]()
Hm. That's very interesting. I'm not sure why your own JDK/JRE versions don't include the awt packages. I use JDK 11 in my testing so its not a version issue.
I don't really have any insight I can provide regarding this. Apologies. I am glad it is working now!
When running the sample code, on the line below, I get the error "class file for java.awt.Image not found"
meepMeep.setBackground(MeepMeep.Background.FIELD_FREIGHTFRENZY_ADI_DARK);