fix local applets in java 7u40