You need to set the CLASSPATH and make sure that you are in the correct directory.
Assuming that test.App.Appl is trying to reference test.App.License, the directory structure should be:
/somedir/test /somedir/test/App /somedir/test/App/Appl.java /somedir/test/App/License.java
You should set $CLASSPATH to "/somedir", then change your current directory to /somedir and run the compiler as javac test/App/*.java; e.g.
$ export CLASSPATH="/somedir" $ cd /somedir $ javac test/App/*.java
You can also use the -cp command line option with the javac (and later the java) command, and you run the javac compiler from a different directory by using the -sourcepath option.
The other possibility is that the package for License is not test.App. If that is the case, you need to adjust the directory structure to match the package naming, and add an import statement to the Appl class.
EDIT: If you notice a build.xml or pom.xml (or possibly even a Makefile) in the source tree, you probably should not be using javac directly. A build.xml is for building using Ant, a 'pom.xmlis for Maven (or Ivy) and aMakefileormakefileis formake`.
-sourcepath. You need to do one or the other; see my answer.