Java 1.3

Added compatiblity up to Java 1.3+. Since there is no backward compatibility with the current version of the library, maybe it would be better to add a new branch.