uhh, while syntactically similar, I don't think you can use the C# compiler to compile Java code. Someone else on the board may have an idea, but I dont think this is possible. (I would think, at the point that the C# compiler complied correctly, you would be writing C# not java)
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
Read this if you want to know how to get a correct reply for your question:
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^