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 
<[email protected]<mailto:[email protected]>>
Date: Wed Oct 15 2014 11:25:26 GMT-0400 (EDT)
To: [email protected] <[email protected]<mailto:[email protected]>>
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
[email protected]<mailto:[email protected]>
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit https://dev.eclipse.org/mailman/listinfo/p2-dev

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

Reply via email to