# db-derby-user mailing list archives

##### Site index · List index
Message view
Top
From David Van Couvering <David.Vancouver...@Sun.COM>
Subject Re: Problems with building Derby
Date Thu, 07 Apr 2005 13:11:17 GMT
Yes, I got this problem too, and it took me most of a day to figure it
out.

Are you on XP?  If so, make sure in your ant.properties file you escape
the colons and the backslashes, e.g. C\:\\my\\directory\\to\\files

That said, this has worked for others, but it didn't do squat for me.
What I finally had to do was to move (or copy) the JDK 1.4 and JDK 1.3
folders to <derby_root>/jdk141 and <derby_root>/jdk141.  After much
painful inspecting of the build scripts I determined this was the
default location the scripts were using and no matter how hard I tried I
couldn't get the scripts to listen to me and look elsewhere.

Once I did this the build worked like a charm.

David

Arunanthisivam Vimalathithen wrote:

> Hi,
>
> I seem to be having problems building Derby. I am getting the error
> "java.lang not found in classpath or bootclassPath" I looked around the
> archive and tried different versions of servlet.jars as indicated there,
> but still there was no success.
>
> I also tried it with the developer\trunk branch which comes with
> geronimo-spec-servlet-2.4-rc4.jar and other related jars, but the same
> problem persists. Where am I going wrong?. If it is related to a
> different version of servlet.jar could someone point me where I can get
> the corect version.
>