Java Connector supported Java Version

I downloaded the beta version of the java connector that supports GanttChart. However, I am not able to get it running with Java 6.
The Java connector help page says that it supports both Java 1.5 and 1.6.
Does the Java connector only support Java 5?

It must work with Java 5 and any later version ( you may need to recompile the jar file, it includes all sources )