hello all,
I followed the instructions in BUILDING.txt
to build derby.when I type ant
as the final step for installation I am getting the following error..!!
[EMAIL PROTECTED] db-derby-10.2.2.0-src]# ant
Buildfile: build.xml
init:
ensuresanitystate:
setissane:
showenv:
[echo] Ant environment:
[echo] Base Directory: /usr/src/db-derby-10.2.2.0-src
[echo] Build output: /usr/src/db-derby-10.2.2.0-src/classes
[echo] Compiler: modern
[echo] Sane = false
[echo] Proceed = true
getstate:
state:
shared:
compile:
[javac] Compiling 11 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
[javac] Compiling 12 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
shared:
parsers:
parser:
chkparser:
genParser:
chkparser:
genParser:
parser:
chkparser:
genParser:
engine:
engine_169:
compile_reference:
[javac] Compiling 11 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
[javac] Compiling 2 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_authentication:
[javac] Compiling 1 source file to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
authentication:
compile_io:
[javac] Compiling 4 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
storage:
compile_iapi_error_jsr169:
compile_reference:
[javac] Compiling 11 source files to /usr/src/db-derby-10.2.2.0-src
/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
[javac] Compiling 2 source files to /usr/src/db-
derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
[javac] Compiling 4 source files to /usr/src/db-
derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_util:
compile_types:
[javac] Compiling 1 source file to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
[javac] Compiling 57 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
[javac] Compiling 2 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_services_jsr169:
[javac] Compiling 85 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_services_io:
[javac] Compiling 37 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_store_jsr169:
[javac] Compiling 77 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_sql_jsr169:
[javac] Compiling 110 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_db:
[javac] Compiling 9 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_jdbc_jsr169:
[javac] Compiling 12 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_database:
[javac] Compiling 2 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
database:
compile_impl_169:
compile_impl_services_169:
[javac] Compiling 62 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_impl_io_169:
[javac] Compiling 11 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
engine_j2se:
compile_iapi_error_jsr169:
compile_reference:
[javac] Compiling 11 source files to /usr/src/db-
derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
[javac] Compiling 2 source files to /usr/src/db-
derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
[javac] Compiling 4 source files to /usr/src/db-
derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_util:
compile_types:
[javac] Compiling 1 source file to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
[javac] Compiling 57 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
[javac] Compiling 2 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_services_jsr169:
[javac] Compiling 85 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_services_io:
[javac] Compiling 37 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_store_jsr169:
[javac] Compiling 77 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_sql_jsr169:
[javac] Compiling 110 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_db:
[javac] Compiling 9 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_jdbc_jsr169:
[javac] Compiling 12 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_error:
compile_iapi_services_jsr169:
[javac] Compiling 85 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_services_io:
[javac] Compiling 37 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_crypto:
compile_crypto:
[javac] Compiling 3 source files to /usr/src/db-derby-10.2.2.0-src
/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_jdbc3:
compile:
compile_iapi_store_jsr169:
[javac] Compiling 77 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_store_jdk13:
[javac] Compiling 2 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile:
compile_iapi_sql_jsr169:
[javac] Compiling 110 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_sql_jdbc2:
compile:
compile_iapi_jdbc:
compile_iapi_jdbc_stmt:
[javac] Compiling 1 source file to /usr/src/db-
derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_jdbc_jsr169:
[javac] Compiling 12 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_jdbc_jdbc2:
[javac] Compiling 3 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_iapi_jdbc_jdbc3:
[javac] Compiling 3 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_jdbc4:
compile:
iapi:
compile_impl_169:
compile_impl_services_169:
[javac] Compiling 62 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_impl_io_169:
[javac] Compiling 11 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile:
compile_impl_services_169:
[javac] Compiling 62 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_impl_services:
[javac] Compiling 3 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_impl_io_169:
[javac] Compiling 11 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_impl_io:
[javac] Compiling 3 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
parser:
chkparser:
genParser:
compile:
[javac] Compiling 443 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_impl_store:
[javac] Compiling 191 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile:
[javac] Compiling 3 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile:
[javac] Compiling 12 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_impl_jdbc:
compile_jsr169:
[javac] Compiling 20 source files to /usr/src/db-derby-10.2.2.0-src
/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
[javac] Compiling 4 source files to /usr/src/db-
derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_jdbc2:
[javac] Compiling 3 source files to /usr/src/db-
derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
[javac] Compiling 3 source files to /usr/src/db-
derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_jdbc3:
[javac] Compiling 5 source files to /usr/src/db-
derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_jdbc4:
compile:
iapi:
checkjikessource:
compile_jsr169:
[javac] Compiling 2 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_jdbc2_gump:
compile_jdbc2_nosource:
[javac] Compiling 7 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_jdbc2:
compile_jdbc3:
[javac] Compiling 6 source files to /usr/src/db-derby-10.2.2.0-src
/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
compile_jdbc4:
jdbc:
checkosgijar:
compile_osgi:
osgi:
compile_catalog:
[javac] Compiling 25 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
catalog:
compile_diag:
[javac] Compiling 7 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
diag:
compile_vti:
[javac] Compiling 9 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
vti:
checkJ2MEmoduleprops:
J2ME_modules_edit:
engine_169_opt:
jdbc4_modules_edit:
engine:
build:
build_base:
compile:
[javac] Compiling 13 source files to
/usr/src/db-derby-10.2.2.0-src/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath
or bootclasspath
[javac] Compile failed; see the compiler error output for details.
build:
build:
verifysplit:
split:
splitprops:
verifysplit:
noSplit:
[echo] ***** SplitMessages not available *****
[echo] ***** Run "all" target first *****
BUILD FAILED
/usr/src/db-derby-10.2.2.0-src/build.xml:335: The following error
occurred while executing this line:
/usr/src/db-derby-10.2.2.0-src/java/engine/org/apache/derby/loc/build.xml:35:
The following error occurred while executing this line:
/usr/src/db-derby-10.2.2.0-src/java/engine/org/apache/derby/loc/build.xml:138:
Exiting ant build...
Total time: 21 seconds
[EMAIL PROTECTED] db-derby-10.2.2.0-src]#
It is clear from the above error that the compiler is not
finding java.lang classes.
here is my CLASSPATH variable.
[ [EMAIL PROTECTED] ~]# echo $CLASSPATH
.:/usr/java/j2sdk1.4.2_14/lib:/usr/java/j2sdk1.4.2_14/lib/tools.jar:/usr/java/j2sdk1.4.2_14/lib/dt.jar:/usr/java/j2sdk1.4.2_14/lib/jpda.jar:/usr/java/j2sdk1.4.2_14/jre/lib/rt.jar:/opt/junit3.8.1/junit.jar
[EMAIL PROTECTED] ~]#
plzz help me in building the derby.
Thank U.
On 6/4/07, *Myrna van Lunteren* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
On 6/3/07, Life Challenge < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
>
> On 6/3/07, Andrew McIntyre <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
> > On 6/3/07, Life Challenge < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
> > >
> > >
> > > On 6/3/07, Andrew McIntyre <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
> > > > On 6/2/07, [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
> > > > > Life Challenge < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> writes:
> > > > > >
> > > > > > Is there something wrong with my P.C.? or what might be the
> problem.
> > > > >
> > > > > Are you able to look at the URL in a browser? If so; is
your browser
> > > > > configured to use a proxy server? If it is, you may need
to use the
> same
> > > > > proxy for svn (modify the config file).
> > > >
> > > > In addition to determining whether or not you are going
through a
> > > > proxy, can you ping/traceroute to svn.apache.org
<http://svn.apache.org>? i.e. can you get to
> > > > the machine, or is the machine refusing to honor your request?
> > > >
> > > > If you can ping svn.apache.org <http://svn.apache.org>,
then there is a chance that the Apache
> > > > infrastructure team has blocked svn access from users of
your ISP due
> > > > to abuse of the machine by users of your ISP. If you are
able to ping
> > > > the machine, then please send your IP address and we can
check if your
> > > > ISP is currently blocked on the Apache side.
> > > >
> > > > If you cannot ping or traceroute to the machine, and you
determine
> > > > that you don't need to configure settings for a proxy, then
you should
> > > > check with your ISP's technical support.
> > > >
> > > > HTH,
> > > > andrew
> > > >
> > >
> > > hi,
> > >
> > > 1) I am able to look at the URL in the browser.
> > > 2) My browser is configured to use a proxy server.
> > > 3) I am able ping/traceroute to svn.apache.org
<http://svn.apache.org>
> > > 4) I modified the servers file as follows.
> > > [global]
> > > http-proxy-host = 192.168.36.204
<http://192.168.36.204>
> > > http-proxy-port = 8080
> > > 5) This time I am getting a different error
> > >
> > > [EMAIL PROTECTED] ~]# svn co
> > > http://svn.apache.org/repos/asf/db/derby/code/trunk/
> > > svn: REPORT request failed on
'/repos/asf/!svn/vcc/default'
> > > svn: REPORT of '/repos/asf/!svn/vcc/default': 400
Bad Request
> (
> > > http://svn.apache.org)
> > > [EMAIL PROTECTED] ~]#
> > > N.B: Last time I got the error as PROFIND request failed and
this time
> > > REPORT request failed. Is there something wrong with HTTP or
what it
> could
> > > be.??. and what is thus 400 Bad Request( http://svn.apache.org).
> >
> > Subversion, when accessed via HTTP, uses several non-standard HTTP
> > request methods to retrieve certain information. One of these
methods
> > is REPORT. It appears the HTTP proxy server you are using to
contact
> > the Apache Subversion server is not forwarding the HTTP REPORT
request
> > from your proxy to Apache's Subversion server.
> >
> > You need to contact the administrator of your proxy server and
request
> > that they forward HTTP REPORT requests in addition to the other
HTTP
> > methods needed for Subversion. There are 5 HTTP methods which your
> > proxy must forward: PROPFIND, REPORT, MERGE, MKACTIVITY, CHECKOUT.
> >
> > Please be sure to read the following before going any further:
> >
> > http://subversion.tigris.org/faq.html#proxy
> >
> > HTH,
> > andrew
> >
>
> Thanks andrew.
> Can I use any alternative method to build the derby
in Eclipse ?
>
> 1) Can I access SVN using Other protocol than HTTP.?
> 2) I have already downloaded the source from Derby web
site.how can I
> build using
> the downloaded source in Eclipse (no SVN here).?
> plzz suggest me in this regards.
> Thanks in advance.
>
>
>
Hi,
You can use ant (1.6.5 works well).
Follow the instructions in BUILDING.txt at the top of the trunk.
HTH.
Myrna