Simply put ...
You need to have your source files organized in a directory heirarchy. So, class file '
Test' in package 'com.javaranch' will be translated into a file '/com/javaranch/Test'.
After which, you will simple invoke your main function in Test by '
java com.javaranch.Test' from the '/' context. So, 'cd /' before you do it, or however you get there on whatever OS you're zipping along on.
You would probably want to compile the source files from the same folder also. The reason of course being that the compiler will find 'packaged' source files starting from the directory that you invoke the compiler from.
Yep. Um, that's it.
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED