• Post Reply Bookmark Topic Watch Topic
  • New Topic

WildFly(JBoss) Server is unable to find JAVA_HOME  RSS feed

 
Chandrajeet Yadav
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
[Thumbnail for commandPrompt.JPG]
Error Message on Command Prompt
EnvVariable.JPG
[Thumbnail for EnvVariable.JPG]
Path value in Envirnoment Variable
 
Rob Spoor
Sheriff
Posts: 21117
85
Chrome Eclipse IDE Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: 21117
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're welcome.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!