This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
wood burning stoves
subject: run.bat
Similar Threads
jboss: 'run' is not recognized as an internal or external command
How to set external config directory on classpath ?
Problem with Running Application
Change startup script for custom server
Run jboss after Logoff from windows