Copy JBOSS setup folder in the new folder directory.
# cd /jboss-6.1.0.Final/bin
make Change in run.conf file, we are not using the default java path so we will have to change the java path in the run.conf file.
# vi run.conf
Change the java with the one we are using
Save it and exit
Now run this command
After some time and following will be the output when process is complete.