Since Java 11 and docker are note the best of friends we will use nproc instead.
@@ -98,6 +98,8 @@ configure_memory() {
configure_cpu() {
if ((jvm_availableProcessors > 0)); then
cpu_options="-XX:ActiveProcessorCount=${jvm_availableProcessors}"
+ else
+ cpu_options=`nproc`
fi
}
