It's not a secret anymore!
The moose likes JBoss/WildFly and the fly likes run.bat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "run.bat" Watch "run.bat" New topic


Madhu Sudhana
Ranch Hand

Joined: Apr 16, 2006
Posts: 127
should we set JAVA_HOME and/or JBOSS_HOME in the run.bat file


from where the jboss reads the above things?

thanks in advance....

"And the trouble is, if you don't risk anything, you risk even more." -- Erica Jong.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

If you set these as environment variables JBoss will get them from there, unless you override these settings in run.bat.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: run.bat
It's not a secret anymore!