Already answered elsewhere, but in the interests of "no post gone
unanswered":
http://wiki.eclipse.org/Common_Build_Infrastructure/Getting_Started/FAQ#My_build_complains_it_can.27t_find_java.lang.Object._Seriously.2C_WTF.3F
Miles Parker wrote:
[Sent this to modeling-dev, moving here.]
I'm getting the java.lang.Object not found issue on some plugins
(seriously, WTF? :D :D) but I'm willing to believe that is some kind of
project configuration issue on my side. When I greatly simplify the
build, I'm left with the compiler not being able to resolve just
java.lang.Enum, -- some kind of class path issue? I'm using the MWE
build-local-macosx.properties as a starting point..and Cocoa 64 3.5.1
RC1 is my IDE.
Details below..
Configuration.. It is specifying jre, but there are no jre directories,
I don't think there should be.. Or am I supposed to install the Sun JRE
as well or something?
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
JAVA50_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
JAVA50_64_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
JAVA60_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
JAVA60_64_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
JAVA14_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
JAVADOC_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin
JavaSE-1.6=${JAVA60_HOME}/jre/lib/rt.jar:${JAVA60_HOME}/jre/lib/annotation.jar:${JAVA60_HOME}/jre/lib/beans.jar:${JAVA60_HOME}/jre/lib/ibmorbapi.jar:${JAVA60_HOME}/jre/lib/java.util.jar:${JAVA60_HOME}/jre/lib/jlm.jar:${JAVA60_HOME}/jre/lib/logging.jar:${JAVA60_HOME}/jre/lib/resources.jar:${JAVA60_HOME}/jre/lib/rt.jar:${JAVA60_HOME}/jre/lib/security.jar:${JAVA60_HOME}/jre/lib/sql.jar:${JAVA60_HOME}/jre/lib/vm.jar:${JAVA60_HOME}/jre/lib/xmldsigfw.jar:${JAVA60_HOME}/jre/lib/xml.jar:${JAVA60_HOME}/jre/lib/jsse.jar:${JAVA60_HOME}/lib/dt.jar:${JAVA60_HOME}/lib/ui.jar:${JAVA60_HOME}/../Classes/dt.jar:${JAVA60_HOME}/../Classes/classes.jar:${JAVA60_HOME}/../Classes/jsse.jar
J2SE-1.5=${JAVA60_HOME}/jre/lib/rt.jar:${JAVA60_HOME}/jre/lib/annotation.jar:${JAVA60_HOME}/jre/lib/beans.jar:${JAVA60_HOME}/jre/lib/ibmorbapi.jar:${JAVA60_HOME}/jre/lib/java.util.jar:${JAVA60_HOME}/jre/lib/jlm.jar:${JAVA60_HOME}/jre/lib/logging.jar:${JAVA60_HOME}/jre/lib/resources.jar:${JAVA60_HOME}/jre/lib/rt.jar:${JAVA60_HOME}/jre/lib/security.jar:${JAVA60_HOME}/jre/lib/sql.jar:${JAVA60_HOME}/jre/lib/vm.jar:${JAVA60_HOME}/jre/lib/xmldsigfw.jar:${JAVA60_HOME}/jre/lib/xml.jar:${JAVA60_HOME}/jre/lib/jsse.jar:${JAVA60_HOME}/lib/dt.jar:${JAVA60_HOME}/lib/ui.jar:${JAVA60_HOME}/../Classes/dt.jar:${JAVA60_HOME}/../Classes/classes.jar:${JAVA60_HOME}/../Classes/jsse.jar
J2SE-1.4=${JAVA60_HOME}/jre/lib/rt.jar:${JAVA60_HOME}/jre/lib/annotation.jar:${JAVA60_HOME}/jre/lib/beans.jar:${JAVA60_HOME}/jre/lib/ibmorbapi.jar:${JAVA60_HOME}/jre/lib/java.util.jar:${JAVA60_HOME}/jre/lib/jlm.jar:${JAVA60_HOME}/jre/lib/logging.jar:${JAVA60_HOME}/jre/lib/resources.jar:${JAVA60_HOME}/jre/lib/rt.jar:${JAVA60_HOME}/jre/lib/security.jar:${JAVA60_HOME}/jre/lib/sql.jar:${JAVA60_HOME}/jre/lib/vm.jar:${JAVA60_HOME}/jre/lib/xmldsigfw.jar:${JAVA60_HOME}/jre/lib/xml.jar:${JAVA60_HOME}/jre/lib/jsse.jar:${JAVA60_HOME}/lib/dt.jar:${JAVA60_HOME}/lib/ui.jar:${JAVA60_HOME}/../Classes/dt.jar:${JAVA60_HOME}/../Classes/classes.jar:${JAVA60_HOME}/../Classes/jsse.jar
Here's the @dot log
# 9/2/09 11:26:48 AM PDT
# Eclipse Java Compiler 0.A06, 3.6.0 M1, Copyright IBM Corp 2000, 2009.
All rights reserved.
----------
1. ERROR in
/Volumes/Resources/Developer/builds/I200909021126/eclipse/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/core/EngineControl.java
(at line 1)
/**
^
The type java.lang.Enum cannot be resolved. It is indirectly referenced
from required .class files
----------
2. ERROR in
/Volumes/Resources/Developer/builds/I200909021126/eclipse/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/core/EngineControl.java
(at line 1)
/**
^
The type Enum is not generic; it cannot be parameterized with arguments
<EngineControl>
----------
2 problems (2 errors)
------------------------------------------------------------------------
_______________________________________________
dash-dev mailing list
dash-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/dash-dev
--
Nick Boldt :: http://nick.divbyzero.com
Release Engineer :: Eclipse Modeling & Dash Athena
_______________________________________________
dash-dev mailing list
dash-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/dash-dev