I have been debugging some existing code for which unit tests are failing on my system, but not on colleagues\' systems. The root cause is that SimpleDateFormat is throwing
Check the LANG environment variable of your computer and of the remote computer.
The date is parsed according to the locale, so 'Jul' works as July only if your LANG is set to english, otherwise a ParseException is raised.
You can make a quick test by running export LANG="en_US.UTF-8"
and then running your program.
You can also set the locale programmatically, by using the following method: DateFormat.getDateInstance(int, java.util.Locale)