save hello.java file into the path where jdk1.3 or jdk1.5 lies.
that means in notepad file--save in c:\program files\jdk1.3 by choosing in save in top bar.
-------------------------------------------------------------------
secondly set path in command prompt
then open this c:\program files\jdk1.3 on my computer and copy this address by right clicking on address bar of my computer
then open command prompt and write cd "c:\program files\jdk1.3" . this between quotes can be pasted by right clicking and pasting .press enter key
---------------------------------------------------
> javac hello.java
>java hello
|