cast result from Java string object to char
changed local variable path to unisensPath
added missing closeAll at the end
added support for Java 1.7
Merge pull request #2 from mkirst/master

Bug fixes and support for Java 1.7