cancel
Showing results for 
Search instead for 
Did you mean: 

JRE_HOME Path

sheelamk
Champ in-the-making
Champ in-the-making
hai..When I start alfrsco server..JRE_HOME  just shows /usr..pls let me know where to set this path..I'm using open-jdk from Ubuntu ..

sourceone@sourceone-ThinkCentre-M71e:~/alfresco-4.0.d$ ./alfresco.sh start tomcat
Using CATALINA_BASE:   /home/sourceone/alfresco-4.0.d/tomcat
Using CATALINA_HOME:   /home/sourceone/alfresco-4.0.d/tomcat
Using CATALINA_TMPDIR: /home/sourceone/alfresco-4.0.d/tomcat/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /home/sourceone/alfresco-4.0.d/tomcat/bin/bootstrap.jar
/home/sourceone/alfresco-4.0.d/tomcat/scripts/ctl.sh : tomcat started
sourceone@sourceone-ThinkCentre-M71e:~/alfresco-4.0.d$
2 REPLIES 2

bisana
Champ on-the-rise
Champ on-the-rise
It had taken your default JAVA_HOME,JRE_HOME
ie the reason tomcat been started,
Can you check the logs to see if you had any problem in starting tomcat

If you want to customise ur JAVA_HOME and JRE_HOME
you need to export it prior before starting the service, in your case U don't need to do it

sheelamk
Champ in-the-making
Champ in-the-making
yes..I 've set..below PATH in both../etc/environment  and /etc/bash.bashrc file…

It should display JRE_HOME know../usr/lib/jvm/java-7-oracle


JAVA_HOME=/usr/lib/jvm/java-7-oracle
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH