Hmm, there are guides on java.sun.com about how to make JAR files, but if "wine java" was looking in the wrong place, I suspect you need to run it like this:
wine -- "c:\java\bin\java" FooClass
I expect Wine is mangling the pathname of the current directory into the argument, passing -- should stop it from doing that.