Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

compilation error

 
akila sita
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when I compile my java program it shows a "cannot resolve symbol" error. Is it due to a mistake in setting the classpath
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could be. you should call your java programm with javac -classpath first.jar:second.jar java-file
while first & second jar are the files you need.
The second thing you can check is that you have no typo error in your classes. Check the code which throws the error. Maybe you misspelled some variable or class
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic