You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by David Crossley <cr...@indexgeo.com.au> on 2003/03/15 01:15:26 UTC

Re: Forrest won't install on Linux (JAVA_HOME is not defined correctly)

sergey wrote:
> Hello!
> 
> I couldn't find anything addressing this problem under Linux in the archives...
> 
> Thanks in advance for any help!!!
> 
> I'm trying to install Forrest on a Linux computer (RedHat 8.0, 2.4.18-24.8.0 kernel).
> 
> Java is installed at 
> 
> $ echo $JAVA_HOME
> /var/java/j2sdk1.4.1_01/
> 
> and other programs can see it OK.
> 
> Upon running ./build.sh dist in the Forrest CVS directory I get this:
> 
> $ ./build.sh dist
> Using classpath: "./lib/endorsed/xalan-2.4.1.jar:./lib/endorsed/xercesImpl-2.1.0.jar:./lib/endorsed/xml-apis.jar:./lib/endorsed/xsltc.jar"
> Error: JAVA_HOME is not defined correctly.
>   We cannot execute java

Perhaps it is the trailing "/" on $JAVA_HOME

--David



Re: Forrest won't install on Linux (JAVA_HOME is not defined correctly)

Posted by Pier Fumagalli <pi...@betaversion.org>.
On 15/3/03 0:15, "David Crossley" <cr...@indexgeo.com.au> wrote:

> sergey wrote:
>> Hello!
>> 
>> I couldn't find anything addressing this problem under Linux in the
>> archives...
>> 
>> Thanks in advance for any help!!!
>> 
>> I'm trying to install Forrest on a Linux computer (RedHat 8.0, 2.4.18-24.8.0
>> kernel).
>> 
>> Java is installed at
>> 
>> $ echo $JAVA_HOME
>> /var/java/j2sdk1.4.1_01/
>> 
>> and other programs can see it OK.
>> 
>> Upon running ./build.sh dist in the Forrest CVS directory I get this:
>> 
>> $ ./build.sh dist
>> Using classpath:
>> "./lib/endorsed/xalan-2.4.1.jar:./lib/endorsed/xercesImpl-2.1.0.jar:./lib/end
>> orsed/xml-apis.jar:./lib/endorsed/xsltc.jar"
>> Error: JAVA_HOME is not defined correctly.
>>   We cannot execute java
> 
> Perhaps it is the trailing "/" on $JAVA_HOME

Or otherwise make sure you execute

$ export JAVA_HOME

I always forget that part :-)

    Pier