Rob Brew wrote:I refactored (changed) the class name to battleships to see if that would make a difference, still no joy.
Rob Brew wrote:I've tried the properties > run and selected the path but no main class can be found.
Rob Brew wrote:Using java on the command line fails with the package declaration at the start of each file. Without this java from the comman line can run the program.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton