PHP Program Execution Steps:-
1) Click Start button ->Click all programs -> wampserver -> Click start wampserver.
2)Task bar will be display green symbol. Click.Display list. Click Start all services.
3)Open Server.Type Browser Address bar http://localhost/
4)Program save- C:\wamp\www\create folder & save program.
5)Browser address bar C:\wamp\www\foldername\program name.
Java Program Execution Steps:-
1)Save Program -> C:\Program Files\Java\jdk1.6.0\bin\Java Slips(create folder)
2)Click My computer -> control panel -> System->Advanced -> Environment Variables
->System Variable ->New -> VariableName:Path
Variable Value:C:\Program Files\Java\jdk1.6.0\bin;
(link copy paste from Address bar)
->ok->ok->ok.
3)Click Start button-> Click run->type cmd.
4)Command Prompt will be display .then
C:\> cd C:\Program Files\Java\jdk1.6.0\bin
C:\Program Files\Java\jdk1.6.0\bin>javac example.java
C:\Program Files\Java\jdk1.6.0\bin>java example
2)Click My computer -> control panel -> System->Advanced -> Environment Variables
->System Variable ->New -> VariableName:Path
Variable Value:C:\Program Files\Java\jdk1.6.0\bin;
(link copy paste from Address bar)
->ok->ok->ok.
3)Click Start button-> Click run->type cmd.
4)Command Prompt will be display .then
C:\> cd C:\Program Files\Java\jdk1.6.0\bin
C:\Program Files\Java\jdk1.6.0\bin>javac example.java
C:\Program Files\Java\jdk1.6.0\bin>java example