Skip to main content
added 2 characters in body
Source Link
Taryn
  • 248.9k
  • 57
  • 374
  • 409

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

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

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

Source Link

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