cancel
Showing results for 
Search instead for 
Did you mean: 

JAVA_HOME and JRE_HOME

johan1974
Champ in-the-making
Champ in-the-making
Hello,

I have installed java (jdk-6u3-windows-i586-p) and Alfresco (alfresco-community-tomcat-2.1.0) when i start alf_start.bat i get the following:

Starting Tomcat…
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program

How can i set this right?

Thnx!

Johan
3 REPLIES 3

mikeh
Star Contributor
Star Contributor
Hi

JAVA_HOME should be set to something like C:\Program Files\Java\jdk1.6.0_03 depending on where exactly you installed the JDK.

Thanks,
Mike

johan1974
Champ in-the-making
Champ in-the-making
Thnx i found it , should this not be set with the installation of java ?  :?

steve
Champ in-the-making
Champ in-the-making
Hi,

Unfortunately Java does not set it - the readme for Java tells you how to do it (and the instructions are also on the Sun website).

Steve