Reputation: 4080
As I understand it, this error is because Eclipse is using the wrong JDK or something. I am using ojdbc7.jar, which says it is to be used with JDK 7. How can I see what JDK Eclipse is pointing at in order to solve this? Does anyone have other tips for this problem?
Upvotes: 0
Views: 42
Reputation: 2453
Project (Right Click) -> Properties -> Java Build Path -> Libraries -> JRE System Library[<version>
] -> Edit (Click) -> Execution Environment (Select JavaSE-1.7)
Upvotes: 2