[
https://issues.apache.org/jira/browse/KARAF-6782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17155099#comment-17155099
]
Jean-Baptiste Onofré commented on KARAF-6782:
---------------------------------------------
I guess you are using Felix Framework (default). It's an known issue discussed
on the mailing list. I will fix that. Thanks for the report.
> apache-karaf-4.3.0.RC1 hangs under JDK 13.0.1 on Windows
> --------------------------------------------------------
>
> Key: KARAF-6782
> URL: https://issues.apache.org/jira/browse/KARAF-6782
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.3.0
> Environment: Windows 10, Java 13.0.1 openjdk
> Reporter: Peter Miller
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Labels: newbie
> Fix For: 4.3.0
>
>
> Version 4.2.9 threw errors on start up with JDK 13.0.1, the release candidate
> hangs on windows on first start up. Just to point out how important this is,
> I am trying to Adopt Karaf at my company, and it does not help that it does
> not run out of the box.
> {quote}java -version
> version "13.0.1" 2019-10-15
> Runtime Environment (build 13.0.1+9)
> 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)
> apache-karaf-4.3.0.RC1 hangs under the above JRE.
> Console for apache-karaf-4.3.0.RC1:
> C:\Programs\apache-karaf-4.3.0.RC1\bin>karaf
> karaf.bat: KARAF_LOG doesn't exist:
> "C:\Programs\apache-karaf-4.3.0.RC1\bin\..\data\log"
> karaf.bat: Creating "C:\Programs\apache-karaf-4.3.0.RC1\bin\..\data\log"
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.apache.felix.framework.URLHandlers
> (file:/C:/Programs/apache-karaf-4.3.0.RC1/system/org/apache/felix/org.apache.felix.framework/6.0.3/org.apache.felix.framework-6.0.3.jar)
> to constructor sun.net.www.protocol.file.Handler()
> WARNING: Please consider reporting this to the maintainers of
> org.apache.felix.framework.URLHandlers
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> Log for apache-karaf-4.3.0.RC1:
> Jul 09, 2020 4:48:08 PM org.apache.karaf.main.Main launch
> INFO: Installing and starting initial bundles
> Jul 09, 2020 4:48:08 PM org.apache.karaf.main.Main launch
> INFO: All initial bundles installed and set to start
> Jul 09, 2020 4:48:08 PM org.apache.karaf.main.lock.SimpleFileLock lock
> INFO: Trying to lock C:\Programs\apache-karaf-4.3.0.RC1\lock
> Jul 09, 2020 4:48:08 PM org.apache.karaf.main.lock.SimpleFileLock lock
> INFO: Lock acquired
> Jul 09, 2020 4:48:08 PM org.apache.karaf.main.Main$KarafLockCallback
> lockAcquired
> INFO: Lock acquired. Setting startlevel to 100
> {quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)