A user has to rewrite arguments for java in .../texmf-dist/tex4ht/base/win32/tex4ht.env because java does not know kpathsea. I thought the tex4ht programs expanded the kpse stuff before running the base java. Oh well.