[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] Java Version Dependency

All,

We are moving our product build from the Eclipse 3.x series to the 4.x series and part of this
has involved updating our JVM versions as we migrate to a Luna based product release.


We were building our product with a Java 8 installation and end up with an error trying to install
some 3rd part external plugins that seemed to imply that we should be building with Java 7 instead.


However, if we try and do that (build with a Java 7 version instead of Java 8) we end up with.

BUILD FAILED
c:\sbinstaller\productBuild\productBuild_4.0.xml:39: The following error occurred while executing this line:
c:\sbinstaller\productBuild\productBuild_4.0.xml:69: java.lang.UnsupportedClassVersionError:
org/eclipse/osgi/internal/resolver/NativeCodeSpecificationImpl : Unsupported major.minor version 52.0


This implies to me that there is a dependency on Java 8 for PDE/P2 based builds. Is this correct?

Thanks,
  Thomas