This is what I am getting :
C:\111\com>rmic RServerImpl
error: File .\RServerImpl.class does not contain type RServerImpl as expected, but type com.RServerImpl. Please remove the file, or make sure it appears in the correct subdirectory of the class path.
error: Class RServerImpl not found.
2 errors
C:\111\com>rmic -classpath c:\111 RServerImpl
error: Class RServerImpl not found.
1 error
my classpath is : "C:\j2sdk1.4.2_04;C:\j2sdk1.4.2_04\jre\lib\setToClassPath;c:\ant\lib;.;D:\DB2\IBM\SQLLIB\java\db2java.zip;D:\DB2\IBM\SQLLIB\java\db2jcc.jar;D:\DB2\IBM\SQLLIB\java\sqlj.zip;D:\DB2\IBM\SQLLIB\java\db2jcc_license_cisuz.jar;D:\DB2\IBM\SQLLIB\java\db2jcc_license_cu.jar;D:\DB2\IBM\SQLLIB\bin;D:\DB2\IBM\SQLLIB\tools\db2XTrigger.jar;D:\DB2\IBM\SQLLIB\java\common.jar;C:\Program Files\Java\jdk1.5.0\bin;D:\bea\weblogic91\server\lib\api.jar;C:\111;"
My files "RServerImpl" & "RServerIF" (both
java & class files) are in directory "C:\111\com"
Can anyone tell me, why this is happening ?