added support to determine whether to set installed java version to default
clean up: removed temp variables.  moved new attribute assignment out of case statement
fixed parameter misassignment
Merge pull request #140 from cantenesse/control_default

added support to determine whether to set installed java version to defa...