Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Building Eclipse 3.4.1 From Source Fails
Building Eclipse 3.4.1 From Source Fails [message #332067] Wed, 01 October 2008 21:54 Go to next message
Bryan Rockwood is currently offline Bryan RockwoodFriend
Messages: 2
Registered: July 2009
Junior Member
Greetings,

I am trying to compile Eclipse 3.4.1 from source and am running into a
series of compile errors. Everything appears to be compiling fine when it
reaches the org.eclipse.osgi plugin. There, it ends up throwing over
12,659 errors. I have attached the first couple to this message. I
followed instructions.html and am using the build.properties from Eclipse
3.4, which compiles fine. Any help would be appreciated, thanks.

Bryan

The system specs are:

HP xw6200
RedHat Enterprise Workstation 5.2

My build.properties:

J2SE-1.4=/home/user/java/j2sdk1.4.2_18/jre/lib/rt.jar;/home/ user/java/j2sdk1.4.2_18/jre/lib/jsse.jar;/home/user/java/j2s dk1.4.2_18/jre/lib/jce.jar
J2SE-1.5=/home/user/java/jdk1.5.0_16/jre/lib/rt.jar;/home/us er/java/jdk1.5.0_16/jre/lib/jsse.jar;/home/user/java/jdk1.5. 0_16/jre/lib/jce.jar
JavaSE-1.6=/home/user/java/jdk1.6.0_07/jre/lib/rt.jar;/home/ user/java/jdk1.6.0_07/jre/lib/jsse.jar;/home/user/java/jdk1. 6.0_07/jre/lib/jce.jar

First part of the error output:

# 10/1/08 8:09:48 PM UTC
# Eclipse Java Compiler 0.871, 3.4.0 release candidate-3, Copyright IBM
Corp 2000, 2008. All rights reserved.
----------
1. ERROR in
/tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
(at line 1)
/*
^
The type java.lang.Object cannot be resolved. It is indirectly referenced
from required .class files
----------
2. ERROR in
/tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
(at line 1)
/*
^
The type java.lang.String cannot be resolved. It is indirectly referenced
from required .class files
----------
3. ERROR in
/tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
(at line 21)
import java.io.IOException;
^^^^^^^
The import java.io cannot be resolved
----------
4. ERROR in
/tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
(at line 22)
import java.security.*;
^^^^^^^^^^^^^
The import java.security cannot be resolved
----------
Re: Building Eclipse 3.4.1 From Source Fails [message #332090 is a reply to message #332067] Thu, 02 October 2008 15:23 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Bryan,
Take a peek at the org.eclipse.osgi/build.xml file:
The javac call in the @dot target uses
bootclasspath="${bundleBootClasspath}"

At the top, we see the property being set:
<property name="bundleBootClasspath"
value=" osgi/exceptions.jar;osgi/xmlParserAPIs.jar;${CDC-1.0/Foundat ion-1.0} "/>

The CDC-1.0/Foundation-1.0 is similar to the other bootclasspath
properties you are already setting (ie J2SE-1.4). You can either get a
vm for that environment (http://wiki.eclipse.org/J9), or I think you can
probably get away with using 1.5:

CDC-1.0/Foundation-1.0=${J2SE-1.5}

-Andrew

Bryan Rockwood wrote:
> Greetings,
>
> I am trying to compile Eclipse 3.4.1 from source and am running into a
> series of compile errors. Everything appears to be compiling fine when
> it reaches the org.eclipse.osgi plugin. There, it ends up throwing over
> 12,659 errors. I have attached the first couple to this message. I
> followed instructions.html and am using the build.properties from
> Eclipse 3.4, which compiles fine. Any help would be appreciated, thanks.
>
> Bryan
>
> The system specs are:
>
> HP xw6200
> RedHat Enterprise Workstation 5.2
>
> My build.properties:
>
> J2SE-1.4=/home/user/java/j2sdk1.4.2_18/jre/lib/rt.jar;/home/ user/java/j2sdk1.4.2_18/jre/lib/jsse.jar;/home/user/java/j2s dk1.4.2_18/jre/lib/jce.jar
>
> J2SE-1.5=/home/user/java/jdk1.5.0_16/jre/lib/rt.jar;/home/us er/java/jdk1.5.0_16/jre/lib/jsse.jar;/home/user/java/jdk1.5. 0_16/jre/lib/jce.jar
>
> JavaSE-1.6=/home/user/java/jdk1.6.0_07/jre/lib/rt.jar;/home/ user/java/jdk1.6.0_07/jre/lib/jsse.jar;/home/user/java/jdk1. 6.0_07/jre/lib/jce.jar
>
>
> First part of the error output:
>
> # 10/1/08 8:09:48 PM UTC
> # Eclipse Java Compiler 0.871, 3.4.0 release candidate-3, Copyright IBM
> Corp 2000, 2008. All rights reserved.
> ----------
> 1. ERROR in
> /tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
> (at line 1)
> /*
> ^
> The type java.lang.Object cannot be resolved. It is indirectly
> referenced from required .class files
> ----------
> 2. ERROR in
> /tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
> (at line 1)
> /*
> ^
> The type java.lang.String cannot be resolved. It is indirectly
> referenced from required .class files
> ----------
> 3. ERROR in
> /tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
> (at line 21)
> import java.io.IOException;
> ^^^^^^^
> The import java.io cannot be resolved
> ----------
> 4. ERROR in
> /tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
> (at line 22)
> import java.security.*;
> ^^^^^^^^^^^^^
> The import java.security cannot be resolved
> ----------
>
Re: Building Eclipse 3.4.1 From Source Fails [message #332096 is a reply to message #332090] Thu, 02 October 2008 18:37 Go to previous messageGo to next message
Bryan Rockwood is currently offline Bryan RockwoodFriend
Messages: 2
Registered: July 2009
Junior Member
Andrew,

Thank you for your help; that fixed the problem!

Bryan

Andrew Niefer wrote:

> Bryan,
> Take a peek at the org.eclipse.osgi/build.xml file:
> The javac call in the @dot target uses
> bootclasspath="${bundleBootClasspath}"

> At the top, we see the property being set:
> <property name="bundleBootClasspath"
>
value=" osgi/exceptions.jar;osgi/xmlParserAPIs.jar;${CDC-1.0/Foundat ion-1.0} "/>

> The CDC-1.0/Foundation-1.0 is similar to the other bootclasspath
> properties you are already setting (ie J2SE-1.4). You can either get a
> vm for that environment (http://wiki.eclipse.org/J9), or I think you can
> probably get away with using 1.5:

> CDC-1.0/Foundation-1.0=${J2SE-1.5}

> -Andrew

> Bryan Rockwood wrote:
>> Greetings,
>>
>> I am trying to compile Eclipse 3.4.1 from source and am running into a
>> series of compile errors. Everything appears to be compiling fine when
>> it reaches the org.eclipse.osgi plugin. There, it ends up throwing over
>> 12,659 errors. I have attached the first couple to this message. I
>> followed instructions.html and am using the build.properties from
>> Eclipse 3.4, which compiles fine. Any help would be appreciated, thanks.
>>
>> Bryan
>>
>> The system specs are:
>>
>> HP xw6200
>> RedHat Enterprise Workstation 5.2
>>
>> My build.properties:
>>
>>
J2SE-1.4=/home/user/java/j2sdk1.4.2_18/jre/lib/rt.jar;/home/ user/java/j2sdk1.4.2_18/jre/lib/jsse.jar;/home/user/java/j2s dk1.4.2_18/jre/lib/jce.jar
>>
>>
J2SE-1.5=/home/user/java/jdk1.5.0_16/jre/lib/rt.jar;/home/us er/java/jdk1.5.0_16/jre/lib/jsse.jar;/home/user/java/jdk1.5. 0_16/jre/lib/jce.jar
>>
>>
JavaSE-1.6=/home/user/java/jdk1.6.0_07/jre/lib/rt.jar;/home/ user/java/jdk1.6.0_07/jre/lib/jsse.jar;/home/user/java/jdk1. 6.0_07/jre/lib/jce.jar
>>
>>
>> First part of the error output:
>>
>> # 10/1/08 8:09:48 PM UTC
>> # Eclipse Java Compiler 0.871, 3.4.0 release candidate-3, Copyright IBM
>> Corp 2000, 2008. All rights reserved.
>> ----------
>> 1. ERROR in
>>
/tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
>> (at line 1)
>> /*
>> ^
>> The type java.lang.Object cannot be resolved. It is indirectly
>> referenced from required .class files
>> ----------
>> 2. ERROR in
>>
/tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
>> (at line 1)
>> /*
>> ^
>> The type java.lang.String cannot be resolved. It is indirectly
>> referenced from required .class files
>> ----------
>> 3. ERROR in
>>
/tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
>> (at line 21)
>> import java.io.IOException;
>> ^^^^^^^
>> The import java.io cannot be resolved
>> ----------
>> 4. ERROR in
>>
/tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
>> (at line 22)
>> import java.security.*;
>> ^^^^^^^^^^^^^
>> The import java.security cannot be resolved
>> ----------
>>
Re: Building Eclipse 3.4.1 From Source Fails [message #332310 is a reply to message #332096] Fri, 17 October 2008 17:43 Go to previous message
Eclipse UserFriend
Originally posted by: amir.nospam_pyrus.us

How are you setting 'CDC-1.0/Foundation-1.0=${J2SE-1.5}'? Is this an
environment variable setting, or is this a property setting in the
'.../plugins/org.eclipse.osgi/build.xml' file?

Please provide some details.

Thanks.
Amir



Bryan Rockwood wrote:
> Andrew,
>
> Thank you for your help; that fixed the problem!
>
> Bryan
>
> Andrew Niefer wrote:
>
>> Bryan,
>> Take a peek at the org.eclipse.osgi/build.xml file:
>> The javac call in the @dot target uses
>> bootclasspath="${bundleBootClasspath}"
>
>> At the top, we see the property being set:
>> <property name="bundleBootClasspath"
> value=" osgi/exceptions.jar;osgi/xmlParserAPIs.jar;${CDC-1.0/Foundat ion-1.0} "/>
>
>
>> The CDC-1.0/Foundation-1.0 is similar to the other bootclasspath
>> properties you are already setting (ie J2SE-1.4). You can either get
>> a vm for that environment (http://wiki.eclipse.org/J9), or I think you
>> can probably get away with using 1.5:
>
>> CDC-1.0/Foundation-1.0=${J2SE-1.5}
>
>> -Andrew
>
>> Bryan Rockwood wrote:
>>> Greetings,
>>>
>>> I am trying to compile Eclipse 3.4.1 from source and am running into
>>> a series of compile errors. Everything appears to be compiling fine
>>> when it reaches the org.eclipse.osgi plugin. There, it ends up
>>> throwing over 12,659 errors. I have attached the first couple to
>>> this message. I followed instructions.html and am using the
>>> build.properties from Eclipse 3.4, which compiles fine. Any help
>>> would be appreciated, thanks.
>>>
>>> Bryan
>>>
>>> The system specs are:
>>>
>>> HP xw6200
>>> RedHat Enterprise Workstation 5.2
>>>
>>> My build.properties:
>>>
>>>
> J2SE-1.4=/home/user/java/j2sdk1.4.2_18/jre/lib/rt.jar;/home/ user/java/j2sdk1.4.2_18/jre/lib/jsse.jar;/home/user/java/j2s dk1.4.2_18/jre/lib/jce.jar
>
>>>
>>>
> J2SE-1.5=/home/user/java/jdk1.5.0_16/jre/lib/rt.jar;/home/us er/java/jdk1.5.0_16/jre/lib/jsse.jar;/home/user/java/jdk1.5. 0_16/jre/lib/jce.jar
>
>>>
>>>
> JavaSE-1.6=/home/user/java/jdk1.6.0_07/jre/lib/rt.jar;/home/ user/java/jdk1.6.0_07/jre/lib/jsse.jar;/home/user/java/jdk1. 6.0_07/jre/lib/jce.jar
>
>>>
>>>
>>> First part of the error output:
>>>
>>> # 10/1/08 8:09:48 PM UTC
>>> # Eclipse Java Compiler 0.871, 3.4.0 release candidate-3, Copyright
>>> IBM Corp 2000, 2008. All rights reserved.
>>> ----------
>>> 1. ERROR in
> /tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
>
>>> (at line 1)
>>> /*
>>> ^
>>> The type java.lang.Object cannot be resolved. It is indirectly
>>> referenced from required .class files
>>> ----------
>>> 2. ERROR in
> /tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
>
>>> (at line 1)
>>> /*
>>> ^
>>> The type java.lang.String cannot be resolved. It is indirectly
>>> referenced from required .class files
>>> ----------
>>> 3. ERROR in
> /tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
>
>>> (at line 21)
>>> import java.io.IOException;
>>> ^^^^^^^
>>> The import java.io cannot be resolved
>>> ----------
>>> 4. ERROR in
> /tmp/source/plugins/org.eclipse.osgi/osgi/src/org/osgi/frame work/AdminPermission.java
>
>>> (at line 22)
>>> import java.security.*;
>>> ^^^^^^^^^^^^^
>>> The import java.security cannot be resolved
>>> ----------
>>>
>
>
Previous Topic:How to list all (non-default) remote feature site currently added?
Next Topic:commands contribution ...
Goto Forum:
  


Current Time: Sun Jun 30 13:44:01 GMT 2024

Powered by FUDForum. Page generated in 0.02622 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top