swathi ramesh wrote:I tried an example with all java files not in a package structure., it is working good. But when i tried with package structure, it is not working.
You mean to say that it worked when you put all files in single directory? It means you are not having package
structure, but only one package for all files. If you want to have a package
structure, then you'll have to define different packages and recompile all files (which is quite easy if done via eclipse).
Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)