# [jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JAVA_HOME is not set. Unexpected results may occur.? JB

Fri Jul 25 06:03:42 EDT 2008

```"jaikiran" wrote : anonymous wrote : No, I set it at system environment variable (the bottom one).
|   | %JAVA_HOME% = C:\Program Files\Java\jdk1.5.0_15
| Is this exactly how you set the JAVA_HOME? Then it is incorrect. There should be no % while setting the value.
|

that's on run.bat. Peterj mentioned can set explicitly at "run.bat":

anonymous wrote : Alternately, if you are using JBoss Native to run the service, you can change service.bat to set JAVA_HOME.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166614#4166614