This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages 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