
while compiling simple java program i get annotation error i.e class will only be accepted if annotation processing is explicitly requested..how to solve it???

you need to add java extension to the file name Example: javac -cp . Vasant.java
http://stackoverflow.com/questions/5063266/java-compile-problem-class-names-are-only-accepted-if-annotation-processing-is
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.