You could try this
You could try this
@echo off set A=D:\jdk1.6.0_23\bin set B=C:\Documents and Settings\674205\Desktop\JavaProj set PATH="%PATH%;%A%;" set CLASSPATH="%CLASSPATH%;%B%;" go to a command prompt and run it twice(no idea why....i have to do so on a windows XP machine) also the paths r set only for the current command prompt session