Hello,

Please forgive this question in advance if it has been well documented or
discussed elsewhere.  I failed to find references to it when searching for
"execution environment felix" and other searches for how this concept works.

I'm familiar with execution environments but I don't understand how
Felix/Karaf knows what execution environments it supports.  More
specifically ...

Say I start Felix using J2SE 1.6 from Sun.  How does the execution
environment get set, and how can I verify it in the console?

I know that I can -Dorg.osgi.framework.executionenvironment=J2SE-1.5 when I
start Karaf but that seems like a hack.  It seems like Felix/Karaf should
determine the execution environment based on the JVM that it's running
within.  It probably does but I just don't know where to look for it.

I'm basically trying to use Jackson within OBR and a <require> asks for an
ee of J2SE-1.5.  I'm running an IBM 1.6 JVM so I'd suspect that there would
be an ee in my Felix that is compatible with J2SE-1.5.  Since I don't know
how to print it or look for it I don't know for sure.  Maybe the IBM 1.6 JVM
supports ee's like "IBM-Java-1.5" (who knows...)

Some pointers to how execution environments work would be most welcome.


-Chris

Reply via email to