Description
Karaf 4.2.1 won't start as a service (Windows) with Java 10 (and 9 I assume) because the JVM won't start. Runs fine when started with karaf.bat
STATUS | wrapper | 2018/09/12 14:20:55 | --> Wrapper Started as Service
STATUS | wrapper | 2018/09/12 14:20:55 | Launching a JVM...
INFO | jvm 1 | 2018/09/12 14:20:55 | -Djava.endorsed.dirs=C:\Program is not supported. Endorsed standards and standalone APIs
INFO | jvm 1 | 2018/09/12 14:20:55 | in modular form will be supported via the concept of upgradeable modules.
INFO | jvm 1 | 2018/09/12 14:20:55 | Error: Could not create the Java Virtual Machine.
INFO | jvm 1 | 2018/09/12 14:20:55 | Error: A fatal exception has occurred. Program will exit.
ERROR | wrapper | 2018/09/12 14:20:55 | JVM exited while loading the application.
STATUS | wrapper | 2018/09/12 14:21:00 | Launching a JVM...
Attachments
Issue Links
- duplicates
-
KARAF-5908 Service Wrapper fails to start on Windows when JAVA_HOME contains whitespace
- Resolved
- links to