logo       

RE: Re: Enhydra digest, Vol 1 #436 - 6 msgs: msg#00122

java.enhydra.general

Subject: RE: Re: Enhydra digest, Vol 1 #436 - 6 msgs

It's something about wrong classpath or path variable, or something with jdk
version and JAVA_HOME variable.
We compiled enhydra 5.0 on Solaris with jdk 1.4.1 without any problem.
Try to set your CLASSPATH to only jdk_home/lib/tools.jar and PATH variable
only to jdk_home/bin and set JAVA_HOME variable to your jdk_home directory
and start compile.sh again.

Regards
Dragan

Together Belgrade

-----Original Message-----
From: enhydra-admin@xxxxxxxxxxx [mailto:enhydra-admin@xxxxxxxxxxx]On
Behalf Of canderson@xxxxxxxxxxxxxxx
Sent: 29. oktobar 2002 20:44
To: enhydra@xxxxxxxxxxx
Subject: Enhydra: Re: Enhydra digest, Vol 1 #436 - 6 msgs


> Subject: RE: Enhydra: Enhydra build fails on Solaris
> Date: Mon, 28 Oct 2002 15:50:46 -1000
> From: "Mike Warne" <mike.warne@xxxxxxxxxx>
>
> Is there a script in your enhydra5.0/bin directory that starts ant?
(ant.sh?)
> For windows there's the ant.bat file that sets up the classpaths before
calling ant
> XMLC requires serveral other jars, such as the gnu-regex, and the
> xerces jars. The ant startup script should allow ant to see these jars.

The compile is fired by a script included with the source called compile.sh.
It does expand on the classpath, and includes the ant, optional, junit,
xerces and tools jar in addition to my regular classpath (which already
included tools, as well as the regular j2se/lib dir).

> I develop in Win32, and deploy to Solaris, and it's working fine. I
copied all the
> required jars to Solaris and set up the classpaths in my own script that
> starts the multiserver. Haven't tried building Enhydra from source though.

Hadn't really considered that, but it does make sense that the java files
could be built anywhere and run elsewhere... might have to try that if I
can't
get this working. Thanks for the idea!

Cheers!

Cliff
_______________________________________________
Enhydra mailing list
Enhydra@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/enhydra


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise