jQuery in Action, 2nd edition*
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 Murach's Java Servlets and JSP this week in the Servlets 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
It is sorta covered in the JavaRanch Style Guide.
subject: run.bat
Similar Threads
How to set external config directory on classpath ?
Problem with Running Application
Change startup script for custom server
jboss: 'run' is not recognized as an internal or external command
Run jboss after Logoff from windows