re-enable java and cs targets

i hope @waneck will review the diff.