(185/231) 3608469 - Windows installer fails to find Java 1.6.0

Hi guys, thanks for jEdit, long time user!

When using the windows installer, the installer mentions needing java 1.6.0 runtime
which I have installed at: C:\Program Files (x86)\Java\jre6\bin\javaw.exe (1.6.0_43).
It does however finish the install fine. I can run fine from the installed .jar but
really would like the windows integration and the installed jedit.exe fails with the
same window pop up and redirection to sun's java update site.

How can I get the windows integration working? Perhaps alternatively as a work around
jEdit could be to launched from a .bat like below. But I'm not too familiar with .bat
and I don't get it to use the file argument...