Compile with 1.7 java switch