If running paxexam 4.11 against Java10, get the following error:

[org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient] : Waiting for 
remote bundle context.. on 21000 name: 49075ad6-e9f0-459d-a910-6fb3a58475de 
timout: [ RelativeTimeout value = 180000 ]
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
-Djava.endorsed.dirs=/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/
Home/jre/lib/endorsed:/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/
Home/lib/endorsed:/Users/thing/target/paxexam/unpack/a46aa465-9df6-401e-9916
-17d258673f55/lib/endorsed is not supported. Endorsed standards and 
standalone APIs
in modular form will be supported via the concept of upgradeable modules.

>From a quick google, didn't find anything but looking in the code, the 
following lines could be the cause, as they are to simplistic in version 
checking:
- 
https://github.com/ops4j/org.ops4j.pax.exam2/blob/master/containers/pax-exam-container-karaf/src/main/java/org/ops4j/pax/exam/karaf/container/internal/runner/KarafJavaRunner.java#L45
- 
https://github.com/ops4j/org.ops4j.pax.exam2/blob/master/containers/pax-exam-container-karaf/src/main/java/org/ops4j/pax/exam/karaf/container/internal/KarafTestContainer.java#L226

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - ops4j@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ops4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to