For the start following software will do the job: You need to have the latest version of JDK. (J2SE 5.0) You can download it for free from: http://java.sun.com/j2se/
Net Beans: is an open source IDE developed by sun microsystems, you can download it from: http://netbeans.org/index.html
Eclipse: is also an open source IDE developed by eclipse download it from:
JBuilder: is also java IDE developed by Borland and can be downloaded from:
And, if you are using notepad/notepad++ then you would have to set path to run java program.
There are two ways:
Using Command Prompt:
Write following command in command prompt
c:\>set path="c:\Program Files\Java\jdk1.6.0_20\bin";.
(But through this way every time you open a command prompt after closing you have to set/write the above path again and again before compiling a java program) so must set the environment variable. See below.
Set Environment Variable:
1. Write click on My Computer and go to properties.
2. Select the environment variables under advanced tab (in Xp).
3. If you are using windows vista/7 then choose the advanced system settings then select environment variables.
Then edit Path variable from the list and write variable value = c:\Program Files\Java\jdk1.6.0_20\bin and press okay.
Now your path is set.