• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cannot find symbol

 
preethi Ayyappan
Ranch Hand
Posts: 518
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

please help me to solve this problem

Thanks .
 
Matteo Di Furia
Ranch Hand
Posts: 102
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

i have compiled it like the following:

javac -cp mysql-connector-java-3.0.17-ga-bin.jar:.:asterisk-java-0.3.1.jar Test5.java
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks it is working now
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic