If you use package names, you need to compile from inside the package, or you need to state the path to the .java file. Not myFolder>/ javac MyClass.java but myPackage>/ javac MyClass.java or myFolder>/ javac myPackage/MyClass.java Also, the compiler will expect the XXX.class files in your other packages to have been compiled already before you can execute the imports. You need there to be an XXX.class file before you compile its client code.
I can't give you any more details because I don't know the instructions you are using to try to compile your code.
posted 1 week ago
This question merits a thread of its own; I split it from this discussion.
We don't have time to be charming! Quick, read this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database