I tried to compile a program which i have already compiled and i didnt get any error.But now it iis showing the following error:
Test5.java:37: cannot find symbol symbol : class Record5 location: class Test5 Record5 h= new Record5(); ^ Test5.java:37: cannot find symbol symbol : class Record5 location: class Test5 Record5 h= new Record5();
my code is
when i am doing this code in eclipse.It doesnt shows any error.I have compiled this code already.But i didnt get any error and i am using that class file too.Suddenly it isa showing the following error.
It seems you don't have class Record5 in your classpath, either at compile or at run time. It is not clear from your post : can you compile it correctly but then you got an error at runtime ? Or can't you compile it at all?. Check for it.
Thanks for your reply.I am having the class file Record5 in the path /var/lib/asterisk/agi-bin.I am having the Test5.java in the same path.I have compiled this program already before 1 week.It compiled well.