After I upgraded to Java 1.6 through Mac OS X Software ... I found I totally lost my previous Java 1.5 setting since all the older JDK versions are being soft-linked to the Current(1.6) but luckily this blog below helped me get back what I used to have.
The link is also very useful and easier: