Java 1.6 compatibility
Merge pull request #1 from PixelRunStudios/compatibility

Java 1.6 compatibility