You can edit the run.bat and set the JAVA_HOME as follows (see the line marked in bold):
@echo off
| rem -------------------------------------------------------------------------
| rem JBoss Bootstrap Script for Win32
| rem -------------------------------------------------------------------------
|
| rem $Id: run.bat 63249 2007-05-30 13:20:25Z dimitris(a)jboss.org $
|
| @if not "%ECHO%" == "" echo %ECHO%
| @if "%OS%" == "Windows_NT" setlocal
|
| set JAVA_HOME=C:\jdk1.5.0_07
|
| set DIRNAME=.\
| if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
| set PROGNAME=run.bat
| if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099174#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...