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

Hey Thomas, not sure the answer because we don't use PDE build any more. I can't see how PDE would depend on version of Java. This usually tells me you build with Java 8 and are trying to run on Java 7.

BTW, You should take a look at Maven/Tycho since you're in the middle of upgrading your platform. It's what us cool kids use :).

Doug.

________________________________________________________________________
From: Thomas Fletcher <thomas@xxxxxxxxxxxxxxxxx>
Date: Wed Oct 15 2014 11:25:26 GMT-0400 (EDT)
To: p2-dev@xxxxxxxxxxx <p2-dev@xxxxxxxxxxx>
Subject: [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

_______________________________________________
p2-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/p2-dev