Require JavaBuildpack module definition

This allows individual spec files to be run.

[#49694579]
Merge 49694579-warn-about-possible-memory-wastage to master

[Completes #49694579]