• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.Error: Unresolved compilation problem:

 
jose chiramal
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Peter Taucher
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I might have missed the 'question' here. What do you want to know? I assume your code doesn't run. Why not listen to the compiler, that states clearly that he doesn't like unreachable code?
 
Sudhakar Duraiswamy
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jose,
I understand your eagerness , in getting your issue solved . But posting an incomplete question ,with not much of data
doesnt help anyone ,does it.

Please go through this section http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch and posting questions appropriately ,which not only encourages users to answer to your queries , your post stand a chance of getting solved/answered

Happy Ranching.
 
Rob Spoor
Sheriff
Pie
Posts: 20611
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Again someone who programs in an IDE, then runs his program while there are still compiler errors.

Jose, check out these compiler errors. They will tell you what is going wrong. My guess is you've got an unreachable code error - the code inside the loop will never execute. That also counts for the if statement but because of debugging constants you might change (e.g. private static final boolean DEBUG = false;) using false in if statements will not cause compiler errors.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic