JVMCBC-16: make sure the env scheduler is used.

Change-Id: I24fcda4380a6d86e6e9b2e44714edc21ace980a7