Re: org.apache.sling.commons.scheduler under Java 8

2017-04-25 Thread David Bosschaert
Hi Mic, The osgi.ee capabilities are exposed by newer versions of Java if they were compatible. So frameworks running under Java 7, Java 8 (and hopefully Java 9) will also expose the JavaSE capability version 1.6. More background on this versioning concept which is applied to OSGi 'Portable

Re: org.apache.sling.commons.scheduler under Java 8

2017-04-25 Thread Carsten Ziegeler
The problem might be that the framework implementation you use does not support Java 8, e.g. if you're using an older implementation. Regards Carsten David Bosschaert wrote > Hi Mic, > > The osgi.ee capabilities are exposed by newer versions of Java if they were > compatible. So frameworks

Re: org.apache.sling.commons.scheduler under Java 8

2017-04-25 Thread Karl Pauls
On Tue, Apr 25, 2017 at 2:02 PM, Carsten Ziegeler wrote: > The problem might be that the framework implementation you use does not > support Java 8, e.g. if you're using an older implementation. Which (at least in the case of Felix), basically just means that it doesn't

Re: org.apache.sling.commons.scheduler under Java 8

2017-04-25 Thread Mic
Hi David, thanks for the fast reply and the information. But what are my options to use the commons.scheduler under 1.8? Also the newest Version 2.5.2 which i found in the official mvn repo has the Requirement (version=1.6)), thats a little bit confuse to me. So in the Application startup

Re: org.apache.sling.commons.scheduler under Java 8

2017-04-25 Thread Mic
Hi guys, thanks for you help. I think i found the correct settings. Now i use the following additional settings: *org.osgi.framework.system.packages.extra*=${jre-1.8} *org.osgi.framework.executionenvironment*=${ee-1.8} ee-1.8=JavaSE-1.8,JavaSE-1.7,JavaSE-1.6,J2SE-1.5,J2SE-1.4,J2SE-1.3, \