Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes java.lang.Error: Unresolved compilation problem: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java.lang.Error: Unresolved compilation problem: " Watch "java.lang.Error: Unresolved compilation problem: " New topic
Author

java.lang.Error: Unresolved compilation problem:

jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
Peter Taucher
Ranch Hand

Joined: Nov 18, 2006
Posts: 174
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?


Censorship is the younger of two shameful sisters, the older one bears the name inquisition.
-- Johann Nepomuk Nestroy
Sudhakar Duraiswamy
Ranch Hand

Joined: Dec 20, 2007
Posts: 43
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.


Sudhakar
SCJP 5.0 93%| SCWCD (prep. ongoing))
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19656
    
  18

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: java.lang.Error: Unresolved compilation problem:
 
Similar Threads
Draw bitmap in Canvas
Compiler inconsistencies?
Regular expression not finding string
Can any one solve this == &(==)
String input with exceptions