title: How to set java version in JBoss 7?
body: <p>I've got machine which is using 2 versions of java(for eg. 6-th and 7-th). If I will run <code>java -version</code>, the system will say it's 6-th. Is there an approach to set another java version for JBoss only? </p>