Hi Vassil, JVM/OSGi spec versions are listed here: http://karaf.apache.org/download.html <http://karaf.apache.org/download.html>
Each Karaf branch supports specific OSGi spec. For instance, you can see that Karaf 4.3.x is OSGi R7 (providing corresponding Felix and Equinox framework). FYI, the wiki content is deprecated and you should use the documentation (http://karaf.apache.org/manual/latest/ <http://karaf.apache.org/manual/latest/>). You can change the framework using karaf.framework property in etc/config.properties. FYI, config.properties is loaded by Karaf Main (including jre.properties and custom.properties). Regards JB > Le 15 mai 2021 à 20:18, Васил Зорев <[email protected]> a écrit : > > Hello, > > I know this is probably one of the first questions that comes to a Karaf > user, but still: > > Where is defined the Felix framework version that a Karaf installation uses? > > 0 | Active | 0 | 6.0.4 | System Bundle > | > org.apache.felix.framework > > https://cwiki.apache.org/confluence/display/KARAF/How+do+I+choose+between+Felix+and+Equinox > > <https://cwiki.apache.org/confluence/display/KARAF/How+do+I+choose+between+Felix+and+Equinox> > Based on this Wiki, I found it in etc/config.properties. > > karaf.framework.felix=mvn\:org.apache.felix/org.apache.felix.framework/6.0.4 > Is this how the felix version can be changed ? Can it be changed at all ? > > Also a question on OSGi versions and their backward compatibility. How is the > OSGi version related to the Felix (or Equinox) version? In the same config > file I found for example: > > org.osgi.framework.system.packages= \ > ... > org.osgi.framework;version="1.9",\ > > Does this affect some manifest header or? I am only familiar with major OSGi > specification versions - 4,6,7 etc. don't know what 1.9 refers to. Can the > Karaf OSGi version be changed (for example to another major release - 4 or 6) > or is it fixed and not backward-compatible? > > Sorry for the many questions. If there is documentation regarding this please > relate it, I will gladly read it myself. > > Regards, > Vassil
