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

gan.gary do-not-reply at jboss.com
Thu Jul 24 20:13:36 EDT 2008


anonymous wrote : When running JBossAS as a service in Windows, you must make sure that you set JAVA_HOME in the System Variables section of the Environment Variables tab on the system properties dialog. Setting JAVA_HOME in the User Variables section will not work! 

No, I set it at system environment variable (the bottom one). It runs fine when using run.bat. It only not work on this VPC environment. Previously all ok.

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

you meant I can set :

%JAVA_HOME% = C:\Program Files\Java\jdk1.5.0_15

in the run.bat?



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

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



More information about the jboss-user mailing list