Turned out to be a bad dll in the java runtime. I re-installed the package and all was fine.