Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse 3.4/3.5 M2 build issue
Eclipse 3.4/3.5 M2 build issue [message #331794] Mon, 22 September 2008 17:11 Go to next message
Gowri is currently offline GowriFriend
Messages: 7
Registered: July 2009
Junior Member
Hi ,

3.4 & 3.5 M2 builds are failing on compilation . Looks like it's not able
to pickup the rt.jar classpath. Many people has quried about this. But
there is no solution given for this. Help please !!!.

http://dev.eclipse.org/newslists/news.eclipse.platform/msg76 657.html

init:

@dot:
[mkdir] Created dir:
/store/eclipse/3_4_source/plugins/org.eclipse.equinox.l
auncher/temp.folder/@dot.bin
[javac] Compiling 5 source files to
/store/eclipse/3_4_source/plugins/org.ec
lipse.equinox.launcher/temp.folder/@dot.bin
[javac] ----------
[javac] 1. ERROR in
/store/eclipse/3_4_source/plugins/org.eclipse.equinox.la
uncher/src/org/eclipse/core/launcher/Main.java (at line 1)
[javac]
/*********************************************************** ****
****************
[javac] ^
[javac] The type java.lang.Object cannot be resolved. It is indirectly
refer
enced from required .class files
[javac] ----------
[javac] 2. ERROR in
/store/eclipse/3_4_source/plugins/org.eclipse.equinox.la
uncher/src/org/eclipse/core/launcher/Main.java (at line 23)
[javac] public class Main {
...

[javac] 259. ERROR in
/store/eclipse/3_4_source/plugins/org.eclipse.equinox.launch er/src/org/eclipse/equinox/launcher/WebStartMain.java
(at line 249)
[javac] StringBuffer finalBundleList = new
StringBuffer(allBundles.size() * 30);
[javac] ^^^^^^^^^^^^
[javac] StringBuffer cannot be resolved to a type
[javac] ----------
[javac] 259 problems (259 errors)

BUILD FAILED
/store/eclipse/3_4_source/build.xml:68: The following error occurred while
executing this line:
/store/eclipse/3_4_source/build.xml:8: The following error occurred while
executing this line:
/store/eclipse/3_4_source/features/org.eclipse.sdk/build.xml :39: The
following error occurred while executing this line:
/store/eclipse/3_4_source/features/org.eclipse.sdk/build.xml :17: The
following error occurred while executing this line:
/store/eclipse/3_4_source/features/org.eclipse.platform/buil d.xml:341: The
following error occurred while executing this line:
/store/eclipse/3_4_source/features/org.eclipse.platform/buil d.xml:327: The
following error occurred while executing this line:
/store/eclipse/3_4_source/features/org.eclipse.help/build.xm l:95: The
following error occurred while executing this line:
/store/eclipse/3_4_source/features/org.eclipse.help/build.xm l:82: The
following error occurred while executing this line:
/store/eclipse/3_4_source/features/org.eclipse.rcp/build.xml :314: The
following error occurred while executing this line:
/store/eclipse/3_4_source/features/org.eclipse.rcp/build.xml :15: The
following error occurred while executing this line:
/store/eclipse/3_4_source/plugins/org.eclipse.equinox.launch er/build.xml:137:
The following error occurred while executing this line:
/store/eclipse/3_4_source/plugins/org.eclipse.equinox.launch er/build.xml:95:
Compile failed; see the compiler error output for details.

Total time: 14 seconds
#
Re: Eclipse 3.4/3.5 M2 build issue [message #331838 is a reply to message #331794] Wed, 24 September 2008 18:10 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
The org.eclipse.equinox.launcher bundle does not depend on anything
except the bootclasspath.

Therefore, if you are getting compile errors, then you did not set up
the bootclasspath properly. In your link, notice the "incorrect
classpath" errors that make it obvious that this is the case.

You specified
J2SE-1.4="C:\\Program Files\\Java\\j2sdk1.4.2_17\\jre\\lib"
J2SE-1.5="C:\\Program Files\\Java\\jdk1.5.0_16\\jre\\lib"
JavaSE-1.6="C:\\Program Files\\Java\\jdk1.6.0_07\\jre\\lib"

These are not valid classpaths, you need to list the actual jars you
want to compile against. I'm not sure about the space in the path, the
quotes may be good enough for that. Try
J2SE-1.4="C:\\Program Files\\Java\\j2sdk1.4.2_17\\jre\\lib\\rt.jar"
or maybe escape the space. Additional jars can be added as well:
J2SE-1.4=C:/Program\ Files/Java/j2sdk1.4.2_17/jre/lib/rt.jar;C:/Program\
Files/Java/j2sdk1.4.2_17/jre/lib/jsse.jar


Also, in your link,
Gowri wrote:
> Hi ,
>
> 3.4 & 3.5 M2 builds are failing on compilation . Looks like it's not
> able to pickup the rt.jar classpath. Many people has quried about this.
> But there is no solution given for this. Help please !!!.
>
> http://dev.eclipse.org/newslists/news.eclipse.platform/msg76 657.html
> init:
> @dot:
> [mkdir] Created dir:
> /store/eclipse/3_4_source/plugins/org.eclipse.equinox.l
> auncher/temp.folder/@dot.bin
> [javac] Compiling 5 source files to
> /store/eclipse/3_4_source/plugins/org.ec
> lipse.equinox.launcher/temp.folder/@dot.bin
> [javac] ----------
> [javac] 1. ERROR in
> /store/eclipse/3_4_source/plugins/org.eclipse.equinox.la
> uncher/src/org/eclipse/core/launcher/Main.java (at line 1)
> [javac]
> /*********************************************************** ****
> ****************
> [javac] ^
> [javac] The type java.lang.Object cannot be resolved. It is indirectly
> refer
> enced from required .class files
> [javac] ----------
> [javac] 2. ERROR in
> /store/eclipse/3_4_source/plugins/org.eclipse.equinox.la
> uncher/src/org/eclipse/core/launcher/Main.java (at line 23)
> [javac] public class Main { ..
> [javac] 259. ERROR in
> /store/eclipse/3_4_source/plugins/org.eclipse.equinox.launch er/src/org/eclipse/equinox/launcher/WebStartMain.java
> (at line 249)
> [javac] StringBuffer finalBundleList = new
> StringBuffer(allBundles.size() * 30);
> [javac] ^^^^^^^^^^^^
> [javac] StringBuffer cannot be resolved to a type
> [javac] ----------
> [javac] 259 problems (259 errors)
> BUILD FAILED
> /store/eclipse/3_4_source/build.xml:68: The following error occurred
> while executing this line:
> /store/eclipse/3_4_source/build.xml:8: The following error occurred
> while executing this line:
> /store/eclipse/3_4_source/features/org.eclipse.sdk/build.xml :39: The
> following error occurred while executing this line:
> /store/eclipse/3_4_source/features/org.eclipse.sdk/build.xml :17: The
> following error occurred while executing this line:
> /store/eclipse/3_4_source/features/org.eclipse.platform/buil d.xml:341:
> The following error occurred while executing this line:
> /store/eclipse/3_4_source/features/org.eclipse.platform/buil d.xml:327:
> The following error occurred while executing this line:
> /store/eclipse/3_4_source/features/org.eclipse.help/build.xm l:95: The
> following error occurred while executing this line:
> /store/eclipse/3_4_source/features/org.eclipse.help/build.xm l:82: The
> following error occurred while executing this line:
> /store/eclipse/3_4_source/features/org.eclipse.rcp/build.xml :314: The
> following error occurred while executing this line:
> /store/eclipse/3_4_source/features/org.eclipse.rcp/build.xml :15: The
> following error occurred while executing this line:
> /store/eclipse/3_4_source/plugins/org.eclipse.equinox.launch er/build.xml:137:
> The following error occurred while executing this line:
> /store/eclipse/3_4_source/plugins/org.eclipse.equinox.launch er/build.xml:95:
> Compile failed; see the compiler error output for details.
> Total time: 14 seconds
> #
>
>
>
Previous Topic:Text: Adjacent partitions of same content type not merged?
Next Topic:Two config.ini being generated
Goto Forum:
  


Current Time: Sun Oct 06 08:38:51 GMT 2024

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

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

Back to the top