I'm taking an AP Computer Science class at my high school where we code in Java using Eclipse. I would like to be able to share one of my programs by sending a text file of the code to someone. I know there are online compilers like Rexster and Ideone, but I'm struggling to get them to work. The program I want to share prompts the user for text input multiple times. In Eclipse, one text prompt is displayed in the console, the user inputs a value, presses return, and the next text prompt appears. I can't figure out how to do that with these online code runners. As far as I can tell, the user only gets one chance to enter input, so I'm not sure how to get my program to run on these sites.

Alternatively, is there another easy way for someone else to run my program without Eclipse?