How to set JBOSS_HOME in Windows/Unix based OS?

Solution Verified - Updated -

Issue

  • How to set JBOSS_HOME for each installation of JBoss if all installations are in same physical machine?
  • How to set JBOSS_HOME rather than system variable in Windows bases OS?
  • How to set JBOSS_HOME rather than system PATH in Unix based OS?
  • How to set JBOSS_HOME in Windows?
  • How to set JBOSS_HOME in Unix?
  • There is a conflict with the JBOSS_HOME environment variables because already JBoss EAP 4.3 and JBoss EAP 5.1 running on the same Windows server.
  • If JBoss EAP 5 and JBoss EAP 6 are installed on the same Windows server, but now environment variable JBOSS_HOME is conflicting, How to set different environment variable name(like JBOSS_HOME2) for JBoss EAP 5? What are the files need to modify? and is there any impact of changing name?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x
    • 6.x
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.