universal Java application stub