Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem withe ecplise compiler

 
punna Kumar
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,

plz give a suggestion for this problem.



SeverityDescriptionResourceIn FolderLocationCreation Time
2Incompatible .class files version in required binaries. Project '.LombozEjbEmitter' is targeting a 1.2 runtime, but is compiled against 'C rogram Files/Java/j2re1.4.2_04/lib/rt.jar' which requires a 1.4 runtime.LombozEjbEmitterMarch 17, 2005 1:05:34 PM
2The project cannot be built until build path errors are resolved.LombozEjbEmitterMarch 17, 2005 1:14:27 PM
2Incompatible .class files version in required binaries. Project 'shensei' is targeting a 1.2 runtime, but is compiled against 'C rogram Files/Java/j2re1.4.2_04/lib/rt.jar' which requires a 1.4 runtimeshenseiMarch 17, 2005 1:09:37 PM
2The project cannot be built until build path errors are resolvedshense iMarch 17, 2005 1:14:27 PM




Rgds
Punna
 
Stefan Willi
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Punna!

nice to see again...

Have you checked your compiler settings?

It seems like you have a 1.4 Runtime, but uses a 1.2 Compiler-settings.

Go to Project => Properties => Java-Compiler => Configure Workspace Settings => Compliance and Classfiles.
Please ensure, that you have the level 1.4 selected

I assume, you are using eclipse 3.0 and lomboz

Greatings
stefan
[ March 17, 2005: Message edited by: Stefan Willi ]
 
punna Kumar
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
thanks for giveing good soluation my problem is sloved.



Rgds,
RaviKumar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic