jdkenv exit bug fix.