http://bugs.winehq.org/show_bug.cgi?id=29424
--- Comment #8 from Dmitry Timoshkov dmitry@baikal.ru 2011-12-24 07:51:42 CST --- (In reply to comment #7)
It gives: wine: Bad EXE format for C:\windows\system32\java.exe
That message doesn't occur on running 'C:\Java\jdk1.6.0_26\bin\java.exe' directly in MSDOS window (created by executing cmd.exe in Ubuntu). So it looks like it half works?
It means that you probably have some broken java.exe in your PATH.