Wednesday, December 23, 2009

Java Common Problem

ni aku nak share sikit common error explanation dlm java... error yg paling biasa jumpa bila CLASSPATH tak properly set, so ada missing file/library tak jumpa... selain dari tu, guna multiple jdk/jre version berbeza pun bleh ada error.. tapi yg paling penting masa debug java, tengok type of exception yg keluar macam NullPointerException, ClassNotFoundException, IllegalArgumentException, etc... lepas tu boleh study punca error sebab dah ader target/mission... masa debug program pun mesti ada target...heher

Java Lesson: Common Problems (and Their Solutions)
http://java.sun.com/docs/books/tutorial/getStarted/problems/index.html

Java Methods A & AB - Appendix B: Common Syntax Error Messages
http://www.skylit.com/javamethods/JM-Appendix-B.html

Common Compiler and Interpreter Problems (and Their Solutions)
http://tns-www.lcs.mit.edu/manuals/java-tutorial/getStarted/problems/index.html

Java Programming/Exceptions
http://en.wikibooks.org/wiki/Java_Programming/Exceptions

exception handling : Java Glossary
http://mindprod.com/jgloss/exception.html

http://java.sun.com/javase/6/docs/api/java/lang/Exception.html

No comments: