أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Use IDE such as ECLIPSE KEPLER or NETBEANS so that in case of error u will get it at the time of writing the program , and use latest complier which comes with JDK1.7 or JDK1.8.
Netbeans and eclipse are not compilers, they are IDES,
Netbeans Or Eclipse
I prefer netbeans ðð