Openbravo Issue Tracking System - Openbravo Deployment Options
View Issue Details
0007325Openbravo Deployment OptionsAppliance rPathpublic2009-02-02 18:382009-02-03 12:04
plujan 
jpabloae 
immediatemajorhave not tried
closedno change required 
5
2.35MP11 
 
0007325: I receive a "JAVA_HOME is not defined correctly error" when executing an update.database
I go to Openbravo console to export the database and I execute:
$ ant export.database
Error: JAVA_HOME is not defined correctly.
  We cannot execute /usr/lib/jvm/sun-java-1.5.0_16/bin/java

After looking the Java Virtual Machine path, I found that current java version is 1.5.0_17 and that may be the cause of the error.
No tags attached.
Issue History
2009-02-02 18:38plujanNew Issue
2009-02-02 18:38plujanAssigned To => jpabloae
2009-02-02 18:52jpabloaeNote Added: 0013034
2009-02-02 18:52jpabloaeStatusnew => feedback
2009-02-02 18:54jpabloaeNote Added: 0013035
2009-02-02 19:15plujanStatusfeedback => scheduled
2009-02-02 19:15plujanNote Added: 0013038
2009-02-02 19:15plujanfix_in_branch => trunk
2009-02-03 12:04jpabloaeStatusscheduled => closed
2009-02-03 12:04jpabloaeResolutionopen => no change required
2012-07-19 13:11gorka_gilCategoryAppliance stack => Appliance rPath

Notes
(0013034)
jpabloae   
2009-02-02 18:52   
You might need to close the SSH session and open a new one. To apply the JAVA_HOME changes done by the update.
(0013035)
jpabloae   
2009-02-02 18:54   
If you're using a tty console and not SSH, then you'll need to log out and log in again.
(0013038)
plujan   
2009-02-02 19:15   
I did it and it worked.