How can you get rid of the main.java file and replace it with another file?
akschindler

How can you get rid of the main.java file and replace it with another .java file?

You are viewing a single comment. View All
Zavexeon

@rdeardorff Uh... well you can't delete main, but I think if you create another file you can manually compile and execute it using the shell. Press F1 while in the repl, and in the search menu that appears type in "shell" and select "open shell". I can't guarantee this will work but it's might.

Another route might be to use a polygott repl and set up a makefile to compile and run whatever java file you want.

http://repl.it/languages/polygott