Do you mean to package the JDK and JBoss AS into a single file that can be unpacked? Yes you can. Just make sure that once the file is unpacked that JAVA_HOME is set properly to point ot the JDK. Also, you will need different packages for different operating systems.1 of 1 people found this helpful
if you are using a tool like Inno Setup you can modify the JBoss AS's run.cmd/run.sh script so that it contains the correct JAVA_HOME, then zip JBoss and add to the InnoSetup Project the JDK and the zipped JBoss.
This will produce a setup.exe file which will install both JBoss and the JDK.
hope it helps