Add files to determine os and install appropriate java file unless overridden.