fix jre detection
more cleanup of smoke tests :P