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

jaikiran do-not-reply at jboss.com
Thu Oct 25 05:34:12 EDT 2007


Do you have Java installed on your system. If not, you can download it from the Sun website. JBoss 4.2.x requires Java 5 version. You can download it from http://java.sun.com/javase/downloads/index_jdk5.jsp. Once you have downloaded it, you can set JAVA_HOME to point to the folder where you installed Java (i would recommend you install it in a folder which does not have a space in its path). You can set the JAVA_HOME in the run.bat itself. Here's an example, i have Java 5 installed at C:\jdk1.5.0_07, so my JAVA_HOME will be set in the run.bat as follows:

JAVA_HOME=C:\jdk1.5.0_07

Once you have set this, you can then start JBoss as usual, using the run.bat

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

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



More information about the jboss-user mailing list