Tuesday, September 18, 2012

Installing Typesafe Scala IDE on Ubuntu, once again I have to reach for the command line...

The error:
java.lang.NoClassDefFoundError: Could not initialize class
at com.ibm.icu.util.TimeZone.getDefault(TimeZone.java:804)

Thanks to this, nothing works. Stack Overflow provides the answer, apparently OpenJDK 1.7 messes up the timezones on the machine. So without further ado, today's magic incantation:

sudo apt-get --reinstall install tzdata-java