• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WildFly(JBoss) Server is unable to find JAVA_HOME

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 22781
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 22781
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're welcome.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic