Yes I misspoke. core does end up needing WTK as well.
It uses the core Java libraries included with WTK to ensure that only
the classes available in CLDC / MIDP are used even in the core
library.
You could simply remove all occurrences of this line in core/
build.xml:
bootclasspath="${javame-compile-bootclasspath-path}"
I think this would then work for you, though if you change the code
significantly, you might accidentally use a class that is not
available in Java ME. But it sounds like you are not developing for
Java ME anyway.
Alternatively, yes, I think if you merely copy a WTK installation
directory from a Linux box it will contain the .jar files you need to
build core. You will not be able to build javame but it sounds like
you do not need to.
Sean