Daniel Paczuski Bak
Daniel Paczuski Bak

Reputation: 4080

Trying to use JDBC with Eclipse: Unsupported major.minor version 51.0

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

Answers (1)

bprasanna
bprasanna

Reputation: 2453

Project (Right Click) -> Properties -> Java Build Path -> Libraries -> JRE System Library[<version>] -> Edit (Click) -> Execution Environment (Select JavaSE-1.7)

Upvotes: 2

Related Questions