hi!! if u hve a vista platform then, onyour desktop right click on computer icon, then properties,then advanced system settings, in that click enviroment variables, then click new, then a pop up with variable and value will appear. in variable write path and in value write your path ended by ;. and then in command prompt write javac.. here it is!!
Apr 26, 2010