fix jdkdir
eliminate commented out code
eliminate a format path
put dir assigns near beginning