First I installed jdk-6u11-windows-i586-p on window xp service pack-2 environment.
Installation processes of "jdk-6u11-windows-i586-p is given below :
Step (1)Licence Agreement:Accept
(2)Custom Setupevelopment Tools-Next
(3)Destination Folder:Next
(4)Java(TM) SE Development Kit 6 Update 11-Complete :Finish
(5)Open Program filesook java Folder Option:- Select jdk1.6.0_11
:- Select bin:- Copy bin address C:\Program Files\Java\jdk1.6.0_11\bin
(6) Look My Computer Properties
(7) Advance System Setting
(8) Environment Variables : User variables for Administrator:-Choose PATH & double click on the path:Edit User Variable:-(In variable name we write PATH & in Variable value we write C:\Program Files\Java\jdk1.6.0_11\bin
(10)Ok- Ok -Ok.
(11) Again I installed "netbeans-7.0-ml-javaee-windows" but that time already installing another(Antivirous) & after finish antivirous installation needed to reboot the system but I waited & when "netbeans-7.0-ml-javaee-windows" installation was finished then I reboot the system.
(12) When I write the program as given below :
class Helloword
{
public static void main(string[]args)
{
system.out.println("Helloword");
}
}
and I save it in D drive as Helloword.java in java folder (D:\java).This folder was created by me when I saved the program.
(13)Go to Start : Runype cmd-ok then display command prompt window.
(14)Command prompt window :Microsoft window XP [version 5.1.2600]
<c> copyright 1985-2001 Microsoft corp.
c:\Documents and Setting\Administrator> d:
D:\>.
(15)Please tell me next step about command prompt(java program execution).