i need to download java writting programs onto my computer. I have heard a few places to go, but am not really sure which is better, and what i really need.

I have been told to download Ultra Edit and then to get the comipler, executor and libraries from either NetBeans or from java.sun.com and get the J2SE 1.4.1 from there.

Is one place better than the other or does it not matter?