me too. Our IT person said because of the stigs we cannot run as the user we are logged in on and I never set up a service account for karaf on the dev environment out of sheer laziness. Now both my mistakes and my bad habits are caught on the internet for the world to see.
Karma On Tue, Jul 5, 2016 at 1:15 PM, Markus Rathgeb <[email protected]> wrote: > You are welcome. > But it seems a little bit strange to me to run Karaf with root privileges > :wink: > > 2016-07-05 18:45 GMT+02:00 David Daniel <[email protected]>: > > Thank you Markus. I just found the issue and it was user error. For > some > > reason running sudo echo $JAVA_HOME posted to jdk 8 and java -version > did as > > well but when I would run sudo ./karaf it was not running with jdk 8. > > eventually I released that it was printing out no jdk found results may > > vary. When I went into the karaf file and hardcoded the path to jdk8 > > everything started working again. Thank you for taking the time to try > and > > help me. Have a great day. > > > > On Tue, Jul 5, 2016 at 12:37 PM, Markus Rathgeb <[email protected]> > wrote: > >> > >> Or you can use: > >> bundle:capabilities 0 > >> > >> 2016-07-05 18:35 GMT+02:00 Markus Rathgeb <[email protected]>: > >> > Hi David, > >> > what about: > >> > bundle:headers 0 > >> > > >> > Does this contain the information we are looking for? > >> > > >> > e.g. > >> > Provide-Capability = > >> > osgi.ee;osgi.ee=OSGi/Minimum;version:List<Version>="1.0,1.1,1.2", > >> > > >> > osgi.ee;osgi.ee > =JavaSE;version:List<Version>="1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8", > >> > > >> > > osgi.service;effective:=active;objectClass=org.osgi.service.packageadmin.PackageAdmin, > >> > > >> > > osgi.service;effective:=active;objectClass=org.osgi.service.resolver.Resolver, > >> > > >> > > osgi.service;effective:=active;objectClass=org.osgi.service.startlevel.StartLevel, > >> > > >> > > osgi.service;effective:=active;objectClass=org.osgi.service.url.URLHandlers > >> > > >> > > >> > Best regards, > >> > Markus > > > > >
