help in setting JAVA_HOME enviorment

ZIYAD A. M. AL-BATLY zamb at
Fri Jul 8 05:50:54 UTC 2005

On Fri, 2005-07-08 at 10:03 +0500, Mustafa Abbasi wrote:
> i want to install apache cocoon.
> but to do that it is neccesary to compile it.
> problem is it wants me to set the JAVA_HOME enviorment.
> the install doc told me to do this.
> JAVA_HOME=/path/to/java
> and since i installed java in /sr/java i did this.
> JAVA_HOME=/usr/java
> but it still does not work.
You didn't gave us much details, but try:
        export JAVA_HOME=/usr/java

See if that solves your problem.

More information about the ubuntu-users mailing list