Sorry for spamming U r mail Box..!!! This is the Exact Error that I am getting when I try to build Derby in Netbeans
****************************************************************************** init: Created dir: /root/db-derby-10.2.2.0-src/classes ensuresanitystate: evaluate.sane: ensuresanitystate.sane: sane: Creating new property file: /root/db-derby-10.2.2.0-src /java/engine/state.properties ensuresanitystate.insane: setissane: showenv: Ant environment: Base Directory: /root/db-derby-10.2.2.0-src Build output: /root/db-derby-10.2.2.0-src/classes Compiler: modern Sane = true Proceed = no getstate: state: Generating SanityState.java... Copying 1 file to /root/db-derby-10.2.2.0-src /java/shared/org/apache/derby/shared/common/sanity Updating property file: /root/db-derby-10.2.2.0-src /java/engine/state.properties shared: compile: Compiling 11 source files to /root/db-derby-10.2.2.0-src/classes Fatal Error: Unable to find package java.lang in classpath or bootclasspath /root/db-derby-10.2.2.0-src/build.xml:347: The following error occurred while executing this line: /root/db-derby-10.2.2.0-src/java/shared/build.xml:67: Compile failed; see the compiler error output for details. BUILD FAILED (total time: 1 second) ************************************************************************************* On 3/1/07, Ravinder Reddy <[EMAIL PROTECTED]> wrote:
No , I never tried to build Derby outside of Netbeans..!!. And I installed jdk1.5 2 months back and I downloaded the Derby Source from the latest Official Release..!! Thank You..!! On 3/1/07, John Embretsen <[EMAIL PROTECTED]> wrote: > > Ravinder Reddy wrote: > > I followed the instruction in the Article But I got the > > following error when I try to build derby in Netbeans.!!! > > Error.....!!! > > Fatal Error: Unable to find package java.lang in classpath > > or bootclasspath > > plzz look into this and reply.. Thank You > > This tends to happen when there is something wrong with the Java (JDK) > setup/installation. Are you sure you followed the instructions in > BUILDING.txt > regarding installing JDKs and configuring your ant.properties file? I > guess the > question is: Have you successfully built Derby before (outside of > NetBeans)? > > Where in the build process does this happen (which ant target)? > > > -- > John > >
