Sublime Forum

How to make build system to run Java from terminal/cmd?

#1

Hi.

I would like to make a build system that will compile a Java file, and then run it in a separate command-line shell; either command prompt for Windows, or terminal for OS X or Linux.

The reason for this is because Sublime Text 2 does not allow for interactive user-input, so any programs requiring that will spit out an error when running inside Sublime Text 2, like this:


Is this possible? If so, I’d be inexpressibly grateful to whoever could explain, step-by-step (I’m a noob at Sublime Text 2), how to do it. Thanks for your time! :smiley:

0 Likes

#2

i encountered the same problem. have you solved it?

0 Likes

#3

You might want to look into github.com/wuub/SublimeREPL

0 Likes