# WildFly(JBoss) Server is unable to find JAVA_HOME

Chandrajeet Yadav
Greenhorn
Posts: 4
I m trying to start WildFly 10 Server by running "<WildFly_Home>\wildfly-10.1.0.Final\bin\standalone.conf.bat" but at command prompt it is showing error "JAVA_HOME "C:\Program Files\Java\jdk1.8.0_77;" path doesn't exist". I have set Java-path as first value in 'PATH' variable of System 'Environment Variable' as "C:\Program Files\Java\jdk1.8.0_77;<other values>;." Please refer screeshot for more info and suggest me where am I doing wrong ?
commandPrompt.JPG
EnvVariable.JPG

Rob Spoor
Sheriff
Posts: 20817
68
• 1
Have you also set a JAVA_HOME environment variable with value C:\Program Files\Java\jdk1.8.0_77? That should not contain a trailing ;.

Chandrajeet Yadav
Greenhorn
Posts: 4
Rob Spoor wrote:Have you also set a JAVA_HOME environment variable with value C:\Program Files\Java\jdk1.8.0_77? That should not contain a trailing ;.

Yeah Rob ! I have set JAVA_HOME environment variable with same value as you have mentioned but now I have found my mistake and problem has been solved after mentioning the word 'JAVA_HOME' in 'Path' variable as "Java_Home\bin" because earlier I have set full path for JDK bin directory but WildFly Server is identifying it using JAVA_HOME. Thanks a lot for your reply.

Rob Spoor
Sheriff
Posts: 20817
68
You're welcome.