For a simple HelloWorld or a PoC development a flat list of .java files would work, but once you go past that (20+ files or so) a standardized directory structure is an important element of managing the complexity.
And using the JAVA ecosystem standard makes it easier for fellow/future developers to continue the support and expansion