Hi, Karaf 2.3 can't work with jdk 1.8, there's no ire-1.8 property in etc/jre.properties, which means system bundle 0 doesn't work at all. This is a known issue[1] and addressed very recently.
[1]https://issues.apache.org/jira/browse/KARAF-2163 ------------- Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 On 2013-2-20, at 上午7:27, Jako wrote: > Hi Guys, > I was playing with Karaf 2.3.0 and it is awesome! > > For a future project I will run on jdk 1.8 so I tested Karaf with it. > I know jdk 8 is still in early access; so if you feel to spare the time to > give me some feedback... thank you :) > > It fails to start both with jdk or jre. > I've tried both with felix and equinox (both without success) > > The exception:org.osgi.framework.BundleException: Exported package names > cannot be zero length. > > The jdk/jre version: > java version "1.8.0-ea" > Java(TM) SE Runtime Environment (build 1.8.0-ea-b76) > Java HotSpot(TM) Client VM (build 25.0-b17, mixed mode) > > PS Felix itself works with jdk 8 (just tried it) > > > Best regards > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Karaf-with-jdk-1-8-0-jre-1-8-0-tp4027805.html > Sent from the Karaf - Dev mailing list archive at Nabble.com.
