This depends on what version of Karaf you use. Karaf 2.2.x line is compiled with JDK 1.5 compatibility in mind and the upcoming Karaf 3.0 is compiled with JDK 6 in mind.
I'm pretty sure the upcoming Karaf 3.0 does also run with JDK7 Do you need any specialties of JDK7 for your services, if you need special JDK packages that are not exported by the framework you need to alter the jre.properties to contain the special JDK packages. regards, Achim 2012/3/28 James Gartner <[email protected]>: > Folks, sorry for the basic question, but if we build a service bundle using > jdk 7, can that be installed into Karaf and work? Is there a feature set to > be installed that will support this? > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Bundles-built-with-JDK-7-tp3864379p3864379.html > Sent from the Karaf - User mailing list archive at Nabble.com. -- Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/>
