Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
anniexie
Post subject: [Closed] myEclipse not building the project  PostPosted: Jan 09, 2006 - 08:30 PM
Registered Member
Registered Member


Joined: Mar 18, 2005
Posts: 29

I have installed myEclipse 20050829-4.0.0-GA 4 months ago and it has been working very well. Now all of a sudden it refuses to build no matter what I do. I even deleted the old project and recreated the project and it's still not kicking off the build. I got the following build error:

Project 'WSP' is targeting a 1.2 runtime, but iscompiled against
'D:bea/jdk142_05/jre/lib/rt.jar' which requires a 1.4 runtime


What is this? There is no jdk1.2 or jre1.2 in my envionment. Where does that come from?
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jan 09, 2006 - 10:00 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

Open up your compiler settings and go to the "Compliance" section, somehow this likely got set to 1.2 and it should be 1.4 or 5.0.

Project Properties > Java Compilers *** IF you have "Enabled project specifi settings" checked here, make the changes here, otherwise click "Configure Workspace Settings" and make the change there ****

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
anniexie
Post subject:   PostPosted: Jan 09, 2006 - 10:13 PM
Registered Member
Registered Member


Joined: Mar 18, 2005
Posts: 29

Thanks rkalla. You are right. That was exactly what happened. I found that problem and fixed it as you suggested but the problem still persisted. So I ran the magic command "eclipse.exe -clean" and that fixed it.
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jan 09, 2006 - 10:41 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

Glad it's working now, nice job using -clean, I'm amazed to this day the little quirks that seems to fix at times.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits