Hi

Yes, Felix framework 3.2.2 does not have Java 8 API definitions and thus does 
not expose anything from the platform at all.

As of Felix framework 4.2.0 Java 8 API definitions are available, which happen 
to just be the same as for Java 7 (except with a different export version 
number) for the time being.

So upgrading to the latest Felix framework (4.2.1 IIRC) should probably solve 
that problem.

Or, alternatively, you might get the Java8 API definitions from the framework 
source and update your local installation.

Regards
Felix

Am 12.09.2013 um 17:56 schrieb Christopher BROWN:

> Hello,
> 
> An application using Felix 3.2.2 on MacOS X has started failing with the
> following exception:
> 
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> system.sdk-project [5]: Unable to resolve 5.0: missing requirement [5.0]
> package; (package=javax.sql)
> 
> The application is started from a shell script that includes the following
> (standard) MacOS X command:
> 
> /usr/libexec/java_home -d64 -v 1.6+
> 
> It's now locating:
> /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home
> 
> Would I be correct in guessing that Felix 3.2.2 has no explicit support for
> JDK8 (would make sense), and that it has no fallback mechanism so that it
> can at least export packages from prior Java releases?  As in, now that
> there's Java 8, it's not exporting stuff it knew about in Java 6...
> 
> What can I do about that to fix it, apart from adding a hard-coded
> dependency on Java 6 (which is EOL) or upgrading Felix?
> 
> Thanks,
> Christopher

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to