invocation of other class

how can i run "main" method of other class ,that is not located in present working directory,in my running application?
[133 byte] By [roneypatela] at [2007-9-28 6:47:17]
«« message-dialog
»» ?
# 1
Add the other directory to the classpath:java -cp /path/to/other/directory otherClassorCLASSPATH=/path/to/other/directoryjava otherCLass
ceccsa at 2007-7-9 17:58:36 > top of Java-index,Other Topics,Java Community Process (JCP) Program...