I believe my package is created correctly (but since this is the first time I have created a package, maybe I did this incorrectly).
I used
javac -d . classfile.java
and it created the directory for my package (based on the package name I used in the .java file), and put the compiled className.class file within it.

Does the servlet also need to know the classpath, even if it was known at compile time, when the class was compiled?
Is there a way to avoid this need?

How do I get the process, that is running the servlet, to know the classpath.
Even if I start tomcat, as the user that I compile with, it does not execute the .profile, where I have the classpath set.
Is this a configuration somewhere, I can set?