I have two files
j.java: contains a test class with Main
DotNetAppConfigFileMgr.java: contains a prototype Xml DOM wrapper for a project.
I compile using:
javac *.java -classpath C:\_Tmp\Java\Xerces-J-bin.2.9.1.zip
I run using:
java -classpath .;C:\_Tmp\Java\Xerces-J-bin.2.9.1.zip j
In DotNetAppConfigFileMgr.java, if I add the following first line: "package MyPackage", and in j.java I add "import MyPackage.*", it still compiles but does not run, and gives a class not found error. Am I missing an option when I start "java" ?