Hi JB, I've tried with no success. I've used https://repository.apache.org/content/groups/snapshots-group/org/apache/karaf/apache-karaf/2.3.1-SNAPSHOT/apache-karaf-2.3.1-20130220.084434-190.zip
I've tried both jre8/jdk8 (32bit) I'm running win7 64bit jre8 starts on apache-karaf-3.0.0-20130220.085215-917.zip<file:///C:/Users/Simone/Downloads/apache-karaf-3.0.0-20130220.085215-917.zip> (with few exception in the log file, though) best regards, The exception in karaf.log: 2013-02-20 13:03:56,511 | ERROR | rint Extender: 3 | tServiceReferenceRecipe$Listener | tServiceReferenceRecipe$Listener 554 | 13 - org.apache.aries.blueprint.core - 1.1.0 | Error calling listener method public synchronized void org.apache.karaf.shell.console.jline.ConsoleFactory.registerCommandProcessor(org.apache.felix.service.command.CommandProcessor) throws java.lang.Exception java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0-ea] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.8.0-ea] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0-ea] at java.lang.reflect.Method.invoke(Method.java:483)[:1.8.0-ea] at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[13:org.apache.aries.blueprint.core:1.1.0] at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe$Listener.invokeMethods(AbstractServiceReferenceRecipe.java:551)[13:org.apache.aries.blueprint.core:1.1.0] at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe$Listener.bind(AbstractServiceReferenceRecipe.java:533)[13:org.apache.aries.blueprint.core:1.1.0] 2013/2/20 Jean-Baptiste Onofré <[email protected]> > Hi guys, > > I added the jre-1.8 support for Karaf 2.3.1. So, if you take the latest > 2.3.1-SNAPSHOT, it should be OK with Java8. > > Regards > JB > > > On 02/20/2013 01:57 AM, Freeman Fang wrote: > >> 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<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://freemanfang.blogspot.com> >> http://blog.sina.com.cn/u/**1473905042<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<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. >>> >> >> >> > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com > -- Simone Giacomelli Mobile: +39 333 9770618 E-fax: +39 02 700540454 Skype: simone.giacomelli
