catch LinkageError (noticed when loading java7 classes in java6)