The recruiting guidelines of the US Army, Air Force, and Marines expressly forbid enlisting in the military to avoid jail time, but not the Navy.