Or the folder. The way to run a Java application is as follows:
That fully qualified class name means the package name followed by the class name. For example, java.lang.String
(of course String has no main method so it won't work, but you get the idea).
You must set the class path (defaults to the current folder only) to be able to run classes located in other folders. The class path should include the root of the package folder structure, not the package folders themselves.