Sounds like to are compiling EmployeeBean with the c:\libraries classpath set in javac,
then run the EmployeeBean class directly with the
java command right?
Here's what I would do if I had this problem:
I would change the directory structure:
myproject\
myproject\lib <-- put all jars in this directory.
myproject\src <-- your EmployeeBean and other java files here.
myproject\build
myproject\build.xml
Then using ant, I would compile the code in src to create a jar file that has a class-path specified relative to the current location..
Here's a sample:
Then from your command line...run the ant tasks defined for compiling and building..
afterwords..once you compile your runnable jar...you can simply run it by...
#>java -jar myRunnableJar.jar