Fix java prerequisite validation bug.
Forcing linux line endings for cartridge bash SDK.

Change-Id: I17705119d6035cb2a300aafa0e2bd550029fa0fb