Eclipse is the best type of compiler for your java code.Now a day NetBeans is used for java coding.But some people like eclipse but method of coding is same in both eclipse and NetBeans. But NetBeans provide you a more friendly environment as compare to eclipse.
I f you miss some files like "Import jave.utli.Scanner" when you want to give value to variable on run time of program then you will use this file.
Download Eclipse:
ConversionConversion EmoticonEmoticon