ResourceBundle animalResources; try { animalResources = ResourceBundle.getBundle("AnimalResources", Locale.getDefault()); System.out.println(animalResources.getString("Animals")); } catch (MissingResourceException mre) { mre.printStackTrace(); }