db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravinder Reddy <pand...@students.iiit.ac.in>
Subject Derby Building problems..
Date Wed, 18 Jul 2007 17:08:39 GMT

 	hi all,
 		while I am trying to build the derby(10.3) in Fedora 7
I am getting the following problems.please help me as my two issues
DERBY-2750 and DERBY-2945 are getting delayed for the same reason.

Some sys info.

[root@localhost ~]# echo $JAVA_HOME
/opt/java/j2sdk1.4.2_14

[root@localhost ~]# echo $CLASSPATH
.:/opt/java/j2sdk1.4.2_14/lib:/opt/java/j2sdk1.4.2_14/lib/tools.jar:
/opt/java/j2sdk1.4.2_14/lib/dt.jar:/opt/java/j2sdk1.4.2_14/lib/jpda.jar:
/opt/java/j2sdk1.4.2_14/jre/lib/rt.jar:/opt/java/j2sdk1.4.2_14/src.zip:
/opt/junit3.8.1/junit.jar:/home/WorkSpace/DerbyGsoc/classes:
/root/mysql-connector-java-3.0.17-ga/mysql-connector-java-3.0.17-ga-bin.jar
:/home/WorkSpace/DerbyGsoc/java/testing/

[root@localhost ~]# cat ant.properties
j14lib=/usr/java/j2sdk1.4.2_14/jre/lib
build.compiler=modern
proceed=false
sane=false
[root@localhost ~]#

 	I have followed the instructions in BUILDING.txt.
The Error is same i.e

[root@localhost DerbyGsoc]# ant
Buildfile: build.xml

init:

ensuresanitystate:

setissane:

showenv:

      [echo] Ant environment:
      [echo]   Base Directory: /home/WorkSpace/DerbyGsoc
      [echo]   Build output: /home/WorkSpace/DerbyGsoc/classes
      [echo]   Compiler: modern
      [echo]   Sane = false
      [echo]   Proceed = false


getstate:

state:

shared:

compile:
     [javac] Compiling 12 source files to /home/WorkSpace/DerbyGsoc/classes
     [javac] Fatal Error: Unable to locate package java.lang in classpath 
or bootclasspath

BUILD FAILED
/home/WorkSpace/DerbyGsoc/build.xml:351: The following error occurred 
while executing this line:
/home/WorkSpace/DerbyGsoc/java/shared/build.xml:67: Compile failed; see 
the compiler error output for details.

Total time: 2 seconds
[root@localhost DerbyGsoc]#


On Sat, 14 Jul 2007, Ravinder Reddy wrote:

> On Fri, 13 Jul 2007, Andrew McIntyre wrote:
>
>> On 7/13/07, Ravinder Reddy <pandiri@students.iiit.ac.in> wrote:
>>> 
>>>
>>>         Thankyou kathey.
>>> On Fri, 13 Jul 2007, Kathey Marsden wrote:
>>> 
>>> > Ravinder Reddy wrote:
>>> >>
>>> >>     hi,
>>> >>
>>> >> 1) how to get eclipse set up to not use tabs?
>>> >>
>>> > You can go to
>>> > Window->Preferences-> Java->Formatter-> New
>>> > give a profile name and then change the
>>> > Tab Policy to spaces only.
>>> >
>>> > To reformat your source
>>> > Source -> Format
>>> >
>>> >
>>> >> 2) recently I have migrated to a new machine in which Fedora 7 is
>>> >> installed.
>>> >>     Some info regarding my system.
>>> >
>>> > Perhaps the issue is  this line in your ant.properties
>>> > j14lib=$jdk14_home/jre/lib
>>>
>>>         The same problem even If I give the full path.??
>> 
>> If you are building from inside Eclipse and get the 'Unable to find
>> package java.lang in classpath or bootclasspath' error, make sure that
>> the JRE system library has been added to your project classpath.
>> Select Properties from the Project menu, then Java Build Path. You
>> should have the JRE System Library from your JDK 1.4.2 installation
>> listed. If not, choose Add Library... and then JRE System Library and
>> click Next.... You may need to select the Alternate JRE button at this
>> point and specify the location of your JDK 1.4.2 installation at this
>> point.
> 	yes I have tested with JDK 1.4 and JDK 1.5 and with both.But the 
> same error.
>> 
>> A guide to setting up Eclipse from scratch can be found here:
>> 
>> http://wiki.apache.org/db-derby/BuildingDerby
>>
> 	I have followed this link only.
>> That may also provide some useful tips to getting your Eclipse
>> installation set up properly.
>> 
>> best regards,
>> andrew
>> 
>> 
> Thank You.
>
>

-- 
******************************************************************************

    Every problem that has been solved can be solved again in a better way

                                                   - Ravinder Reddy

*******************************************************************************


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Mime
View raw message