1、JBoss官网下载最新的jboss-eap-6.1.0,需要注册http://www.jboss.org/jbossas/。下载后解压即可,解压目录不要有空格,参考 http://developer.51cto.com/art/200906/130210.htm。
环境变量配置好后在cmd中运行run.bat后,根据提示操作出现错误如下:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit
网上搜索有说是64位系统要安装64位jdk,果然我的java默认安装在c盘programfiles(X86)下,于是下载64位jdk安装并配好环境变量后,运行没有问题了。