Using Java with Sublime Text and Corona

Hello, complete newb here have a question I hope you guys can help me with. Im taking a java class over the summer and want to get a head start so I installed Sublime Text and Corona a few weeks ago. I did some basic hello world stuff in Lua, but would like to witch over to java coding. My question is how do I get Sublime to build my java code in corona simulator? I tried the basic code:

public class HelloWorld {

public static void main(String[] args) {
System.out.println(“Hello, World”);
}

}

but sublime and corona returned an error. I know it’s a .lua file, how do I bridge the gap?

Please help and thank you!

edit P.S. I also installed eclipse is this better for this?