You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Ryan Moquin <fr...@gmail.com> on 2019/05/02 00:56:31 UTC

Running Karaf 4.2.5 on Java 11

When I run 4.2.5 on Windows 10 with Java 11, I'm seeing that message that
was fixed for 4.2.3:

The system cannot find the path specified.
WARNING: package org.apache.karaf.specs.locator not in java.base

It works fine with Java 8 .. Seems like this problem might have popped up
again?

Thanks,
Ryan

Re: Running Karaf 4.2.5 on Java 11

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Ah ok. Thanks for the update ;)

No problem at all Ryan. Let me know if you need help.

Regards
JB

Le 2 mai 2019 à 16:17, à 16:17, Ryan Moquin <fr...@gmail.com> a écrit:
>Hi JB,
>
>I would hold off on that.  I could swear I had compared the couple
>customizations I made to the karaf bat and sh executables, but in
>looking
>again, I didn't.  I don't know what I did when I was comparing them,
>but I
>certainly did a poor job since I am missing the changes for 4.2.5.  So
>this
>is most likely all my fault and there isn't a problem.  I'm also having
>issues with JAXB libraries but that's also probably because I didn't
>update
>any of the executables properly.
>
>Sorry for wasting your time due to a silly mistake on my end.  I'll let
>you
>know if I still have any issues, but I'm sure I won't. :)
>
>Ryan
>
>On Thu, May 2, 2019 at 9:05 AM Jean-Baptiste Onofré <jb...@nanthrax.net>
>wrote:
>
>> Thanks for the update.
>>
>> I will test on VM.
>>
>> Regards
>> JB
>> Le 2 mai 2019, à 14:50, Ryan Moquin <fr...@gmail.com> a écrit:
>>>
>>> Hi JB,
>>>
>>> Yes, I probably should have been clearer.  I ran karaf.bat and
>received
>>> that message.  I wasn't sure the best way to troubleshoot it, but I
>>> certainly can if it would be helpful.
>>>
>>> Not sure if it might be because I invoke karaf.bat from a few levels
>down
>>> in the directory tree (So I can run the custom dist I build from my
>maven
>>> project)  basically I run the bat from my project directory for the
>custom
>>> distribution so something like, target\assembly\bin\karaf.bat not
>sure if
>>> that could be causing it?
>>>
>>> Ryan
>>>
>>> Ryan
>>>
>>> On Thu, May 2, 2019, 12:21 AM Jean-Baptiste Onofré <
>jb@nanthrax.net>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Do you run with bin/karaf.bat ? I have updated karaf.bat and
>wrapper, so
>>>> it should be fixed. Let me double check.
>>>>
>>>> Regards
>>>> JB
>>>>
>>>> On 02/05/2019 02:56, Ryan Moquin wrote:
>>>> > When I run 4.2.5 on Windows 10 with Java 11, I'm seeing that
>message
>>>> > that was fixed for 4.2.3:
>>>> >
>>>> > The system cannot find the path specified.
>>>> > WARNING: package org.apache.karaf.specs.locator not in java.base
>>>> >
>>>> > It works fine with Java 8 .. Seems like this problem might have
>popped
>>>> > up again?
>>>> >
>>>> > Thanks,
>>>> > Ryan
>>>>
>>>> --
>>>> Jean-Baptiste Onofré
>>>> jbonofre@apache.org
>>>> http://blog.nanthrax.net
>>>> Talend - http://www.talend.com
>>>>
>>>

Re: Running Karaf 4.2.5 on Java 11

Posted by Ryan Moquin <fr...@gmail.com>.
Hi JB,

I would hold off on that.  I could swear I had compared the couple
customizations I made to the karaf bat and sh executables, but in looking
again, I didn't.  I don't know what I did when I was comparing them, but I
certainly did a poor job since I am missing the changes for 4.2.5.  So this
is most likely all my fault and there isn't a problem.  I'm also having
issues with JAXB libraries but that's also probably because I didn't update
any of the executables properly.

Sorry for wasting your time due to a silly mistake on my end.  I'll let you
know if I still have any issues, but I'm sure I won't. :)

Ryan

On Thu, May 2, 2019 at 9:05 AM Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:

> Thanks for the update.
>
> I will test on VM.
>
> Regards
> JB
> Le 2 mai 2019, à 14:50, Ryan Moquin <fr...@gmail.com> a écrit:
>>
>> Hi JB,
>>
>> Yes, I probably should have been clearer.  I ran karaf.bat and received
>> that message.  I wasn't sure the best way to troubleshoot it, but I
>> certainly can if it would be helpful.
>>
>> Not sure if it might be because I invoke karaf.bat from a few levels down
>> in the directory tree (So I can run the custom dist I build from my maven
>> project)  basically I run the bat from my project directory for the custom
>> distribution so something like, target\assembly\bin\karaf.bat not sure if
>> that could be causing it?
>>
>> Ryan
>>
>> Ryan
>>
>> On Thu, May 2, 2019, 12:21 AM Jean-Baptiste Onofré < jb@nanthrax.net>
>> wrote:
>>
>>> Hi,
>>>
>>> Do you run with bin/karaf.bat ? I have updated karaf.bat and wrapper, so
>>> it should be fixed. Let me double check.
>>>
>>> Regards
>>> JB
>>>
>>> On 02/05/2019 02:56, Ryan Moquin wrote:
>>> > When I run 4.2.5 on Windows 10 with Java 11, I'm seeing that message
>>> > that was fixed for 4.2.3:
>>> >
>>> > The system cannot find the path specified.
>>> > WARNING: package org.apache.karaf.specs.locator not in java.base
>>> >
>>> > It works fine with Java 8 .. Seems like this problem might have popped
>>> > up again?
>>> >
>>> > Thanks,
>>> > Ryan
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>

Re: Running Karaf 4.2.5 on Java 11

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Thanks for the update.

I will test on VM.

Regards
JB

Le 2 mai 2019 à 14:50, à 14:50, Ryan Moquin <fr...@gmail.com> a écrit:
>Hi JB,
>
>Yes, I probably should have been clearer.  I ran karaf.bat and received
>that message.  I wasn't sure the best way to troubleshoot it, but I
>certainly can if it would be helpful.
>
>Not sure if it might be because I invoke karaf.bat from a few levels
>down
>in the directory tree (So I can run the custom dist I build from my
>maven
>project)  basically I run the bat from my project directory for the
>custom
>distribution so something like, target\assembly\bin\karaf.bat not sure
>if
>that could be causing it?
>
>Ryan
>
>Ryan
>
>On Thu, May 2, 2019, 12:21 AM Jean-Baptiste Onofré <jb...@nanthrax.net>
>wrote:
>
>> Hi,
>>
>> Do you run with bin/karaf.bat ? I have updated karaf.bat and wrapper,
>so
>> it should be fixed. Let me double check.
>>
>> Regards
>> JB
>>
>> On 02/05/2019 02:56, Ryan Moquin wrote:
>> > When I run 4.2.5 on Windows 10 with Java 11, I'm seeing that
>message
>> > that was fixed for 4.2.3:
>> >
>> > The system cannot find the path specified.
>> > WARNING: package org.apache.karaf.specs.locator not in java.base
>> >
>> > It works fine with Java 8 .. Seems like this problem might have
>popped
>> > up again?
>> >
>> > Thanks,
>> > Ryan
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>

Re: Running Karaf 4.2.5 on Java 11

Posted by Ryan Moquin <fr...@gmail.com>.
Hi JB,

Yes, I probably should have been clearer.  I ran karaf.bat and received
that message.  I wasn't sure the best way to troubleshoot it, but I
certainly can if it would be helpful.

Not sure if it might be because I invoke karaf.bat from a few levels down
in the directory tree (So I can run the custom dist I build from my maven
project)  basically I run the bat from my project directory for the custom
distribution so something like, target\assembly\bin\karaf.bat not sure if
that could be causing it?

Ryan

Ryan

On Thu, May 2, 2019, 12:21 AM Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:

> Hi,
>
> Do you run with bin/karaf.bat ? I have updated karaf.bat and wrapper, so
> it should be fixed. Let me double check.
>
> Regards
> JB
>
> On 02/05/2019 02:56, Ryan Moquin wrote:
> > When I run 4.2.5 on Windows 10 with Java 11, I'm seeing that message
> > that was fixed for 4.2.3:
> >
> > The system cannot find the path specified.
> > WARNING: package org.apache.karaf.specs.locator not in java.base
> >
> > It works fine with Java 8 .. Seems like this problem might have popped
> > up again?
> >
> > Thanks,
> > Ryan
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: Running Karaf 4.2.5 on Java 11

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

Do you run with bin/karaf.bat ? I have updated karaf.bat and wrapper, so
it should be fixed. Let me double check.

Regards
JB

On 02/05/2019 02:56, Ryan Moquin wrote:
> When I run 4.2.5 on Windows 10 with Java 11, I'm seeing that message
> that was fixed for 4.2.3:
> 
> The system cannot find the path specified.
> WARNING: package org.apache.karaf.specs.locator not in java.base
> 
> It works fine with Java 8 .. Seems like this problem might have popped
> up again?
> 
> Thanks,
> Ryan

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com