[jboss-user] [Beginners Corner] - Re: A Beginner Problem: JAVA_HOME not set?

jaikiran do-not-reply at jboss.com
Fri Oct 26 05:33:53 EDT 2007


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 at 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#4099174

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099174



More information about the jboss-user mailing list