i have set the variable as , JAVA_HOME = c:\jdk1.4. so i don't think there isany prob with setting the var.