Added logic for checking to see if the archive is Java.