-
1. Re: local variable for JAVA_HOME vs System variable
peterj Mar 27, 2013 11:00 AM (in response to jshartig)You could always add the setting for JAVA_HOME into the .bat or .sh script that start JBoss AS.
You could also create another .bat or .sh that first sets JAVA_HOME and then calls the JBoss AS .bat or .sh.
I could be a little more specific if I knew which version of JBoss AS you were using and it I knew how you were starting it (from command line or as a service, and if as a service what mechanism you were using to run it as a service - there are several and each is configured differently).
-
2. Re: local variable for JAVA_HOME vs System variable
jshartig Mar 27, 2013 3:54 PM (in response to peterj)We are running version 7.1.1 as a service. We followed the instructions at
http://www.cisco.com/en/US/products/ps11927/products_tech_note09186a0080be3cc8.shtml
exactly as presented.
-
3. Re: local variable for JAVA_HOME vs System variable
peterj Mar 27, 2013 5:21 PM (in response to jshartig)You have a couple of choices. You can set JAVA_HOME in either service.bat or in standalone.bat. Since the instructionms already have you editng service.bat, that might be the best place to put it.