Re: Eclipse cannot find java.lang.Enum
- From: Lew <lew@xxxxxxxxxxxxx>
- Date: Wed, 14 May 2008 00:01:41 -0400
John W Kennedy wrote:
Addanc wrote:I am running java 1.6 on Linux. I can build my application from the command
line and run without a problem. When I import it into Eclipse and build, I
get the following error message:
"The project was not built since its build path is incomplete. Cannot find
the class file for java.lang.Enum. Fix the build path then try building
this project again."
Has anybody got any idea how this is achieved with eclipse. Alternatively is
the a nice simple GUI front-end for jdb which doesn't involve Eclipse?
Go to Preferences and make sure that you /are/ using Java 6.
Go to Properties for the project and make sure that /it/ is using Java 6, too.
I use RAD 7 (Rational Application Developer 7), which is based on Eclipse. Sometimes it complains that it cannot find java.lang.Object, which impedes the build a tad. Invariably it's due to project metadata being out of whack, thinking it's using a JRE that doesn't exist in the current IDE configuration being the most common that I've seen.
This happens sometimes when I import projects from an earlier version of the IDE.
--
Lew
.
- Prev by Date: Re: Eclipse cannot find java.lang.Enum
- Next by Date: Version 2.1 of Allatori Java Obfuscator is released.
- Previous by thread: Re: Eclipse cannot find java.lang.Enum
- Next by thread: Version 2.1 of Allatori Java Obfuscator is released.
- Index(es):
Relevant Pages
|
|