|
Re: package com.bruceeckel.simpletest does not exist
|
Posted: Nov 7, 2003 7:17 PM
|
|
if you are importing some classes like import com.bruceeckel.simpletest.*;
and the directory structure is like,
c:/mycode/src/com/bruceeckel/simpletest/test.java or some other java files, then
c:/mycode/src should be in the classpath ( command is 'set classpath=c:/mycode/src;%classpath%' )
The thing is, the javac tries to find the classes in the structure mentioned in the import statement starting from the directories mentioned in the classpath.
or if the files are in a jar, do set classpath = c:/mysamples/bruceeckel.jar;%classpath%
|
|