"gan.gary" wrote : Thanks. why ? Any difference?

Those parameters are passed to the JVM. The run.bat (or the run.sh) is 
responsible for instantiating the JVM. These scripts do not look into the 
environment variables for JVM options. So you either have to change those 
scripts yourself to pick the values from environment variables or just (the 
easier and better way) is to set it directly in the run.bat.

The other reason why i don't set such parameters as environment variables is, 
these parameters are per JVM and need not be per user or per system. So it 
makes sense to have them set in the script which instantiates the JVM. Infact, 
i don't even set the JAVA_HOME as an environment variable, given that i have 
more than one java installation on my system.
  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188782#4188782

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188782
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to