Jernej Jerin
Jernej Jerin

Reputation: 3399

UnsupportedClassVersionError 1.7, works with 1.6 settings

I have EAR project, that consists of the following projects:

Under each project I have set:

Also each project has JRE system library set to JRE7. If I use this settings, when I publish on JBoss AS7, I get UnsupportedClassVersionError. If I change the previously specified settings to 1.6 and JRE6, it successfully deploys. Why is that it works under 1.6, but not under 1.7 settings? I have the following setup on my computer.

For x86 I have:

For x64 I have:

I am running Eclipse Indigo SR2 x86 edition, as I had some problems with x64 edition.

Upvotes: 0

Views: 405

Answers (1)

kosa
kosa

Reputation: 66657

Make sure JBoss server pointing to correct Java version.

Upvotes: 1

Related Questions