use a java error app if the application is written in java
Merge pull request #1643 from AppScale/java-error-app

use a java error app if the application is written in java