how to compile java codes in xcode?

Actually I'm new to Xcode ,so i want to compile java code using Xcode . I need help..!!

Using Xcode to compile Java is a pain--not worth it. Use NetBeans, Eclipse, IDEA, or another IDE...so much easier.

how to compile java codes in xcode?
 
 
Q